LESSON 29.11 · 5 STAGES · 2 CONTROLS · 3 CHECKSPRO · PREVIEW
Throughput vs latency
Change the batch size and watch the GPU trade speed per user for total work.
Pro lesson. Stage 1 is free to watch. Pro opens all 5 stages, 2 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 29.11 · SERVING BAY14.0 REQ/S · T 716.6 MS
01
Stage 1 of 5 · Requests per second
Throughput counts finished work per second. The 10 requests finish in 0.72 s: 14.0 requests per second, or QPS.
Explain it simply
Each row is one chat request. A request is done at its last blue dot. All ten are done after 0.72 seconds. Throughput divides the work by that time, so this server does 14.0 requests per second.
Ten lanes, one per request. The last token ends at 716.6 ms. Throughput is 14.0 requests per second.
request, prefill, KV memoryqueue waitoutput token, throughputbatch sizeGPU step
Toy: the 29.C2 trace on one toy GPU
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
Requests per second is the finished requests over the time they took.
PRO LESSON · YOU WATCHED STAGE 1 OF 5
Unlock the full explainer
- 4 more stages and 2 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.