Twelve References Three Slots
A cache holds 3 entries. This reference string arrives:
| step | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| key | A | B | C | A | B | D | A | B | C | D | A | B |
Count the hits under LRU, under LFU (counters kept only while an entry is resident, ties broken by evicting the least recently used), and under FIFO.
Sign in to answer questions and track your progress
Sign In