Difficulty: Easy
Correct Answer: dispatch tasks according to execution characteristics
Explanation:
Introduction / Context:
Multilevel feedback queue (MLFQ) scheduling is a classic operating-system technique that adapts CPU allocation based on how processes behave. It is widely taught because it illustrates responsive time-sharing and priority aging without manual tuning once configured.
Given Data / Assumptions:
Concept / Approach:
MLFQ adapts priorities dynamically. Interactive or I/O-bound tasks that frequently yield the CPU are rewarded with higher priority and shorter quanta to improve responsiveness. CPU-bound tasks that use their full quantum are gradually demoted to lower-priority queues, receiving longer quanta but less frequent dispatch. Thus, the scheduler “dispatches according to execution characteristics.”
Step-by-Step Solution:
Verification / Alternative check:
Standard OS texts describe MLFQ rules: if a job uses up its quantum, move it to a lower-priority queue; if it yields early or waits for I/O, move it up. This is precisely dispatching by execution characteristics.
Why Other Options Are Wrong:
Common Pitfalls:
Confusing MLFQ with fixed multilevel queues (no feedback). Assuming it is primarily a real-time scheduler rather than a general-purpose, interactive one.
Final Answer:
dispatch tasks according to execution characteristics
Discussion & Comments