Imbalance detection and fairness in the CPU scheduler
Imbalance detection and fairness in the CPU scheduler
[Kernel] Posted May 22, 2020 19:26 UTC (Fri) by corbet
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.