Correct : P
Given:
Page replacement algorithms: LRU, OPT, MRU, and FIFO.
Condition: Page fault rate increases even when the number of allocated frames increases.
To find:
The page replacement algorithm that shows this behavior.
Solution:
Okay, I know that this phenomenon is called Belady's Anomaly.
Let me recall which algorithms suffer from Belady's Anomaly.
Stack-based algorithms never exhibit Belady's anomaly because the set of pages in memory for n frames is always a subset of the pages in memory for n + 1 frames.
Both LRU and Optimal (OPT) are stack algorithms, so they never suffer from this issue.
Now looking at FIFO, the First-In-First-Out algorithm does not satisfy the inclusion property.
Because of this, for certain reference strings, increasing the number of page frames actually leads to more page faults in FIFO.
So FIFO is definitely the algorithm that shows this behavior.
Answer: (D) FIFO (First In First Out)
Similar Questions
Total Unique Visitors