521 views

1 Answer

0 votes
0 votes

Consider the following sequence of memory accesses in a system that can hold four pages in memory: 1 1 2 3 4 5 1. When page 5 is accessed, the least frequently used page-replacement algorithm would replace a page other than 1, and therefore would not incur a page fault when page 1 is accessed again. On the other hand, for the sequence “1 2 3 4 5 2,” the least recently used algorithm performs better.

Ref: 

CHAPTER 9

Related questions

0 votes
0 votes
1 answer
1
0 votes
0 votes
0 answers
3