3

When we increase the number of frames to the process then the number of page fault should decrease but instead the page fault increase sometimes (Belady's anamoly). How this can be avoided?

missimer
  • 4,022
  • 1
  • 19
  • 33
Anurag Singh
  • 492
  • 6
  • 16

1 Answers1

5

Belady's anomaly is prevalent with a FIFO eviction policy. Every eviction policy will have a pattern that will "break" it. However, there are a few eviction policies that can avoid Belady's.

  1. Random eviction
  2. LRU (Least Recently Used)

Here is more information

The Brofessor
  • 1,008
  • 6
  • 15