Priority Scheduling
Priority Scheduling:
A priority number
(integer) is associated with each process
The CPU is allocated to
the process with the highest priority (smallest integer º highest priority).
Preemptive
non preemptive
SJF is a priority
scheduling where priority is the predicted next CPU burst time.
Problem º Starvation – low priority processes may never
execute.
Solution º Aging – as time progresses increase the priority
of the process.
Comments
Post a Comment