rosemary: Enable EAS instead of hybrid sched

The node accepts 3 values
0: HMP
1: EAS
2: MTK Hybrid Sched (EAS+HMP)

[bengris32] Despite hybrid scheduler having better "raw" performance,
EAS yields significant UX performance improvements over the hybrid scheduler.

Change-Id: Ia170b5454920cff747e1886c5f2f2dedcefbf537
This commit is contained in:
Vaisakh Murali
2022-11-15 06:54:53 +00:00
committed by Matsvei Niaverau
parent f4b5997bc1
commit e41b2e465d

View File

@@ -1038,7 +1038,7 @@ on property:sys.boot_completed=1
# start EAS+
on property:sys.boot_completed=1
write /sys/devices/system/cpu/eas/enable 2
write /sys/devices/system/cpu/eas/enable 1
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