Skip to content
Related Articles

Related Articles

Improve Article
GATE | GATE-CS-2016 (Set 2) | Question 30
  • Last Updated : 15 Feb, 2018

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

Attention reader! Don’t stop learning now. Learn all GATE CS concepts with Free Live Classes on our youtube channel.

My Personal Notes arrow_drop_up
Recommended Articles
Page :