Skip to content

Commit

Permalink
sched/core: nr_migrate = 256 increases number of tasks to iterate in …
Browse files Browse the repository at this point in the history
…a single balance run.

Signed-off-by: Alexandre Frade <admfrade@gmail.com>
  • Loading branch information
xanmod committed Oct 15, 2020
1 parent da07b4c commit d87acd3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kernel/sched/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const_debug unsigned int sysctl_sched_features =
* Number of tasks to iterate in a single balance run.
* Limited because this is done with IRQs disabled.
*/
const_debug unsigned int sysctl_sched_nr_migrate = 32;
const_debug unsigned int sysctl_sched_nr_migrate = 256;

/*
* period over which we measure -rt task CPU usage in us.
Expand All @@ -75,9 +75,9 @@ __read_mostly int scheduler_running;

/*
* part of the period that we allow rt tasks to run in us.
* default: 0.95s
* XanMod default: 0.98s
*/
int sysctl_sched_rt_runtime = 950000;
int sysctl_sched_rt_runtime = 980000;


/*
Expand Down

0 comments on commit d87acd3

Please sign in to comment.