From e41b2e465da1d5ee92b6cc0778b8dab18692bd1f Mon Sep 17 00:00:00 2001 From: Vaisakh Murali Date: Tue, 15 Nov 2022 06:54:53 +0000 Subject: [PATCH] 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 --- rootdir/etc/init.mt6785.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootdir/etc/init.mt6785.rc b/rootdir/etc/init.mt6785.rc index 782bc93..b1148dc 100644 --- a/rootdir/etc/init.mt6785.rc +++ b/rootdir/etc/init.mt6785.rc @@ -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