How does a Multi-level Feedback Queue work to balance the needs of I/O-bound and CPU-bound processes?

Last updated 5 July 2026

  • MLFQ (Multi-level Feedback Queue) uses several priority queues: higher queues have smaller time quanta, and the highest non-empty queue is served first.

  • A process that uses its full quantum is treated as CPU-bound and demoted. One that blocks early for I/O stays high, keeping interactive jobs responsive.

  • CPU-bound jobs run in lower queues with long quanta, and aging (periodic priority boosts) prevents their starvation.

  • https://medium.com/@avinashkumar808482/operating-system-interview-questions-2026-0db6b4674980
  • https://lmskkhsou.in/eservices/e-Resources/Resources/NEP%20Syllabus%202024/core/BCA_Syllabus.pdf
All Operating Systems interview questions