CSE 120 Spring 2002
Principles of Computer Operating Systems
Stack Page Replacement Policies (continued)
Here's the example worked out for LFU.
The reference string:
1
2
3
2
4
3
5
1
3
2
3
5
LFU
:
1
2
3
2
4
3
5
1
3
2
3
5
12
1
2
3
2
2
3
3
1
3
2
3
9
1
1
3
4
2
2
2
1
1
2
7
1
1
4
5
5
5
5
1
6
1
4
4
4
4
4
5