CS FundamentalsModerateGATE CS
In a multilevel feedback queue, why do I/O-bound interactive processes tend to stay in the highest-priority queue?
- A. The OS detects them by their file names
- B. They block for I/O before using up their small quantum, so they are never demoted
- C. They are given infinite quanta
- D. They always arrive before CPU-bound processes
Correct answer: B. They block for I/O before using up their small quantum, so they are never demoted
MLFQ demotes only processes that consume their full quantum. Short CPU bursts followed by I/O keep a process at the top level, giving good response time.
More Operating Systems questions
- On a multiprocessor, the scheduler tries to keep a thread on the CPU it ran on last. Which benefit does this processor affinity provide…
- Linux's CFS gives each runnable task a virtual runtime that increases more slowly for higher-weight (lower nice) tasks, and always runs…
- Which statement about scheduler activations / the two-level (many-to-many) threading model is correct?
- How many of these statements about virtual memory are correct? 1. A process can have a virtual address space larger than physical memory…
- A process accesses an address whose PTE has the valid bit clear. Which TWO situations are both possible, and how does the OS tell them…
- Which feature lets an OS allocate memory for a growing stack only when it is actually touched?