# L2 Cache

- **Canonical URL:** https://getaimath.com/dictionary/l2-cache/
- **Topics:** [Hardware & AI Computing](https://getaimath.com/dictionary/category/hardware-and-ai-computing/)
- **Last updated:** 2026-11-25

## What is L2 Cache?

**In one sentence:** L2 cache is a larger, slightly slower cache that sits between L1 and L3.

It is often hundreds of kilobytes to a few megabytes. On GPUs, L2 is shared by all cores and can be tens of megabytes.

![AI Hardware (GPUs & VRAM): The Fast Chef & The Kitchen Door — Simple cartoon showing a Super-Fast Chef (GPU) who needs ingredients from a nearby Countertop Fridge (VRAM) via a wide double-door (Memory Bandwidth), instead of walking down a slow hallway to the Basement Pantry (System RAM).](https://getaimath.com/diagrams/hardware-and-ai-computing.png)
*Napkin Diagram (Hardware & AI Computing): A fast GPU chip is like a fast chef—if the memory doorway is too narrow, the chef just stands around waiting for ingredients.*

## What is an example of L2 Cache?

When data is not in L1, the chip looks in L2 next.

## Why does L2 Cache matter?

L2 helps keep busy cores supplied with data.

## Related Concepts

- [L1 Cache](https://getaimath.com/dictionary/l1-cache/): L1 cache is the smallest and fastest cache, sitting right next to each processor core.
- [L3 Cache](https://getaimath.com/dictionary/l3-cache/): L3 cache is a bigger, shared cache that all CPU cores can use.
- [Cache](https://getaimath.com/dictionary/cache/): A cache is a small, very fast memory close to the processor that keeps recently or frequently used data.
- [SRAM](https://getaimath.com/dictionary/sram/): SRAM, or Static RAM, is very fast, expensive memory used for caches and on-chip storage.
- [Memory Channels](https://getaimath.com/dictionary/memory-channels/): Memory channels are separate pathways between the processor and memory that can work at the same time.
- [DRAM](https://getaimath.com/dictionary/dram/): DRAM, or Dynamic RAM, is the common main memory in computers, cheaper and denser than SRAM but slower.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/l2-cache/)
