Skip to content

Commit d060b00

Browse files
xanmodPixelBoot
authored andcommitted
sched/core: nr_migrate = 128 increases number of tasks to iterate in a single balance run.
Signed-off-by: Alexandre Frade <admfrade@gmail.com> Signed-off-by: kdrag0n <dragon@khronodragon.com> Signed-off-by: Tyler Nijmeh <tylernij@gmail.com>
1 parent 951c82a commit d060b00

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

kernel/sched/core.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ late_initcall(sched_init_debug);
263263
* Number of tasks to iterate in a single balance run.
264264
* Limited because this is done with IRQs disabled.
265265
*/
266-
const_debug unsigned int sysctl_sched_nr_migrate = 32;
266+
const_debug unsigned int sysctl_sched_nr_migrate = 128;
267267

268268
/*
269269
* period over which we average the RT time consumption, measured
@@ -283,9 +283,9 @@ __read_mostly int scheduler_running;
283283

284284
/*
285285
* part of the period that we allow rt tasks to run in us.
286-
* default: 0.95s
286+
* XanMod default: 0.98s
287287
*/
288-
int sysctl_sched_rt_runtime = 950000;
288+
int sysctl_sched_rt_runtime = 980000;
289289

290290
/* cpus with isolated domains */
291291
cpumask_var_t cpu_isolated_map;

0 commit comments

Comments
 (0)