Apex › Systems & OS

Linux CFS scheduler

How Linux shared the CPU fairly for ~15 years. Each task carries a virtual runtime; CFS always runs the one that has had the least. Set nice values and run it — watch niced-down tasks fall behind in vruntime and the achieved CPU share converge to the weight-proportional ideal.

More in Systems & OS