Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1d11bd02 authored by Syed Rameez Mustafa's avatar Syed Rameez Mustafa Committed by Joonwoo Park
Browse files

sched: change default group upmigrate and downmigrate values



Since the group_[up,down]_migrate_pct tunables are not being used,
update the default threshold values based on 20 ms window sizes
instead of the 10 ms window sizes that the kernel assumes at boot.

Change-Id: If2d08c6be7f69c3e5d6ec589f1452fff8b4c6eee
Signed-off-by: default avatarSyed Rameez Mustafa <rameezmustafa@codeaurora.org>
parent eb68aa79
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2229,7 +2229,7 @@ int __read_mostly sched_freq_aggregate_threshold;
 * Task groups whose aggregate demand on a cpu is more than
 * sched_group_upmigrate need to be up-migrated if possible.
 */
unsigned int __read_mostly sched_group_upmigrate = 10000000;
unsigned int __read_mostly sched_group_upmigrate = 20000000;
unsigned int __read_mostly sysctl_sched_group_upmigrate_pct = 100;

/*
@@ -2237,7 +2237,7 @@ unsigned int __read_mostly sysctl_sched_group_upmigrate_pct = 100;
 * demand to less than sched_group_downmigrate before they are "down"
 * migrated.
 */
unsigned int __read_mostly sched_group_downmigrate = 9500000;
unsigned int __read_mostly sched_group_downmigrate = 19000000;
unsigned int __read_mostly sysctl_sched_group_downmigrate_pct = 95;

static int