The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+12 votes

In which one of the following page replacement policies, Belady's anomaly may occur?

  1. FIFO
  2. Optimal
  3. LRU
  4. MRU


asked in Operating System by Veteran (69k points)
edited by | 2k views

3 Answers

+16 votes
Best answer
answered by Veteran (19.8k points)
selected by
+5 votes

In computer storageBélády's anomaly is the phenomenon in which increasing the number of page frames results in an increase in the number of page faults for certain memory access patterns. This phenomenon is commonly experienced when using the First in First Out (FIFOpage replacement algorithm.

So, ans is (A)FIFO

answered by Veteran (16.3k points)
+2 votes
 Answer : A) FIFO


Page Replacement algorithms suffer from Belady’s anamoly if :

  • They do not follow the stack based algorithm.

Reference :-

Since MRU, LRU & Optimal Replacement Algo follow Stack Algo, hence they are not affected by Belady's Anamoly.

answered by Veteran (15.3k points)
edited by

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

33,646 questions
40,193 answers
38,664 users