Episode Details
Back to Episodes
There's No Such Thing as Tokens Per Second
Episode 5960
Published 1 month, 1 week ago
Description
Everyone quotes tokens per second and time to first token as if they're the whole picture. They're not — an LLM serving system doesn't have a performance number, it has a surface. This episode breaks down prefill versus decode, why one is compute-bound and the other memory-bandwidth-bound, the latency and throughput metric families that quietly disagree with each other, and how to design a benchmark that doesn't lie to you. Plus: goodput, the queue cliff, and the worked example where 2,000 tokens per second turns out to mean four out of ten requests were acceptable.
Key sources:
• vLLM Docs — https://docs.vllm.ai/en/latest/benchmarking/cli.html
• vLLM Docs — https://docs.vllm.ai/en/latest/usage/metrics.html
• vLLM Docs — https://docs.vllm.ai/en/latest/design/metrics.html
Episode 5960 — myweirdprompts.com/n/5960 (permanent short link: myweirdprompts.com/710002)