Each process runs for at most one time quantum, then goes to the back of the ready queue; it gives good response time and fairness and is the basis of time-sharing.
A very large quantum behaves like FCFS; a very small quantum causes excessive context switching and wastes CPU time. A common rule is to pick a quantum longer than most CPU bursts (around 80%) but short enough for responsiveness (often 10 to 100 ms).
Loading…