Page Replacement Algorithm
Page Replacement Algorithm
and page
Replacement
Algorithm
Virtual memory management
Cont...
FIFO
FIFO Algorithm.
FIFO
• A bad replacement choice may increase the page-fault rate and slow
process execution.
• Consider the following string: 1, 2, 3, 4, 1, 2, 5, 1, 2, 3, 4, 5.
• Notice that the number of faults for four frames (ten) is greater than the
number of faults for three frames (nine)! This most unexpected result is
known as Belady’s anomaly.
Optimal page Replacement