CS FundamentalsHardGATE CS

The working-set model chooses a window Δ. What happens if Δ is too small and if it is too large?

  1. A. Too small: it wastes frames; too large: more faults
  2. B. Too small: it misses parts of the current locality (too few frames, more faults); too large: it spans several localities (wastes frames, limits multiprogramming)
  3. C. Δ has no effect on frame allocation
  4. D. Too small causes Belady's anomaly; too large causes deadlock

Correct answer: B. Too small: it misses parts of the current locality (too few frames, more faults); too large: it spans several localities (wastes frames, limits multiprogramming)

The working set should capture exactly the current locality. A small window underestimates it and a large one overestimates it, reducing how many processes fit in memory.

More Operating Systems questions

Exams that ask this topic