8. Multi-Level Feedback Queue Flashcards
1
Q
What does MLFQ stand for?
A
Multi-level Feedback Queue
2
Q
What problems do MLFQ solve?
A
- Minimise turnaround time
- Minimise response time
3
Q
What is starvation?
A
A situation when a process is never given a chance because it is always preempted by higher-priority processes
4
Q
What are the five rules of MLFQ?
A
- When Priority(A) is more than Priority(B), A runs
- When Priority(A) is equal to Priority(B), A and B runs in round robin fashion
- When a job enters the queue, it is placed at the highest priority
- Once a job uses up all its time allotment at a given priority level (regardless of the number of times it has given up CPU), the priority reduces by one.
- After some time period S, move all jobs to the top priority.
5
Q
What is the challenge in MLFQ?
A
Determining the best parameters for time period to reprioritise all jobs, time quantum and number of priority levels.
6
Q
A