Page replacement algorithms
Interactive FIFO, OPT and LRU tables.
Module 4
Session 4.6
Lesson 1 of 2
Page Replacement Algorithms
FIFO, Optimal, LRU, and Clock on a reference string. Count faults. Watch Belady on FIFO.
Victim selection
When there is no free frame, pick a page to evict. Dirty pages cost a write. Optimal (farthest next use) is a bound. LRU approximates it. Clock (second chance) is the usual hardware-friendly LRU. FIFO can exhibit Belady’s anomaly: more frames, more faults.