533 views
0 votes
0 votes

What are the reasons behind 'Belady's Anomaly' ?

I think FIFO causes belady's anomaly because it's don't replace pages mindfully , while LRU,OPTIMAL do . They replace the pages mindfully by taking care of locality.

so is Locality of reference reason behind Belady's anomaly ?

1 Answer

0 votes
0 votes

1) Belady's Anomaly is the phenomenon where number of page fault increase when the page frame also increases.

Generally with the increment of page frames , page fault decreases. But in FIFO sometimes this rule violates. and page fault increses when the page frame also increases.

2)LOR is separate case than belady's anomaly. Because LOR only look after if a block is in cache, will it be required near future(Temporal locality) or it's adjacent block will require near future(Spatial locality)

3) May be Optimal page replacement policy sometimes follows Temporal LOR , but we cannot guarantee it . LOR is a block transfer from main memory to cache, to check this block or it's adjacent block are required near future or not.

No related questions found