RR Arrival Time
RR Arrival Time
RR Arrival Time
time time
P0 0 7
P1 3 2
P2 4 3
P3 4 1
P4 5 3
Time quantum=1ms
Ready queue
P0 P0 P0 P1 P2 P3 P4 P0 P1 P2 P4 P0 P2
7-1=6 6-1=5 5-1=4 2-1=1 3-1=2 1-1=0 3-1=2 4-1=3 1-1=0 2-1=1 2-1=1 3-1=2 1-1=0
P4 P0 P0
1-1=0 2-1=1
Gantt chart
P0 P0 P0 P1 P2 P3 P4 P0 P1 P2
0 1 2 3 4 5 6 7 8 9 10
P4 P0 P2 P4 P0 P0
10 11 12 13 14 15 16
https://www.youtube.com/watch?app=desktop&v=fW-h9jGRQdQ