Maximize throughput by tuning vLLM for concurrent request loads on NVIDIA HGX B200 GPUs.
Maximum concurrent sequences in a single batch.
Maximum total tokens across all sequences in a batch.
Fraction of GPU memory allocated for model weights and KV cache.
All results use input=2048, output=512 tokens, random dataset.
Saturation: ~512 concurrent. Peak: 18,829 tok/s sustained on 2 GPUs.
Saturation: ~64 concurrent. Peak: 3,816 tok/s on 1 GPU. Throughput oscillates at c=256/1024 due to TP=1 batch scheduling effects.
Saturation: ~512 concurrent. Peak: 8,838 tok/s sustained on 4 GPUs.
Saturation: ~128 concurrent. Peak: 2,132 tok/s sustained on 8 GPUs.
Saturation: ~512 concurrent. Peak: 4,370 tok/s sustained on 8 GPUs.
Interactive applications should optimize for TTFT (time to first token): the user-perceived latency before streaming begins. Batch processing should optimize for throughput (tok/s).
Goodput measures requests per second that meet all latency SLOs simultaneously. Tested with TTFT < 500ms and TPOT < 50ms.
Peak goodput at c=64 (13.29 req/s). Beyond this, TTFT exceeds 500ms and most requests violate the SLO. TPOT stays well under the 50ms SLO at all concurrency levels: TTFT is the binding constraint.
NVFP4 peaks at 8.90 req/s (c=64): lower than FP8's 13.29 because TP=1 means all prefill runs on a single GPU, making TTFT the bottleneck sooner. However, NVFP4 uses half the GPUs (1 vs 2), so it delivers better per-GPU efficiency even under SLO constraints.
For production with strict SLOs, target c=32–64. For batch processing where latency doesn't matter, push to c=512+.
For smaller models that don't need all 8 GPUs, run multiple independent instances:
This achieves ~75,000 tok/s aggregate throughput on a single 8-GPU node: 4x the single-instance peak.
In vLLM V1 (0.12.0+), chunked prefill is always enabled. Tune the chunk size via --max-num-batched-tokens:
Reduce CPU-GPU synchronization overhead by batching scheduler steps:
Use vLLM's built-in benchmark tool to test your specific setup:
0 Comments
Be the first to comment and share your perspective with the community.