[$] Imbalance detection and fairness in the CPU scheduler

Post Syndicated from corbet original https://lwn.net/Articles/821123/rss

The kernel’s CPU scheduler is good at distributing tasks across a
multiprocessor system, but does it do so fairly? If some tasks get a lot
more CPU time than others, the result is likely to be unhappy users.
Vincent Guittot ran a session at the 2020 Power Management and Scheduling
in the Linux Kernel summit
(OSPM) looking into this issue, with a focus
on detecting load imbalances between CPUs and what to do with a workload
that cannot be balanced.