THE EXPERIMENT BENCHCHANGE. OBSERVE. UNDERSTAND.
Change something. See what happens.
Nine experiments. Real calculations. Start by changing a single thing.
LIVE EXPERIMENT
Runs on your deviceMake a cache miss
BYTE ADDRESS0Block 0 → Set 0MISS
SET 0tag 0
SET 1·
SET 2·
SET 3·
SET 4·
SET 5·
SET 6·
SET 7·
Accesses1
Hit rate0%
Bytes fetched64
A cache fetches a whole line. Locality reuses it; conflicting mappings can evict useful data even before total capacity is exhausted.
What this model includes
One read-only cache, 64-byte lines, LRU replacement, eight total lines, eight-byte elements, 32 accesses. No prefetching or multilevel effects.
Go deeper into the mechanism
Change locality, capacity, and associativity.