sdm660-common: rootdir: Set up/down_rate_limit_us as 1000

- In my testing, i faced some CPU Stalls with the old setup. (caused some spikes in jitter and non-consistent hackbench).

- 1000 was perfect in my testing and did not hit over power usage.

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
This commit is contained in:
Vishalcj17 2021-03-14 10:47:51 +08:00 committed by OdSazib
parent 45193a430f
commit 9922a089dd
No known key found for this signature in database
GPG key ID: B678DBD07079B021

View file

@ -2398,15 +2398,15 @@ case "$target" in
echo 1 > /sys/devices/system/cpu/cpu0/online
# configure governor settings for little cluster
echo "schedutil" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 20000 > /sys/devices/system/cpu/cpu0/cpufreq/schedutil/down_rate_limit_us
echo 500 > /sys/devices/system/cpu/cpu0/cpufreq/schedutil/up_rate_limit_us
echo 1000 > /sys/devices/system/cpu/cpu0/cpufreq/schedutil/down_rate_limit_us
echo 1000 > /sys/devices/system/cpu/cpu0/cpufreq/schedutil/up_rate_limit_us
echo 633600 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
# online CPU4
echo 1 > /sys/devices/system/cpu/cpu4/online
# configure governor settings for big cluster
echo "schedutil" > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor
echo 20000 > /sys/devices/system/cpu/cpu4/cpufreq/schedutil/down_rate_limit_us
echo 500 > /sys/devices/system/cpu/cpu4/cpufreq/schedutil/up_rate_limit_us
echo 1000 > /sys/devices/system/cpu/cpu4/cpufreq/schedutil/down_rate_limit_us
echo 1000 > /sys/devices/system/cpu/cpu4/cpufreq/schedutil/up_rate_limit_us
echo 1113600 > /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq
# bring all cores online