-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configs: stop defaulting to the powersave governor
* The default configs for the RPi shouldn't be defaulting to the powersave governor because it reduces the performance by setting the frequency to the minimum. * This is an issue even if user-space changes the governor later because it is slowing down the boot time (the kernel will boot with the minimum CPU frequency until user-space fixes it) * It is also a major issue for another projects than RaspberryPiOS that rely on this kernel and use this configs as base or default. For example: I have been bitten by this issue when using Yocto with meta-raspberrypi because their kernel config is based on this ones, so it will boot with powersave by default and there user space is not configured to change the governor. So it will remain with powersave always :( * Just don't set any default governor and let the Linux's defaults apply: which means selecting governor `schedutil` in this kernel version, but it was governor `ondemand` on older versions and on the future it can be a newer scheduler. See the logic to select the default at the file `drivers/cpufreq/Kconfig`. * Enable also the config option to ensure that the `powersave` governor is built and available if user space wants to use it. * For config bcmrpi_defconfig enable also the `schedutil` governor, which is the only config missing to enable this one. Signed-off-by: Carlos Alberto Lopez Perez <[email protected]>
- Loading branch information
Showing
6 changed files
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters