How Modern Computers Work

Caches and the Memory Hierarchy

11:14

Plays from YouTube. Watch on YouTube

Why can two programs loading the same number of bytes have different runtimes?

Derive tag, index and offset for a 32 KiB eight-way cache, then trace conflict misses, write allocation, prefetching and concurrent outstanding memory requests.

Calculate an illustrative average memory access time and separate cache latency, memory-level parallelism and streaming bandwidth.