Pidoku

The Memory Map

Module 8 Lesson 8.d 35 min Difficulty 2/5

Prerequisites 8.a, 4.e, 7.g


Before you start: words you need#

WordPlain meaning
CapacityHow many gigabytes of memory a device has. It decides what fits.
BandwidthHow many terabytes per second the device can read from that memory. It decides how fast memory-bound work runs (4.e).
Read-all timeCapacity ÷ bandwidth: how long it takes to read the whole memory once.
Log scaleAn axis where each step is ten times the last, so tiny and huge values fit on one chart.
HBM / LPDDR / GDDR / SRAMFour kinds of memory: stacked high-bandwidth DRAM beside the chip; phone-style DRAM shared with a CPU; graphics-card DRAM; and on-chip memory (4.d, 7.k).
Tensor-parallel groupSeveral GPUs that split each layer between them, so their capacity and bandwidth add up for one model (14.c).

1. What is it?#

For AI, and for language models above all, two numbers describe an accelerator better than its FLOPs:

  • how much memory it has: what fits;
  • how fast it can read that memory: how fast it decodes.

Plot every accelerator on those two axes, on log scales, and the industry falls into three clusters:

  • SRAM machines (Groq, Cerebras): tiny capacity per chip, enormous bandwidth.
  • HBM accelerators (NVIDIA, AMD, TPU, Trainium, Maia): about 100–450 GB at 3–23 TB/s.
  • LPDDR and GDDR devices (Apple, DGX Spark, Jetson, gaming and workstation cards): large or modest capacity at well under 2 TB/s.

Diagonal lines on the chart add a third number: the read-all time, the floor on one decode step when the weights fill the memory.

Facts checked on 12 November 2026.

EVERY ACCELERATOR ON ONE MAP · CAPACITY VS BANDWIDTHlog-log · per device · vendor figures · checked 16 Oct 20260.1 GB1 GB10 GB100 GB1 TB0.1 TB/s1 TB/s10 TB/s100 TB/s1 PB/s10 PB/sMemory capacity per device → (what fits)Memory bandwidth per device → (how fast it decodes)0.1 ms1 ms10 ms100 ms1 sA100: 80 GB, 2 TB/sH100: 80 GB, 3.35 TB/sH200: 141 GB, 4.8 TB/sB200: 192 GB, 8 TB/sB300 · MI355X: 288 GB, 8 TB/sRubin: 288 GB, 22 TB/sRTX 5090: 32 GB, 1.79 TB/sRTX 5090RTX PRO 6000: 96 GB, 1.79 TB/sL4: 24 GB, 0.3 TB/sL4DGX Spark · Jetson Thor: 128 GB, 0.273 TB/sDGX Spark · Jetson ThorMI300X: 192 GB, 5.3 TB/sMI455X: 432 GB, 19.6 TB/sAscend 950DT: 144 GB, 4 TB/sGaudi 3: 128 GB, 3.7 TB/sTPU Ironwood: 192 GB, 7.37 TB/sTrainium3: 144 GB, 4.9 TB/sMaia 200: 216 GB, 7 TB/sGroq LP30: 0.5 GB, 150 TB/sGroq LP30Cerebras WSE-3: 44 GB, 21000 TB/sCerebras WSE-3Apple M3 Ultra: 512 GB, 0.819 TB/sApple M3 UltraApple M4 Max: 128 GB, 0.546 TB/sApple M4 MaxZOOM · DATA-CENTER ACCELERATORS100 GB200 GB400 GB2 TB/s5 TB/s10 TB/s20 TB/sA100: 80 GB, 2 TB/sA100H100: 80 GB, 3.35 TB/sH100H200: 141 GB, 4.8 TB/sH200B200: 192 GB, 8 TB/sB200B300 · MI355X: 288 GB, 8 TB/sB300 · MI355XRubin: 288 GB, 22 TB/sRubinRTX PRO 6000: 96 GB, 1.79 TB/sRTX PRO 6000MI300X: 192 GB, 5.3 TB/sMI300XMI455X: 432 GB, 19.6 TB/sMI455XAscend 950DT: 144 GB, 4 TB/sAscend 950DTGaudi 3: 128 GB, 3.7 TB/sGaudi 3TPU Ironwood: 192 GB, 7.37 TB/sTPU IronwoodTrainium3: 144 GB, 4.9 TB/sTrainium3Maia 200: 216 GB, 7 TB/sMaia 200Dashed lines: time to read the whole memory once, the floor on one decode step if the weights fill it.Up and left: tiny, very fast (SRAM). Down and right: huge, slow (LPDDR). Data-center GPUs cluster in the middle.NVIDIAAMD, Huaweihyperscaler ASICsSRAM-firstIntel, Apple
Every accelerator in this material on one map. The inset zooms into the crowded data-center region. Hover a dot for its numbers.

2. Why does it matter?#

Because single-user decode is memory-bound (12.c). However many FLOPs a chip has, one user’s tokens per second cannot exceed bandwidth ÷ bytes read per token. And a model that does not fit does not run at all, or runs split across devices.

So before comparing price or FLOPs, you can rule devices in or out with two numbers you can read off any spec sheet (4.b).


3. Simple analogy#

Think of libraries.

  • Capacity is how many books the library holds.
  • Bandwidth is how many pages per second the librarians can fetch.
  • Read-all time is how long it would take them to fetch every page once.

A tiny library with fast librarians (SRAM) answers instantly but holds little. A national archive with one slow lift (LPDDR) holds everything but takes ages. HBM accelerators are the large university libraries in between.


4. Tiny example#

Read-all time for three devices:

Rubin:      288 GB ÷ 22 TB/s    = 13 ms    → a model that fills it decodes at ≤ 76 tok/s
H100:        80 GB ÷ 3.35 TB/s  = 24 ms    → ≤ 42 tok/s
DGX Spark:  128 GB ÷ 0.273 TB/s = 469 ms   → ≤ 2 tok/s

A smaller model decodes faster than this, because only its own bytes are read. The read-all time is the worst case: the device full of weights.


5. Technical explanation#

Reading the map#

  • Moving right means larger models or more KV cache fit on one device.
  • Moving up means each token of a memory-bound decode is faster.
  • The diagonals are capacity ÷ bandwidth. A device on the “10 ms” line takes 10 ms to read all of its memory, so a model that fills it decodes at no more than 100 tokens per second per user. Data-center GPUs sit between about 10 and 40 ms; SRAM chips at a few microseconds; LPDDR devices at 400–600 ms.

Three clusters, three products#

ClusterExamplesRead-all timeWhat it is for
SRAMGroq LP30, Cerebras WSE-3 (7.k)microsecondsthe fastest per-user decode, by spreading a model over many chips
HBMH100 to Rubin (7.b–7.e), MI355X and MI455X (7.h), Ironwood (7.i), Trainium3 and Maia 200 (7.j)~10–40 mstraining and high-throughput serving of large models
LPDDR / GDDRApple M5 Ultra, DGX Spark, Jetson Thor, RTX cards (7.f)~20–600 mslocal, private, edge; development

Within the HBM cluster, generations move up more than right: Rubin nearly triples B300’s bandwidth at the same 288 GB, while AMD’s MI455X moves both, to 432 GB (and 19.6–23.3 TB/s, depending on which AMD figure you take, 7.h).

What the map hides#

  • Batching. The map describes one user. With many users, the weights are read once per step for all of them, and compute or KV-cache bandwidth becomes the limit instead (12.j).
  • Mixture of experts. Only the active experts are read per token, so a MoE model decodes as if it were much smaller than its capacity footprint (14.g).
  • Scale-up. Eight GPUs on NVLink act like one device with 8x the capacity and bandwidth for a model split across them. An NVL72 is a point far off the right edge of the chart (7.d).
  • Price and power. Neither axis is cost. Divide by price before deciding (7.l).

6. Under the hood#

Classify devices by read-all time, then list which can serve a 70B FP8 model to a single user at 100 tokens per second, and with how many devices in a tensor-parallel group. The Group field is the largest group that can be joined on a fast scale-up fabric.

Go
// memmap.go — capacity, bandwidth, and the time to read everything once.
package main

import (
	"fmt"
	"sort"
)

type Dev struct {
	Name    string
	GB, TBs float64
	Group   int // largest group joined on a fast scale-up fabric for one model
}

func class(d Dev) string {
	ms := d.GB / d.TBs // GB ÷ TB/s = ms
	switch {
	case ms < 0.1:
		return "SRAM"
	case d.TBs < 2:
		return "LPDDR/GDDR"
	}
	return "HBM"
}

func main() {
	devs := []Dev{
		{"Groq LP30", 0.5, 150, 256},
		{"Cerebras WSE-3", 44, 21000, 4},
		{"H100", 80, 3.35, 8},
		{"H200", 141, 4.8, 8},
		{"B200", 192, 8, 72},
		{"Rubin", 288, 22, 72},
		{"MI355X", 288, 8, 8},
		{"MI455X", 432, 19.6, 72},
		{"TPU Ironwood", 192, 7.37, 64},
		{"Trainium3", 144, 4.9, 144},
		{"Apple M5 Ultra", 512, 1.2, 1},
		{"DGX Spark", 128, 0.273, 1},
		{"RTX 5090", 32, 1.79, 1},
	}
	sort.Slice(devs, func(i, j int) bool { return devs[i].GB/devs[i].TBs < devs[j].GB/devs[j].TBs })
	fmt.Println("device            read-all (ms)   class")
	for _, d := range devs {
		fmt.Printf("%-16s %14.3f   %s\n", d.Name, d.GB/d.TBs, class(d))
	}

	const modelGB, target = 70.0, 100.0 // 70B FP8, tokens/s per user
	fmt.Printf("\nserve %.0f GB at ≥ %.0f tok/s for one user (memory-bound, tensor-parallel group):\n", modelGB, target)
	for _, d := range devs {
		if class(d) == "SRAM" {
			continue // a token walks a chain of chips; see 7.k for a better model
		}
		found := false
		for n := 1; n <= d.Group; n *= 2 {
			capGB, bw := d.GB*float64(n)*0.85, d.TBs*float64(n)
			if capGB >= modelGB && bw*1000/modelGB >= target {
				fmt.Printf("  %-16s × %-3d  ≤ %4.0f tok/s\n", d.Name, n, bw*1000/modelGB)
				found = true
				break
			}
		}
		if !found {
			fmt.Printf("  %-16s never (≤ %4.0f tok/s at most)\n", d.Name, d.TBs*float64(d.Group)*1000/modelGB)
		}
	}
}

Output:

device            read-all (ms)   class
Cerebras WSE-3            0.002   SRAM
Groq LP30                 0.003   SRAM
Rubin                    13.091   HBM
RTX 5090                 17.877   LPDDR/GDDR
MI455X                   22.041   HBM
H100                     23.881   HBM
B200                     24.000   HBM
TPU Ironwood             26.052   HBM
H200                     29.375   HBM
Trainium3                29.388   HBM
MI355X                   36.000   HBM
Apple M5 Ultra          426.667   LPDDR/GDDR
DGX Spark               468.864   LPDDR/GDDR

serve 70 GB at ≥ 100 tok/s for one user (memory-bound, tensor-parallel group):
  Rubin            × 1    ≤  314 tok/s
  RTX 5090         never (≤   26 tok/s at most)
  MI455X           × 1    ≤  280 tok/s
  H100             × 4    ≤  191 tok/s
  B200             × 1    ≤  114 tok/s
  TPU Ironwood     × 1    ≤  105 tok/s
  H200             × 2    ≤  137 tok/s
  Trainium3        × 2    ≤  140 tok/s
  MI355X           × 1    ≤  114 tok/s
  Apple M5 Ultra   never (≤   17 tok/s at most)
  DGX Spark        never (≤    4 tok/s at most)

How to read it:

  • Every HBM accelerator reaches 100 tokens per second on a 70B model with a group of one to four. The H100 needs four: two would hold the model but give only 6.7 TB/s, just under target.
  • The LPDDR and GDDR devices never do. The RTX 5090 cannot even hold the model alone; the M5 Ultra and DGX Spark hold it but read too slowly; and none of them joins others on a fast scale-up fabric.
  • SRAM machines are skipped because simply adding up their bandwidth would be wrong: a token walks a chain of chips one after another. 7.k has a model that accounts for that.
  • The ceilings are upper bounds. Real decode reaches perhaps 60–80% of them.

7. Performance implications#

  • Capacity says what fits; bandwidth says how fast one user decodes. Their ratio is the floor on one decode step when memory is full.
  • Splitting adds bandwidth only on a fast fabric. Tensor parallelism over NVLink sums the bandwidth of the group; over PCIe or a NIC the communication eats much of the gain (9.g).
  • Quantising moves the model left on the map. FP8 halves the bytes, NVFP4 roughly quarters them, which both fits more and decodes faster (13.b).

8. Production implications#

  • Shortlist with the map, decide with a benchmark. Two numbers rule devices in or out; your own model at your own batch size decides between the survivors (22.g).
  • Desk devices are for development and privacy, not throughput. A Mac Studio or DGX Spark runs very large models slowly and quietly; a single HBM GPU runs them fast.
  • Leave room for the KV cache. The program keeps 15% free; at long contexts and many users the cache can be larger than the weights (12.f).

9. Common mistakes#

  1. Comparing FLOPs for a decode workload. Bandwidth sets single-user speed.
  2. Adding up bandwidth across devices with no fast link. Four DGX Sparks are not one fast GPU.
  3. Reading the map as a throughput chart. It describes one user; batching changes the limit.
  4. Forgetting MoE. A 1T-parameter MoE with 32B active reads far fewer bytes per token than its size suggests.
  5. Ignoring price. The best point on the map may be the worst per dollar.

10. Hands-on exercise#

  1. Run memmap.go. Raise the target to 300 tokens per second. Which devices still qualify, and at what group size?
  2. Add the Maia 200 (216 GB, 7 TB/s, 7.j) and the AMD MI455X at AMD’s other figure (23.3 TB/s). Where do they land?
  3. Change the model to an MoE that reads 20 GB per token but needs 600 GB to hold. Separate modelGB into “bytes to hold” and “bytes read per token” and rerun.
  4. Where would an NVL72 rack sit if drawn as a single point on the chart?

11. Interview questions#

  1. What does a point on the “10 ms” diagonal tell you?
  2. Why can’t four DGX Sparks serve a 70B model as fast as one H200?
  3. Name two effects the single-user map leaves out.
  4. Why do new HBM generations move up more than right?
  5. When is a large, slow LPDDR device the right choice?

12. Further reading#

Checked on 12 November 2026.

↑↓ navigate↵ openesc close

100% drag to pan · scroll or pinch to zoom · double-click to zoom in