50 likes | 267 Views
Round Robin A straightforward way to reduce the penalty that short jobs suffer with FCFS is to use preemption based on a clock. The simplest such policy is round robin. A clock interrupt is generated at periodic intervals.
E N D
Round Robin A straightforward way to reduce the penalty that short jobs suffer with FCFS is to use preemption based on a clock. The simplest such policy is round robin. A clock interrupt is generated at periodic intervals. When the interrupt occurs, the currently running process is placed in the ready queue, and the next ready job is selected on a FCFS basis. This technique is also known as time slicing. Exit C A B Pro Time out A RR
Q= 1 4 5 9 10 11 1 2 3 6 7 8 12 13 14 15 16 17 18 19 20 0 1 1 2 2 2 2 2 2 3 3 3 3 4 4 4 4 5 5