diff --git a/rootdir/etc/init/hw/init.cgroup.rc b/rootdir/etc/init/hw/init.cgroup.rc index 4a0de1d..b047274 100644 --- a/rootdir/etc/init/hw/init.cgroup.rc +++ b/rootdir/etc/init/hw/init.cgroup.rc @@ -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