Price your future right. 60% off with code BLACKSCHOLES at USD checkout. Offer ends in 8d 09h 54m 22s8 days 9 hours 54 minutes 22 seconds.
Price your future right. 60% off with code BLACKSCHOLES at USD checkout. Offer ends in 8d 09h 54m 22s8 days 9 hours 54 minutes 22 seconds.

Sign in to watch this lesson
The Memory Hierarchy · 3:50
We stop taking the cache ladder on faith and measure it on a Mac: a random pointer chase over a growing working set, with the book's traps handled (the compiler, warm-up, timer resolution, pinning). The curve shows an L1 plateau near a nanosecond, an L2 plateau of a few nanoseconds and DRAM near a hundred, with knees exactly at the cache sizes sysctl reports, and a second experiment separates latency from bandwidth.