Professional Documents
Culture Documents
Brown and Beige Minimalist Modern Illustrated Book Lover Presentation
Brown and Beige Minimalist Modern Illustrated Book Lover Presentation
Brown and Beige Minimalist Modern Illustrated Book Lover Presentation
Characteristics of RRS
Implementation of RRS
Example
What is Roblin Round Scheduling?
Round Robin is a CPU scheduling algorithm where each
process is assigned a fixed time slot in a cyclic way. It is
basically the preemptive version of First come First Serve
CPU Scheduling algorithm.
The process itself will release the CPU voluntarily A context switch will be executed, and the process
will be put at the tail of the ready queue
P1 24
P2 3
P3 3
Gantt chart:
0 4 7 10 14 18 22 26 30
P1 P2 P3 P1 P1 P1 P1 P1
Method 1:
Turn Around Time = Completion time - Arrival time
Waiting Time = Turn Around time - Burst time
P1 30 30 - 0 = 30 30 - 24 = 6
P2 7 7-0=7 7-3=4
P3 10 10 - 0 = 10 10 - 3 = 7
Average Turn Around time:
= ( 30 + 7 + 10) / 3
= 47 / 3 = 15.66 ms
P2 4 - 0 - (0*4) = 4
P3 7 - 0 - (0*4) = 7
THANK YOU