Lab › Memory › Optimal

Optimal Page Replacement

Bélády's Optimal Algorithm — replace the page that will not be used for the longest time in the future.

Optimal Algorithm: Look ahead in the reference string and replace the page that won't be needed for the longest time. Theoretically perfect — gives minimum page faults. Not implementable in practice (needs future knowledge).
Optimal Faults ≤ LRU Faults ≤ FIFO Faults
Configuration