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:
Vaisakh Murali 2022-05-05 21:36:15 +01:00 committed by Shirayuki39
parent e0dea60fb8
commit 9fd8bb7e48

View file

@ -40,6 +40,16 @@ on init
on property:sys.boot_completed=1 on property:sys.boot_completed=1
write /sys/devices/platform/soc/11270000.ufshci/clkgate_enable 1 write /sys/devices/platform/soc/11270000.ufshci/clkgate_enable 1
write /proc/sys/kernel/sched_migration_cost_ns 200000 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 # restore boot perf. tune
write /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq 0 write /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq 0