8. Multi-Level Feedback Queue Flashcards

1
Q

What does MLFQ stand for?

A

Multi-level Feedback Queue

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What problems do MLFQ solve?

A
  1. Minimise turnaround time
  2. Minimise response time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the five rules of MLFQ?

A
  1. When Priority(A) is more than Priority(B), A runs
  2. When Priority(A) is equal to Priority(B), A and B runs in round robin fashion
  3. When a job enters the queue, it is placed at the highest priority
  4. 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.
  5. After some time period S, move all jobs to the top priority.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly