LESSON 34.05 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW
Benchmark sweeps and maximum sustainable QPS
Sweep one serving setup until its P99 latency breaks a 2-second SLO.
Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 3 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 34.05 · LOAD TEST BAYPREFILL 33,981 TOK/S · DECODE 131.1 TOK/S
01
Stage 1 of 6 · Prefill and decode
Prefill runs 512 tokens in one 15.1 ms step. Decode makes 1 token per 7.6 ms step.
Explain it simply
Every step reads all the weights once. Prefill does 512 tokens of math per read, so compute sets its time. Decode does 1, so memory sets it. Prefill moves 259 times more tokens a second. A real step adds 2 ms and gets 80% of peak bandwidth. Decode takes 7.6 ms, not 34.01's ideal 4.5 ms.
Two step bars. Prefill: 33,981 tokens a second, limited by compute. Decode: 131.1 tokens a second, limited by memory.
requests, KV cacheweights, settingsthroughput, max QPSover the SLO, no fit
Toy: 512-token prompts, 128-token replies, H100 GPUs, a roofline step model
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
A step takes its longer time: compute or memory.
PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
- 5 more stages and 3 live controls
- 2 mix-up cards and 3 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.