From cca71b5dbcab534e9a433b3f3313b21ee61b511d Mon Sep 17 00:00:00 2001 From: Tyler Nijmeh Date: Tue, 1 Sep 2020 13:44:44 -0700 Subject: [PATCH] Remove migration tweaks Signed-off-by: Tyler Nijmeh --- README.md | 12 ------------ system/bin/ktweak | 4 ---- 2 files changed, 16 deletions(-) diff --git a/README.md b/README.md index dcdab47..b0b8c02 100644 --- a/README.md +++ b/README.md @@ -61,18 +61,6 @@ To my knowledge using the limited documentation of this tunable, this is basical ### kernel.sched_child_runs_first: 0 --> 1 When forking a child process from the parent, execute the child process before the parent process. This usually shaves down some latency on task initializations, since most of the time the child process is doing some form of heavy lifting. -### kernel.sched_downmigrate: 50 50 -Do not allow tasks to migrate back down to a lower-power CPU until the estimated CPU utilization would go below 50% on said CPU. This means tasks will stay on higher-performance CPUs for longer than usual. - -### kernel.sched_upmigrate: 50 50 -Similar to the previous tunable, do not allow tasks to migrate to the higher-performance CPUs unless the utilization goes above 75%. - -### kernel.sched_group_downmigrate: 50 -The same as kernel.sched_downmigrate, except for whole task groups. - -### kernel.sched_group_upmigrate: 50 -The same as kernel.sched_upmigrate, except for whole task groups. - ### kernel.sched_tunable_scaling: 0 This is more of a precaution than anything. Since the next few tunables will be scheduler timing related, we don't want the scheduler to scale our values for multiple CPUs, as we will be providing CPU-agnostic values. diff --git a/system/bin/ktweak b/system/bin/ktweak index dd67444..2d46981 100644 --- a/system/bin/ktweak +++ b/system/bin/ktweak @@ -109,10 +109,6 @@ write /proc/sys/kernel/perf_cpu_time_max_percent 5 write /proc/sys/kernel/sched_autogroup_enabled 1 write /proc/sys/kernel/sched_enable_thread_grouping 1 write /proc/sys/kernel/sched_child_runs_first 1 -write /proc/sys/kernel/sched_downmigrate "50 50" -write /proc/sys/kernel/sched_upmigrate "50 50" -write /proc/sys/kernel/sched_group_downmigrate 50 -write /proc/sys/kernel/sched_group_upmigrate 50 write /proc/sys/kernel/sched_tunable_scaling 0 write /proc/sys/kernel/sched_latency_ns 10000000 write /proc/sys/kernel/sched_min_granularity_ns 2500000