From a1818478f05ba48dd077083bf181d1cfd0780dd0 Mon Sep 17 00:00:00 2001 From: Shiv Date: Fri, 22 Nov 2019 09:31:36 +0530 Subject: [PATCH] sanders:rootdir: Set use_sched_load to 0 Fixes the issue where only lower frequecies are being used which results in lag while playing games and other CPU intensive tasks. --- rootdir/etc/init.qcom.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 685dcc2..f6e6ef4 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -958,7 +958,7 @@ on property:sys.boot_completed=1 write /proc/sys/kernel/sched_upmigrate_min_nice 19 # Enable sched guided freq control - write /sys/devices/system/cpu/cpufreq/interactive/use_sched_load 1 + write /sys/devices/system/cpu/cpufreq/interactive/use_sched_load 0 write /sys/devices/system/cpu/cpufreq/interactive/use_migration_notif 1 write /proc/sys/kernel/sched_freq_inc_notify 200000 write /proc/sys/kernel/sched_freq_dec_notify 200000