What is L3 cache, and how much faster is it than RAM?
By TechCompare · Updated · How we check
L3 cache is shared between cores and sits behind their small L1 and L2 caches and in front of main memory. It answers in 10-15 ns, while RAM takes 50-80 ns, so data that spills out of L3 costs about 5x as long per access.
Calculator
Memory & Storage Throughput Visualizer
Data to transfer: 500 GB
L3 is also called the last level cache, or LLC, because it's the last stop before a request goes out to RAM. Each core checks its own small L1 and L2 caches first. A miss in both goes to L3, which is far larger. It still answers in 10-15 ns. Only when L3 misses too does the CPU wait on DDR5 RAM, at 50-80 ns. That jump is roughly 5x in latency, and the next step down, from RAM to storage, is much bigger.
How big is L3 cache?
It depends on the chip, and a maker's spec page gives one total per processor. These are the L3 totals on a few recent chips:
- AMD Ryzen 9 9950X: 64 MB for 16 cores.
- AMD Ryzen 7 9800X3D: 96 MB for 8 cores.
- AMD Ryzen 9 9950X3D2 Dual Edition: 192 MB for 16 cores.
- Intel Core Ultra 9 285K: 36 MB for 24 cores, 8 performance and 16 efficient.
- Intel Xeon 6980P: 504 MB for 128 cores.
- AMD EPYC 9684X: 1152 MB for 96 cores.
So a desktop chip lands between 36 MB and 192 MB here, and server chips with many cores reach hundreds of megabytes. The EPYC 9684X passes 1 GB of L3 in a single socket. Intel's spec pages list this memory as Intel Smart Cache. Its Core processor datasheet describes Smart Cache as a shared last level cache that may also be called a 3rd level cache.
Per chiplet, the numbers are smaller. AMD builds its chips from core chiplets, and AMD's EPYC 9005 whitepaper says a Zen 5 core complex has up to eight cores sharing a 32 MB L3 cache, with one complex per chiplet. The Ryzen 9 9950X lists three dies in its package, which is two core chiplets of 32 MB each plus the I/O die. That's how it gets 64 MB. Intel's spec pages give only a total per chip, so this page doesn't list a per chiplet size for Intel.
What is 3D V-Cache?
3D V-Cache is AMD's way of adding L3 without making the chiplet wider. As AMD's 3D V-Cache page describes it, a 64 MB cache die is bonded to the core chiplet with a direct copper-to-copper connection. In the second generation that die sits below the cores, which gives the cores direct access to the cooler.
The stacked die is more L3, not a new cache level. The Ryzen 7 9800X3D has one core chiplet with its own 32 MB, plus the stacked 64 MB, which adds up to the 96 MB on its spec page. The Ryzen 9 9950X3D2 Dual Edition stacks a die on each of its two chiplets, which adds up to its 192 MB.
Games keep large, hot working sets such as textures and world state. When more of that data fits in L3, fewer reads go out to RAM, where each one takes 50-80 ns instead of 10-15 ns. That's why AMD sells its Ryzen X3D chips as gaming processors. A program that rarely misses L3 has little to gain from the extra cache.
How this is calculated
A database index scan that fits in L3 runs 5x faster than one that spills to RAM. A game engine's texture streaming slows down once the working set no longer fits in L3. Server CPUs (AMD EPYC, Intel Xeon) ship with large L3 caches, up to 504 MB on the Xeon 6980P and 1152 MB on the EPYC 9684X with 3D V-Cache, because many workloads are limited by how much data fits in L3.
The L3-to-RAM gap is a physics problem: capacitance on the memory bus limits how fast signals can travel between the CPU die and the DIMM slots. A larger L3 keeps more reads on the chip and off that bus.
Verdict
Size your working set to fit in L3 whenever you can. Spilling to RAM turns a 10-15 ns access into 50-80 ns, a 5x step. That's why the biggest server chips carry hundreds of megabytes of L3, and more than 1 GB with stacked cache. It's also why AMD adds stacked cache to its X3D gaming chips.
More Latency scenarios
Related guides
Frequently asked questions
What is L3 cache?
How much slower is RAM than L3 cache?
How big is L3 cache?
Why do Ryzen X3D chips with 3D V-Cache do well in games?
Why can't CPUs just have more L1 instead of an L3?
Related tools
RAM Latency Calculator
Convert DDR3/DDR4/DDR5 timings (CL, tRCD, tRP, tRAS) into true latency in nanoseconds.
Use toolRAID Calculator
Calculate usable capacity and fault tolerance for RAID 0, 1, 5, 6, and 10.
Use toolDisplay Bandwidth Calculator
Check display bandwidth for HDMI, DisplayPort, USB-C, Thunderbolt, and USB4.
Use tool