From aac335cb5815d06f5cbdafb1b53b1d5868b084dd Mon Sep 17 00:00:00 2001 From: Boy Petersen Date: Tue, 19 Jun 2018 13:51:47 +0200 Subject: [PATCH] interactive governor: leave min_sample_time at default Don't ramp down that fast, use default 80000 instead to help UI smoothness. While we're at it, correct odd above_highspeed_delay timings. --- rootdir/etc/init.qcom.rc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index e091da4..481f942 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -921,13 +921,12 @@ on property:sys.boot_completed=1 # governor settings write /sys/devices/system/cpu/cpu0/online 1 write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor "interactive" - write /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay "19000 1401600:39000" + write /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay "20000 1401600:40000" write /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load 85 write /sys/devices/system/cpu/cpufreq/interactive/timer_rate 20000 write /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq 1401600 write /sys/devices/system/cpu/cpufreq/interactive/io_is_busy 0 write /sys/devices/system/cpu/cpufreq/interactive/target_loads "85 1401600:80" - write /sys/devices/system/cpu/cpufreq/interactive/min_sample_time 39000 write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 652800 # re-enable thermal & BCL core_control now