Operating System - CPU Scheduling
Operating System - CPU Scheduling
Operating System - CPU Scheduling
A.Bathsheba Parimala
Assistant Professor,
Dept.of BCA& M.Sc(NT&IT)
St.John's College,
Palayamkottai
Operating System
P1 24
P2 3
P3 3
Suppose that the processes arrive in order p1,p2,p3
So the waiting time for p1=0,p2=24,p3=27
The average waiting time=(0+24+27)/3=17.
One of the major drawback of this scheme is that the
Average waiting time is often quite long.
It is best approach to minimize waiting time. it
Selects the waiting process with the smallest
execution time to execute next.