5th Sem - Osy Microproject
5th Sem - Osy Microproject
PROJECT REPORT
ON
“Multilevel Queue and Multilevel Feedback Queue
Scheduling”
Subject – Operating System (22516)
SUBMITTED BY
106-Lanke Gauri Arvind (2100340213)
1
Sanjivani Rural Education Society’s
SANJIVANI K.B.P POLYTECHNIC
DEPARTMENT OF COMPUTER TECHNOLOGY
CERTIFICATE
This is to certify that the Project report entitled
“Multilevel Queue and Multilevel Feedback Queue
Scheduling”
Submitted By
106-Lanke Gauri Arvind (2100340213)
2
ACKNOWLEDGEMENT
3
INDEX
1. Introduction 5
2. Multilevel Queue Scheduling 6-7
3. Multilevel Feedback Queue 8-9
Scheduling
4. Conclusion 10
5. References 11
4
INTRODUCTION
5
MULTILEVEL QUEUE SCHEDULING
EXAMPLE-
6
Multilevel queue scheduling algorithm in the above figure has
partitioned the ready queue in multiple queues as,
ADVANTAGES:
1. You can use multilevel queue scheduling to apply different
scheduling methods to distinct processes.
2. It will have low overhead in terms of scheduling.
DISADVANTAGES:
1. There is a risk of starvation for lower priority processes.
2. It is rigid in nature.
7
MULTILEVEL FEEDBACK QUEUE SCHEDULING
EXAMPLE-
8
queue 0 and queue 1 are empty. i.e. each time, the time slice is
increased but priority is decreased for the process.
In general, a multilevel feedback queue scheduler is defined by the
following parameters:
ADVANTAGES:
1. This is a flexible Scheduling Algorithm
2. This scheduling algorithm allows different processes to move
between different queues.
3. In this algorithm, A process that waits too long in a lower
priority queue may be moved to a higher priority queue which
helps in preventing starvation.
DISADVANTAGES:
1. This algorithm is too complex.
2. As processes are moving around different queues which leads to
the production of more CPU overheads.
3. In order to select the best scheduler this algorithm requires some
other means to select the values.
9
CONCLUSION
10
REFERENCES
1. https://www.studytonight.com/operating-
system/multilevel-feedback-queue-scheduling
2. https://www.javatpoint.com/multilevel-queue-
scheduling-in-operating-system
11