Skip to content

Commit

Permalink
sched/core: nr_migrate = 128 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 <[email protected]>
  • Loading branch information
xanmod authored and kakra committed Jan 10, 2023
1 parent 38e367f commit de844b1
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 @@ -75,7 +75,7 @@ __read_mostly int sysctl_resched_latency_warn_once = 1;
* 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 = 128;

/*
* period over which we measure -rt task CPU usage in us.
Expand Down Expand Up @@ -367,9 +367,9 @@ static inline void sched_core_dequeue(struct rq *rq, struct task_struct *p) { }

/*
* 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 de844b1

Please sign in to comment.