the.ai

Systems / Hardware

verified

GPU Memory Hierarchy

The memory closest to the arithmetic is tiny and enormously fast; the memory large enough to hold a model is far away and comparatively slow. On an A100 that is roughly 20 MB of on-chip SRAM at 19 TB/s against 40 GB of HBM at 1.5 TB/s. Most performance questions on this hardware turn out to be a question about which of those two a piece of data is sitting in.

Viz primitive · budget-splithbm-mb = 8

hbm-mb holds 33% of the budget; rest holds the remaining 67%.

Bytes one kernel reads from HBM against bytes it reads on chip, both in megabytes. Drag the HBM traffic to watch the share that costs thirteen times as much per byte take over.

8

Reviewed by opendroid · 2026-08-04

  • arXiv:2205.14135 — FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness