|
![{\displaystyle {\ce {->[{} \atop {\text{Time}}]}}}](./5bbe595e28fc03e4a78bd8a926bc0e17cb542c5f.svg) |
| Page requests |
3 | 2 | 1 | 0 | 3 | 2 | 4 | 3 | 2 | 1 | 0 | 4 |
| Newest page |
3 |
2 |
1 |
0 |
3 |
2 |
4 |
4 |
4 |
1 |
0 |
0 |
| |
| 3 | 2 | 1 | 0 | 3 | 2 | 2 | 2 | 4 | 1 | 1 |
| Oldest page |
| | 3 | 2 | 1 | 0 | 3 | 3 | 3 | 2 | 4 | 4 |
|
|
![{\displaystyle {\ce {->[{} \atop {\text{Time}}]}}}](./5bbe595e28fc03e4a78bd8a926bc0e17cb542c5f.svg) |
| Page requests |
3 | 2 | 1 | 0 | 3 | 2 | 4 | 3 | 2 | 1 | 0 | 4 |
| Newest page |
3 |
2 |
1 |
0 |
0 |
0 |
4 |
3 |
2 |
1 |
0 |
4 |
| |
| 3 | 2 | 1 | 1 | 1 | 0 | 4 | 3 | 2 | 1 | 0 |
| |
| | 3 | 2 | 2 | 2 | 1 | 0 | 4 | 3 | 2 | 1 |
| Oldest page |
| | | 3 | 3 | 3 | 2 | 1 | 0 | 4 | 3 | 2 |
|
| An example of Bélády's anomaly. Using three page frames, nine page faults occur. Increasing to four page frames causes ten page faults to occur. Page faults are in red. This can be thought of as a result of a "Penny Wise, Pound Foolish" behavior. |
In computer storage, Bé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 (FIFO) page replacement algorithm. In FIFO, the page fault may or may not increase as the page frames increase, but in optimal and stack-based algorithms like Least Recently Used (LRU), as the page frames increase, the page fault decreases. László Bélády demonstrated this in 1969.