From c6512651ca505647bb02a4ae68e3108443bc54ba Mon Sep 17 00:00:00 2001 From: Deokgyu Yang Date: Mon, 21 Feb 2022 01:33:48 +0900 Subject: [PATCH] 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 --- rootdir/etc/init.qcom.power.rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rootdir/etc/init.qcom.power.rc b/rootdir/etc/init.qcom.power.rc index 1ba0df8..9a4b074 100644 --- a/rootdir/etc/init.qcom.power.rc +++ b/rootdir/etc/init.qcom.power.rc @@ -118,7 +118,7 @@ on enable-low-power write /proc/sys/kernel/sched_prefer_sync_wakee_to_waker 1 # 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/down_rate_limit_us 20000 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 # 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/down_rate_limit_us 20000 write /sys/devices/system/cpu/cpu2/cpufreq/schedutil/iowait_boost_enable 1