CS FundamentalsHardGATE CS
The working-set model chooses a window Δ. What happens if Δ is too small and if it is too large?
- A. Too small: it wastes frames; too large: more faults
- 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)
- C. Δ has no effect on frame allocation
- 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
- Page-fault-frequency (PFF) control sets an upper and a lower bound on each process's fault rate. If a process's rate exceeds the upper…
- Which of the following increase TLB reach without enlarging the TLB? 1. Using larger (huge) pages 2. Supporting multiple page sizes 3…
- On a context switch, why can a TLB WITHOUT address-space identifiers (ASIDs) not simply keep its entries?
- A hashed page table is used for 64-bit address spaces. Which statement about it is correct?
- Which statement about inverted page tables is correct?
- Belady's anomaly is observed for FIFO with reference string R. Which statement is necessarily true?