gts3l-common: rootdir: Change the default CPU governor to blu_schedutil
blu_schedutil is basically from the Pixel 3 kernel, and I did import this to my custom kernel. This has been developed for the better battery performance based on schedutil. Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
This commit is contained in:
parent
53ef5f6211
commit
c6512651ca
1 changed files with 2 additions and 2 deletions
|
@ -118,7 +118,7 @@ on enable-low-power
|
||||||
write /proc/sys/kernel/sched_prefer_sync_wakee_to_waker 1
|
write /proc/sys/kernel/sched_prefer_sync_wakee_to_waker 1
|
||||||
|
|
||||||
# Configure governor settings for little cluster
|
# Configure governor settings for little cluster
|
||||||
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor "schedutil"
|
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor "blu_schedutil"
|
||||||
write /sys/devices/system/cpu/cpu0/cpufreq/schedutil/up_rate_limit_us 500
|
write /sys/devices/system/cpu/cpu0/cpufreq/schedutil/up_rate_limit_us 500
|
||||||
write /sys/devices/system/cpu/cpu0/cpufreq/schedutil/down_rate_limit_us 20000
|
write /sys/devices/system/cpu/cpu0/cpufreq/schedutil/down_rate_limit_us 20000
|
||||||
write /sys/devices/system/cpu/cpu0/cpufreq/schedutil/iowait_boost_enable 1
|
write /sys/devices/system/cpu/cpu0/cpufreq/schedutil/iowait_boost_enable 1
|
||||||
|
@ -127,7 +127,7 @@ on enable-low-power
|
||||||
write /sys/devices/system/cpu/cpu2/online 1
|
write /sys/devices/system/cpu/cpu2/online 1
|
||||||
|
|
||||||
# Configure governor settings for big cluster
|
# Configure governor settings for big cluster
|
||||||
write /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor "schedutil"
|
write /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor "blu_schedutil"
|
||||||
write /sys/devices/system/cpu/cpu2/cpufreq/schedutil/up_rate_limit_us 500
|
write /sys/devices/system/cpu/cpu2/cpufreq/schedutil/up_rate_limit_us 500
|
||||||
write /sys/devices/system/cpu/cpu2/cpufreq/schedutil/down_rate_limit_us 20000
|
write /sys/devices/system/cpu/cpu2/cpufreq/schedutil/down_rate_limit_us 20000
|
||||||
write /sys/devices/system/cpu/cpu2/cpufreq/schedutil/iowait_boost_enable 1
|
write /sys/devices/system/cpu/cpu2/cpufreq/schedutil/iowait_boost_enable 1
|
||||||
|
|
Loading…
Reference in a new issue