Start here · Essential guide
CPU Scheduling Algorithms Explained
How an operating system decides which process runs next, the main CPU scheduling algorithms, and how each is judged on waiting time and fairness.
Computing Foundations
The scheduling algorithms operating systems use to share the CPU, with Gantt chart examples.
Start here · Essential guide
How an operating system decides which process runs next, the main CPU scheduling algorithms, and how each is judged on waiting time and fairness.
Text Gantt charts for FCFS, shortest job first, shortest remaining time, round robin and priority scheduling, using one set of example processes.
The main CPU scheduling algorithms grouped by how they work, preemptive or not, and what they use to pick the next process, with a quick comparison table.
Six CPU scheduling algorithms are commonly taught: FCFS, shortest job first, priority, round robin, multilevel queue and multilevel feedback queue.
First come, first served is the simplest CPU scheduling algorithm. Here is how it works, a worked example, and why its long waits can hurt.
Related topics