diff options
| author | celtare21 <celtare21@gmail.com> | 2019-04-11 14:20:03 +0000 |
|---|---|---|
| committer | celtare21 <celtare21@gmail.com> | 2019-06-14 14:05:54 +0300 |
| commit | 17e855cd3b2db10a26d3578f0390548781d01051 (patch) | |
| tree | c28de8fd0a1eb38d4d2b7be8d8861e52eb534a9a /rootdir | |
| parent | e2f2b22b8c4a9d8d270bc3b6f2c4aacde5fe6dc4 (diff) | |
mata: ramdisk: Cleanup
We set all those in the kernel
Signed-off-by: celtare21 <celtare21@gmail.com>
Diffstat (limited to 'rootdir')
| -rw-r--r-- | rootdir/etc/init.performance.mata.rc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/rootdir/etc/init.performance.mata.rc b/rootdir/etc/init.performance.mata.rc index 56908894..c1b3a90d 100644 --- a/rootdir/etc/init.performance.mata.rc +++ b/rootdir/etc/init.performance.mata.rc @@ -129,22 +129,11 @@ on property:sys.boot_completed=1 write /sys/devices/soc/${ro.boot.bootdevice}/clkgate_enable 1 write /sys/module/lpm_levels/parameters/sleep_disabled N - # Disable thermal core control until CPU is configured - write /sys/module/msm_thermal/core_control/enabled 0 - # Configure schedutil for big cores write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor "schedutil" - write /sys/devices/system/cpu/cpufreq/policy0/schedutil/up_rate_limit_us 500 - write /sys/devices/system/cpu/cpufreq/policy0/schedutil/down_rate_limit_us 20000 # Configure schedutil for LITTLE cores write /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor "schedutil" - write /sys/devices/system/cpu/cpufreq/policy4/schedutil/up_rate_limit_us 500 - write /sys/devices/system/cpu/cpufreq/policy4/schedutil/down_rate_limit_us 20000 - - # Ensure minimum frequencies set to 300MHz - write /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq 300000 - write /sys/devices/system/cpu/cpufreq/policy4/scaling_min_freq 300000 # Setup post-boot cpusets write /dev/cpuset/top-app/cpus 0-7 @@ -162,13 +151,6 @@ on property:sys.boot_completed=1 write /dev/cpuset/application/background/cpus 0-1 write /dev/cpuset/application/cpus 0-1,4-5 - # CPU is configured, re-enable thermal core control - write /sys/module/msm_thermal/core_control/enabled 1 - - # Disable sched boost - write /proc/sys/kernel/sched_boost 0 - chmod 0444 /proc/sys/kernel/sched_boost - # Tune LMK write /sys/module/lowmemorykiller/parameters/minfree "18432,23040,27648,32256,55296,80640" |
