Friday 9 March 2012

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).
  1. Preemptive
  2. nonpreemptive
  • 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.

No comments:

Post a Comment