diff options
author | Leo Yan <leo.yan@linaro.org> | 2017-11-28 22:20:51 +0800 |
---|---|---|
committer | Leo Yan <leo.yan@linaro.org> | 2017-12-14 11:27:06 +0800 |
commit | 9c214db5c9d582babc7c23175c6c66f35cae6af7 (patch) | |
tree | da29b9ee1318e0afdf7639883df3e19cae157c99 | |
parent | f0e78bfdafc9ffd28e68588d4b00e1b4511cbcb2 (diff) | |
download | hikey-9c214db5c9d582babc7c23175c6c66f35cae6af7.tar.gz |
powerHAL: Hikey960: Reduce schedtune boost margin to 20%
According to the profiling on Hikey960, usually we need set 15% ~ 20%
boost margin for schedtune for UI performance boosting. With this
setting and using PELT signal, the janks% can be decreased to <30%.
This patch is to set boost margin to 20% and this also can leave the
room for PELT performance optimization.
Change-Id: Ic5eaa78294248076a0e2310461cd00a2fd7884e1
Signed-off-by: Leo Yan <leo.yan@linaro.org>
-rw-r--r-- | init.hikey960.power.rc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/init.hikey960.power.rc b/init.hikey960.power.rc index 55a325fe..429a174e 100644 --- a/init.hikey960.power.rc +++ b/init.hikey960.power.rc @@ -19,13 +19,13 @@ on post-fs chown system system /sys/class/devfreq/ddr_devfreq/min_freq chown system system /sys/class/devfreq/e82c0000.mali/min_freq - write /dev/stune/top-app/schedtune.boost 50 + write /dev/stune/top-app/schedtune.boost 20 write /dev/stune/top-app/schedtune.prefer_idle 1 - write /dev/stune/foreground/schedtune.boost 50 + write /dev/stune/foreground/schedtune.boost 20 write /dev/stune/foreground/schedtune.prefer_idle 1 write /dev/stune/schedtune.boost 0 - setprop ro.config.schetune.touchboost.value 100 + setprop ro.config.schetune.touchboost.value 20 setprop ro.config.schetune.touchboost.time_ns 1000000000 setprop ro.config.cpufreq.max_freq.cluster0 "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq" |