mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-26 15:36:26 -08:00
LG8n: Enable stune boost for top-app
Reduce the top-app latencies by enabling top-app boosting. Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com> Change-Id: I14d740559f4e913855b897bcf9060069d32f9df7 Signed-off-by: HELLINFIX <mridulsharma57570@gmail.com> Signed-off-by: xyzuniverse <dev.xyzuniverse@gmail.com> Signed-off-by: fjrXTR <fajarslebew31@gmail.com> Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
parent
22aff0bab1
commit
b58642a2e8
|
@ -40,6 +40,16 @@ on init
|
|||
on property:sys.boot_completed=1
|
||||
write /sys/devices/platform/soc/11270000.ufshci/clkgate_enable 1
|
||||
write /proc/sys/kernel/sched_migration_cost_ns 200000
|
||||
write /proc/cpufreq/cpufreq_sched_disable 0
|
||||
|
||||
chown system system /dev/stune/foreground/schedtune.prefer_idle
|
||||
chown system system /dev/stune/top-app/schedtune.prefer_idle
|
||||
chown system system /dev/stune/rt/schedtune.prefer_idle
|
||||
write /dev/stune/foreground/schedtune.prefer_idle 0
|
||||
write /dev/stune/top-app/schedtune.prefer_idle 0
|
||||
write /dev/stune/rt/schedtune.prefer_idle 0
|
||||
write /dev/stune/top-app/schedtune.boost 1
|
||||
write /proc/perfmgr/boost_ctrl/eas_ctrl/sched_big_task_rotation 1
|
||||
|
||||
# restore boot perf. tune
|
||||
write /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq 0
|
||||
|
|
Loading…
Reference in a new issue