OS & Hardware
With FIFO page replacement, adding physical pages can sometimes increase page faults. What is this phenomenon called?
- AThrashing
- BBélády's anomaly
- CCopy-on-write
Show answer and explanation
Answer: B. Bélády's anomaly
Intuitively, more physical pages should mean fewer page faults, but with FIFO certain access sequences are known to fault more when the page count grows from three to four. This is Bélády's anomaly. It cannot occur with stack algorithms such as LRU, where the set of pages held with more frames always contains the set held with fewer. Thrashing is constant replacement from memory shortage, and copy-on-write copies pages on write.
- A. Thrashing is constant replacement from memory shortage.
- B. Correct. With FIFO, more pages can mean more faults.
- C. Copy-on-write copies a page when it is written.