Distributed Inference Study · NVIDIA Dynamo · vLLM 0.33.0 · 4× RTX 4090 · NATS + etcd
NVIDIA Dynamo KV-Aware Routing on 4× Colocated RTX 4090s
Comparing stateless round-robin (Triton/L7-style) vs. least-loaded vs. Dynamo --router-mode kv on four consumer GPUs without NVLink — plus how cross-run prefix-cache contamination can inflate routing benchmarks 10×.
Brian Woods · November 30, 2026 · Qwen/Qwen2.5-7B-Instruct (BF16) · 4× RTX 4090 (24 GB)
1,198.5 → 775.6 ms, fresh seeds)742.3 → 584.2 ms)239.2 vs. 239.4 ms P50 TTFT)1. Why Test Aggregated Dynamo on Consumer GPUs?
Most published NVIDIA Dynamo benchmarks target 8× H100/GB200 NVLink clusters using disaggregated Prefill/Decode (P/D) over NIXL. As shown in brian.biz/pd, disaggregated P/D collapses on PCIe consumer GPUs without P2P/RDMA (~321 MiB/s NIXL fallback).
However, Dynamo also runs in aggregated (colocated) mode: each GPU runs a standard vLLM worker with prefix caching enabled, while Dynamo's Rust frontend tracks each worker's KV radix tree via NATS events and routes incoming prompts to the worker already holding the matching prefix — getting KV-cache locality with zero PCIe/WAN KV transfer.
2. Experimental Setup
- Hardware: Single host with 4× NVIDIA GeForce RTX 4090 (24 GB each), 251 GiB RAM.
- Stack:
ai-dynamo[vllm](vllm 0.33.0,nats-server v2.10.24,etcd v3.5.17). Four colocateddynamo.vllmworkers (--enable-prefix-caching --gpu-memory-utilization 0.85 --max-model-len 8192) servingQwen/Qwen2.5-7B-Instruct(BF16). - Router modes compared on the exact same 4 workers:
round-robin(stateless, equivalent to Triton/L7 load balancing),least-loaded(load-aware, KV-blind), andkv(Dynamo KV-cache-aware radix router). - Cold-start hygiene: Each router mode was run with a distinct random prompt seed (
101,202,303) so no router inherited warm prefix caches from the previous run.
3. Clean Results (Fresh Seed Per Router Mode)
Qwen2.5-7B-Instruct BF16, vLLM 0.33.0, NVIDIA Dynamo). (A) With fresh prompt seeds per mode, Dynamo --router-mode kv adds 0% cold overhead while cutting P95 TTFT by −21.3% (3K shared prefixes) and −35.3% (4K shared prefixes). (B) On PCIe 4090s without NVLink, 4× colocated beats 2P+2D NIXL disaggregation by 1.67× on short prompts and 2.36× on 4K prompts.| Workload | Metric | round-robin |
least-loaded |
Dynamo kv |
kv vs rr |
|---|---|---|---|---|---|
cold_single64 unique 1K prompts, c=16 |
P50 / P95 TTFT Output tok/s |
239.4 / 321.8 ms 764.3 |
239.2 / 314.3 ms 767.4 |
239.2 / 312.8 ms 765.6 |
0.0% / −2.8% +0.2% |
shared_prefix_agent8× 3K prefixes × 16 turns, c=16 |
P95 TTFT P95 E2E |
742.3 ms 1,908.2 ms |
670.1 ms 1,886.1 ms |
584.2 ms 1,714.2 ms |
−21.3% −10.2% |
long_prefix_burst4× 4K prefixes × 32 turns, c=32 |
P95 TTFT Mean TTFT P95 E2E |
1,198.5 ms 280.3 ms 2,308.8 ms |
938.9 ms 284.7 ms 2,261.0 ms |
775.6 ms 213.4 ms 1,997.1 ms |
−35.3% −23.9% −13.5% |
4. 4× Colocated vs. 2P+2D Disaggregated (Short vs. Long Prompts)
We also compared 4× colocated workers against Dynamo disaggregated 2P+2D (2 prefill + 2 decode GPUs over NIXL) on the same 4× RTX 4090 host across both short (~256-token) and long (~4K-token) prompts:
| Workload | Metric | 4× Colocated (kv) |
2P+2D Disagg (NIXL) | Disagg vs. Coloc |
|---|---|---|---|---|
short25664 reqs, ~256 tok, c=16 |
P50 / P95 TTFT P50 / P95 TPOT Output tok/s |
84.0 / 113.2 ms 16.22 / 16.85 ms 918.5 |
748.7 / 1,254.6 ms 16.42 / 16.50 ms 551.5 |
8.9× / 11.1× slower ~flat −40.0% |
long4k48 reqs, ~4K tok, c=16 |
P50 / P95 TTFT P50 TPOT Output tok/s |
691.1 / 1,161.2 ms 23.05 ms 467.5 |
3,366.6 / 5,622.6 ms 17.15 ms 197.7 |
4.9× / 4.8× slower −25.6% smoother −57.7% |
Takeaway: On PCIe consumer GPUs without NVLink, 2P+2D disaggregation smooths decode TPOT (−25.6% on 4K prompts) but pays a 4.8×–11.1× TTFT and −40% to −58% throughput penalty. Aggregated (colocated) Dynamo with --router-mode kv is the clear winner on 4090/6000 clusters.
5. Methodology Note: The Warm-Cache Benchmark Trap
In an initial back-to-back pass that reused the same prompt seed (seed=42) across all three router modes on the same 4 workers, Dynamo kv appeared 10.0× faster on long_prefix_burst P95 TTFT (957.6 → 95.8 ms) and +24.2% higher throughput (1,408.7 → 1,749.9 tok/s) — because the earlier runs had already populated all 4 prefixes across the workers' KV caches.
Switching to unique seeds per router mode (101, 202, 303) eliminated that cross-run contamination and exposed the true cold-to-warm routing gain: −21.3% to −35.3% P95 TTFT with 0.0% cold-prompt overhead.