Open In App

GATE | GATE-CS-2016 (Set 2) | Question 30

Like Article
Like
Save
Share
Report

In which one of the following page replacement algorithms it is possible for the page fault rate to increase even when the number of allocated frames increases?

(A) LRU (Least Recently Used)
(B) OPT (Optimal Page Replacement)
(C) MRU (Most Recently Used)
(D) FIFO (First In First Out)


Answer: (D)

Explanation: In some situations FIFO page replacement gives more page faults when increasing the number of page frames. This situation is Belady’s anomaly.
Belady’s anomaly proves that it is possible to have more page faults when increasing the number of page frames while using the First in First Out (FIFO) page replacement algorithm. For example, if we consider reference string 3 2 1 0 3 2 4 3 2 1 0 4 and 3 slots, we get 9 total page faults, but if we increase slots to 4, we get 10 page faults.



Quiz of this Question


Last Updated : 15 Feb, 2018
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads