Skip to content

Commit

Permalink
sched: Do not reduce perceived CPU capacity while idle
Browse files Browse the repository at this point in the history
CPUs that are idle are excellent candidates for latency sensitive or
high-performance tasks. Decrementing their capacity while they are idle
will result in these CPUs being chosen less, and they will prefer to
schedule smaller tasks instead of large ones. Disable this.

Signed-off-by: Tyler Nijmeh <[email protected]>
Signed-off-by: Carlos Ayrton Lopez Arroyo <[email protected]>
  • Loading branch information
tytydraco authored and GtrCraft committed Jul 6, 2021
1 parent 42881e8 commit c0b2f9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/sched/features.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ SCHED_FEAT(LB_BIAS, true)
/*
* Decrement CPU capacity based on time not spent running tasks
*/
SCHED_FEAT(NONTASK_CAPACITY, true)
SCHED_FEAT(NONTASK_CAPACITY, false)

/*
* Queue remote wakeups on the target CPU and process them
Expand Down

0 comments on commit c0b2f9a

Please sign in to comment.