Module 2 · Smaller, faster, still correct · Lesson 5
Latency, throughput and honest benchmarks
Time to first token, inter-token latency and goodput pull against each other; the knobs are the token budget per scheduler step, the sequence cap, chunked prefill and prefix caching, and a benchmark is only as good as the load shape and the fields its report states.
By the end of this lesson you can
- Define TTFT, TPOT, ITL, end-to-end latency, tokens per second per system and per user, and goodput, and say where benchmark tools disagree
- Read a concurrency sweep, find the knee of the latency-throughput curve and compute goodput against a stated SLO
- Explain the token budget per scheduler step, chunked prefill and preemption, and predict what `--max-num-batched-tokens` and `--max-num-seqs` do to TTFT and ITL tails
- Choose between CUDA graphs and eager mode as a boot-time versus steady-state trade
- Write a benchmark report with every field a reader needs to reproduce or distrust it
