Originally published on Silicon & AI Pulse.
Two traffic traces can average eight requests per second and behave very differently. If one brings many prompts in a short window, those requests can build a queue and push first-token latency above the target while already-streaming replies slow down. A steady-load result can therefore overstate the traffic a vLLM deployment will handle at the tail. This guide lays out a repeatable way to measure the difference.
Compare traffic shape while holding the workload fixed
Record the vLLM version, model and tokenizer revision, quantization, GPU topology, scheduler settings and cache policy. Use the same prompt set and output length distribution in both tests. If you know your production mix, stratify short chat turns and long prompts and keep their proportions fixed. Start each run from an equivalent cache state. When replays reuse prefixes, explicitly decide whether that reuse is part of the experiment.
Start with an arrival-process baseline and then change only the shape of arrival intervals. According to the vLLM benchmark reference, a finite --request-rate is required for --burstiness to take effect. A value of 1 gives Poisson arrivals, a value below 1 produces more clustered arrivals, and a value above 1 gives more uniform arrivals. The same configured average rate does not guarantee identical realized rates in a finite run, so report the observed arrivals as well.
Run a baseline and a burst
The following are example test commands, not hardware measurements. Choose an offered rate near your deployment’s normal operating point, then repeat at rates below and above it. Point the client at your own staging endpoint and use the model name it serves. Check flag availability against your pinned release.
# Run against the same server configuration and repeat with several seeds. COMMON=(--backend openai --base-url http://127.0.0.1:8000 --endpoint /v1/completions --model YOUR_SERVED_MODEL --dataset-name random --random-input-len 512 --random-output-len 128 --num-prompts 1200 --request-rate 8 --seed 42 --percentile-metrics ttft,tpot,itl,e2el --metric-percentiles 50,95,99 --goodput ttft:500 tpot:50 --save-result --save-detailed) vllm bench serve "${COMMON[@]}" --burstiness 2.0 --result-filename uniform.json vllm bench serve "${COMMON[@]}" --burstiness 0.3 --result-filename burst.json A 500 ms TTFT cap and a 50 ms TPOT cap are illustrative. Use limits derived from the product. For example, if streaming responsiveness is important, include inter-token latency (ITL) percentiles as well. At low concurrency or with short runs, p99 can be dominated by a small number of requests. Report sample size, include timeouts, and repeat runs before adjusting capacity.
Read the metrics in the order a user experiences them
| Signal | What to examine when bursts get worse |
|---|---|
| Offered vs. completed requests/sec | Check whether the client generated the intended burst and whether a queue accumulated or requests timed out. |
| p95/p99 TTFT | Compare the peak and recovery period. Examine queue time and prefill demand when available. |
| p95/p99 TPOT and ITL | Check whether long prefills or scheduler contention disrupted streaming replies that were already running. |
| SLO-compliant requests/sec | Check whether total output throughput hid a drop in the number of users served within the target. |
| Timeouts and recovery time | Count arrivals that did not complete. Measure how long it took for pending work and latency to return to baseline. |
Run the load generator separately when possible, and watch its CPU and client-side queueing. A client inside the same resource boundary can flatten the burst before it reaches the server. For higher-concurrency tests, NVIDIA’s AIPerf benchmarking guide explains client bottlenecks, percentile reporting and GPU telemetry.
Move from a synthetic burst to a capacity rule
Replay a sanitized production arrival trace when you have one. Preserve request offsets, length distributions and burst windows without exposing prompt contents. The current vLLM CLI documents timestamp-based pacing for compatible traces. Keep a separate replay for cold starts if your deployment scales down, and test one mitigation at a time, such as admission control, extra replicas or a scheduler setting.
Publish the highest tested offered rate that satisfies your pass-rate and tail-latency targets for both traffic shapes. Include the burst profile and recovery time in that statement. For related controls, see the prefix caching measurement guide and the GPU inference cost monthly.
Once you know which runs meet the latency target, use the vLLM inference cost guide to price the output tokens from qualifying requests.
