← Back to Labs

Linux CFS Scheduler

See how CFS turns nice values and vruntime into weighted CPU fairness.

CPU TimelineVirtual Runtime (vruntime)nginxnice=0compilenice=+5videonice=-5backupnice=+10
Step 1 / 10Process Queue

Start with the queue before anything runs. Four processes are waiting, each with a different nice value, and the scheduler must turn those priorities into fair CPU time over many picks.

Arrow keys to navigate · R to reset

Tap dots to jump to any step

Read the full article →Take the quiz →