Fixed Priority Scheduling

Q3. Explain Fixed Priority Scheduling.

Ans. Fixed priority scheduling, (that is, serve all from foreground then from background). This may cause the possibility of starvation.

Let us take an example with five queues:

  1. System Processes
  2. Interactive Processes
  3. Interactive Editing Processes
  4. Batch Processes
  5. Student Processes

Each queue has absolute priority over lower priority queue. No process in the lower priority queue could run unless the queues for higher priority systems were all empty. Like, if an interactive process entered the ready queue while a batch process was running, the batch process would be preempted.

Multilevel Queue Scheduling

Figure: Multilevel Queue Scheduling

Leave a Reply

Your email address will not be published. Required fields are marked *

293 Views
%d bloggers like this: