answersLogoWhite

0

What is Multilevel feedback queue?

Updated: 8/10/2023
User Avatar

Ahrmieshann

Lvl 1
14y ago

Best Answer

A multi-level feedback queue scheduling policy gives preference to short and I/O bound processes, it also rapidly establishes the nature of a process and schedules it accordingly. Multi-level feedback queues work on priorities. Processes are placed in separate queues based on their priority, this in turn is based on their CPU consumption and If a process uses too much of the CPU, it will be given a lower priority and therefore get less CPU time than fast and I/O bound processes. Any processes that do not complete in their allocated time slice / quantum are demoted to a queue of less priority, these lower priority queues generally have larger quantums / time slices. Each of the queues may use a different scheduling algorithm, this is done to make the overall scheduling method as efficient as possible. The features that may vary between different multi-level feedback queue scheduling methods are: - The number of queues - The scheduling algorithm assigned to each queue - The method used to promote/demote processes to different queues - The method that determines which queue a process enters --- Thomas Lee

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

So the general idea of a multi-level queue is as follows:

You have several queues, each has a level which corresponds to a level of priority, each level has its own scheduler, there is one main scheduler which handles the scheduler for each queue.

So you might have:

Queue 1: High Priority, Shortest Job First

Queue 2: Medium Priority, Round-Robin 10ms Quantum

Queue 3: Low Priority, Round Robin 100 ms Quantum

Then overall queue could be a priority queue so Q1 gets 50% of CPU time, Q2 gets 35% of the CPU time, Q3 gets the remaining 15%.

The problem with this is that once a job is put on a queue, it must remain there until it completes. This could create some problems with CPU hogging and starvation. If a very long job is put on Q1, it could hog all of the time given to Queue 1, preventing the other jobs from running. This is bad because jobs in Q1 are high priority.

Feedback queues attempt to solve this, what they do is have a few Round-Robin queues with increasingly larger Quantums, and then the final queue which handles all of the very long jobs.

So a feed back queue might look like:

Q1: 5 ms quantum

Q2: 10 ms quantum

Q3: First come first serve

Note: Quantum is used with Round-Robin scheduling, it is the amount of time a job runs before it is interrupted to start another job.

The important part is that all jobs start at Queue 1, and once their quantum elapses, they are moved to the next queue down. That way long jobs continue to move down as they continue to use quantums. Short jobs will often complete before they reach the last queue. Since shorter jobs rarely reach lower queues, they are given priority and allowed to complete.

The main distinction is that feedback allows jobs to move from one queue to another.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is Multilevel feedback queue?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is aging in operating system?

After certain time if we increase the priority then lower priority jobs will get chance fast.this process is called aging.it is used for multilevel feedback queue.


What CPU scheduling algorithm is used Windows NT?

Windows XP uses a quantum-based, preemptive priority scheduling algorithm


How do you design a multilevel inverter?

the design of multilevel inverter can be done by using is the mosfets ....multilevel inverter is the inverter which cna reduce the harmonics by increasing the voltage levels ANSWER: The design of multilevel converter is the same as a single converter. The feedback control however comes from the most hi current output capacity circuit.


What are the advantages of multilevel queue scheduling?

we can apply the any algo on any level of queue. we can apply fifo, sjf(short job first) and round robin at any level. by doing this the efficiency of completing the process can be increased and every process will take the cpu burst


What are the Advantages and disadvantages of a queue?

The advantage of multilevel queue scheduling is that it covers all disadvantage of all others scheduling...................... The main disadvantage of multilevel queue scheduling is that it is very difficult to understand and it takes a lot of time........ By waqar ahmad awan (0333-9996376)


What is multilevel threading?

In multilevel threading it has multiple kernals and multiple users.


When was Bombardier MultiLevel Coach created?

Bombardier MultiLevel Coach was created in 2006.


What are types of multi level inverters?

Types of Multilevel Inverter:Multilevel inverters are three types. 1.Diode clamped multilevel inverter 2.Flying capacitors multilevel inverter 3.Cascaded H- bridge multilevel inverter


Define multilevel queue scheduling?

Multi-level scheduling method for multiplexing packets in a communications networkA method and system for data traffic management in telecommunications networks is presented. End user data streams are aggregated to achieve more efficient use of a communication channel. Bandwidth is dynamically allocated to the data streams of the various users, effectively reducing their communications costs. The system includes a class of service selector and a plurality of stream selectors. Each stream selector is associated with a single budget category. Data is placed into queues according to a priority assigned by the end user. Data packets are transmitted from their queues through the class of service selector and through one of the stream selectors in response to the traffic provided by the end users and the budget category subscriptions of the end users.


what advantage is there in having different time quantum sizes on different levels of multilevel queueing system?

Processes which need more frequent servicing, for instance interactive processes such as editors, can be in a queue with a small time quantum. Processes with no need for frequent servicing can be in a queue with a larger quantum, requiring fewer context switches to complete the processing, making more efficient use of the computer.


What advantage is there in having different time quantum sizes on different levels of a multilevel queueing system?

Processes which need more frequent servicing, for instance interactive processes such as editors, can be in a queue with a small time quantum. Processes with no need for frequent servicing can be in a queue with a larger quantum, requiring fewer context switches to complete the processing, making more efficient use of the computer.


State an advantage in having different time-quantum sizes for different levels of a multilevel queuing system?

Processes which need more frequent servicing, for instance interactive processes such as editors, can be in a queue with a small time quantum. Processes with no need for frequent servicing can be in a queue with a larger quantum, requiring fewer context switches to complete the processing, making more efficient use of the computer.