mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_miatoll.git
synced 2025-05-08 07:07:31 +09:00
miatoll: rootdir: Configure dynamic schedtune boost
Change-Id: Id05a4f149c3bc6da9e1962e1c48e049c59d30031 Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
This commit is contained in:
parent
0cb2021e49
commit
102ee7c2ad
@ -38,9 +38,14 @@ on property:vendor.post_boot.parsed=1
|
||||
|
||||
# Setup default schedTune value for foreground/top-app
|
||||
write /dev/stune/foreground/schedtune.prefer_idle 1
|
||||
write /dev/stune/top-app/schedtune.boost 10
|
||||
write /dev/stune/top-app/schedtune.boost 5
|
||||
write /dev/stune/top-app/schedtune.prefer_idle 1
|
||||
|
||||
# Setup dynamic stune boost
|
||||
write /sys/module/cpu_boost/parameters/dynamic_stune_boost 15
|
||||
write /sys/module/cpu_boost/parameters/dynamic_stune_boost_ms 1000
|
||||
write /dev/stune/top-app/schedtune.sched_boost 15
|
||||
|
||||
# Setup schedutil ratelimits
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user