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)

−35.3%P95 TTFT on 4K-prefix bursts (1,198.5 → 775.6 ms, fresh seeds)
−21.3%P95 TTFT on 3K-prefix agent turns (742.3 → 584.2 ms)
0.0%Cold-prompt router overhead (239.2 vs. 239.4 ms P50 TTFT)
0 / 960Errors across all 3 router modes × 3 workloads

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

3. Clean Results (Fresh Seed Per Router Mode)

A. Router P95 TTFT (ms, lower is better · fresh seeds) round-robin least-loaded Dynamo kv 0 400 800 1200 322 314 313 cold_single (0% overhead) 742 670 584 shared_prefix (−21.3%) 1199 939 776 long_prefix (−35.3%) B. Colocated vs. 2P+2D Throughput (tok/s, higher is better) 4× Colocated (kv) 2P+2D Disagg (NIXL) 0 500 1000 918.5 551.5 short256 (1.67× coloc) 467.5 197.7 long4k (2.36× coloc)
Figure D1. 4× RTX 4090 (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_single
64 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_agent
8× 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_burst
4× 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
short256
64 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%
long4k
48 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.