Same Size Different Misses
Two caches, both holding 8 bytes of data, both with 2-byte blocks, on a machine with 4-bit addresses. Replacement is LRU.
| cache | sets | lines per set | address split |
|---|---|---|---|
| X | 4 | 1 | tag 1, set 2, offset 1 |
| Y | 2 | 2 | tag 2, set 1, offset 1 |
Both start empty and read these byte addresses in order: 0, 1, 7, 8, 0.
Where do the two traces diverge?
Sign in to answer questions and track your progress
Sign In