L1 to RAM: The Nanosecond Latency Gap

Accessing L1 cache takes approximately 0.3-1.2 nanoseconds, L2 cache around 2-5 nanoseconds, and L3 cache typically 10-20 nanoseconds, but fetching data from main RAM can incur a much higher latency of 50-100 nanoseconds, showcasing a significant 100x difference.

Sources

Open the full topic