From fdaafec29a979f2f9df209edb2615b203555532f Mon Sep 17 00:00:00 2001 From: madmax7896 Date: Mon, 4 Mar 2024 15:54:53 +0530 Subject: [PATCH] fixup! vendor: init: Configure schedutil up/down rate limit * Kalama and kona nodes were mixed up. * Thanks to EmanuelCN for pointing out this derp. Change-Id: I3e8e454f7e38568fcd94d1f1ee06a3e7e9e382af --- vendor/init/kalama/etc/init/init.aospa.perf.soc.rc | 12 ++++++------ vendor/init/kona/etc/init/init.aospa.perf.soc.rc | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/vendor/init/kalama/etc/init/init.aospa.perf.soc.rc b/vendor/init/kalama/etc/init/init.aospa.perf.soc.rc index a05fa3dd..9fd61b76 100644 --- a/vendor/init/kalama/etc/init/init.aospa.perf.soc.rc +++ b/vendor/init/kalama/etc/init/init.aospa.perf.soc.rc @@ -19,9 +19,9 @@ on property:vendor.post_boot.parsed=1 setprop dalvik.vm.dex2oat-threads 6 # CPUFreq - write /sys/devices/system/cpu/cpufreq/policy0/schedutil/up_rate_limit_us 500 - write /sys/devices/system/cpu/cpufreq/policy0/schedutil/down_rate_limit_us 20000 - write /sys/devices/system/cpu/cpufreq/policy4/schedutil/up_rate_limit_us 1000 - write /sys/devices/system/cpu/cpufreq/policy4/schedutil/down_rate_limit_us 10000 - write /sys/devices/system/cpu/cpufreq/policy7/schedutil/up_rate_limit_us 2000 - write /sys/devices/system/cpu/cpufreq/policy7/schedutil/down_rate_limit_us 5000 + write /sys/devices/system/cpu/cpufreq/policy0/walt/up_rate_limit_us 500 + write /sys/devices/system/cpu/cpufreq/policy0/walt/down_rate_limit_us 20000 + write /sys/devices/system/cpu/cpufreq/policy4/walt/up_rate_limit_us 1000 + write /sys/devices/system/cpu/cpufreq/policy4/walt/down_rate_limit_us 10000 + write /sys/devices/system/cpu/cpufreq/policy7/walt/up_rate_limit_us 2000 + write /sys/devices/system/cpu/cpufreq/policy7/walt/down_rate_limit_us 5000 diff --git a/vendor/init/kona/etc/init/init.aospa.perf.soc.rc b/vendor/init/kona/etc/init/init.aospa.perf.soc.rc index 9fd61b76..a05fa3dd 100644 --- a/vendor/init/kona/etc/init/init.aospa.perf.soc.rc +++ b/vendor/init/kona/etc/init/init.aospa.perf.soc.rc @@ -19,9 +19,9 @@ on property:vendor.post_boot.parsed=1 setprop dalvik.vm.dex2oat-threads 6 # CPUFreq - write /sys/devices/system/cpu/cpufreq/policy0/walt/up_rate_limit_us 500 - write /sys/devices/system/cpu/cpufreq/policy0/walt/down_rate_limit_us 20000 - write /sys/devices/system/cpu/cpufreq/policy4/walt/up_rate_limit_us 1000 - write /sys/devices/system/cpu/cpufreq/policy4/walt/down_rate_limit_us 10000 - write /sys/devices/system/cpu/cpufreq/policy7/walt/up_rate_limit_us 2000 - write /sys/devices/system/cpu/cpufreq/policy7/walt/down_rate_limit_us 5000 + write /sys/devices/system/cpu/cpufreq/policy0/schedutil/up_rate_limit_us 500 + write /sys/devices/system/cpu/cpufreq/policy0/schedutil/down_rate_limit_us 20000 + write /sys/devices/system/cpu/cpufreq/policy4/schedutil/up_rate_limit_us 1000 + write /sys/devices/system/cpu/cpufreq/policy4/schedutil/down_rate_limit_us 10000 + write /sys/devices/system/cpu/cpufreq/policy7/schedutil/up_rate_limit_us 2000 + write /sys/devices/system/cpu/cpufreq/policy7/schedutil/down_rate_limit_us 5000