R509 · Infrastructure for agents at scale › Inference providers and serving reliability

NVMe matched DRAM at the same pool size, and the 5x headline that does not follow

Read the original

kv-cacheprefix-cachingnvmeservingvllmamdbenchmarksclaim-checkingvendor-claims

Agentic serving spends most of its GPU time recomputing prefixes. In the AgentX benchmark, which replays 393 recorded Claude Code sessions from SemiAnalysis's InferenceX suite, the median turn carries 142K input tokens and over 96% of them are prefix the server has already seen. Keep that prefix and the prefill node processes only the delta; lose it and it pays for the whole prompt again. The AMD and Embedded LLM teams measured, across 42 runs of Moonshot's Kimi-K3 on vLLM, that raising the KV cache hit rate by one percentage point of prompt tokens was worth about 10% more throughput.

That makes retention the design variable, and retention is what DRAM is bad at. The write-up's cost line is a list-price comparison, not a capacity one: drives rated for Kimi-K3's 83 TB of daily KV writes hold a full day of KV for roughly $59,000, while a $76,000 DRAM pool holds 31 minutes. The question the runs answer is whether the cheaper medium costs throughput.

Same size, same throughput

The central comparison holds pool size fixed at 1.8 TB and swaps the medium. Serving Kimi-K3 as 1P1D across 16 MI355X GPUs (TP8 prefill, TP8 decode), replaying the AgentX traces for an hour per pool, back to back on the same machines with the same image:

70 concurrent sessionstok/s per GPUKV hit rateTTFT p50 / p90
1.8 TB DRAM pool13,38095.57%5.19 / 23.40 s
1.8 TB NVMe, 64 GB write buffer13,492 (+0.8%)95.65%4.89 / 21.26 s
1.8 TB NVMe, no write buffer13,847 (+3.5%)95.79%5.53 / 19.18 s

At 48, 70 and 96 sessions the NVMe pool stayed within 1% of DRAM, in two sets of runs on different machines. The mechanism is unglamorous: throughput follows the hit rate, and a pool of a given size holds the same sessions whichever medium backs it. The drives are two Micron 7450 PRO 3.84 TB units per node, ext4, no RAID, rated near one drive write per day; UMBP keeps KV in 256 MiB segment files and reads them with direct I/O through io_uring, so the page cache never serves a read. No NVMe-oF and no shared filesystem — a pool spanning two nodes moves blocks over RDMA itself. DRAM is left buffering about 80 GB, under 5% of the pool.

Dropping the write buffer entirely looks free at 70 sessions, and the buffer only served 0.6% to 1.6% of reads, but the repeat run at 96 sessions put the bufferless NVMe pool at 12,403 tok/s against DRAM's 13,296 — about 7% down. The write-up's own guidance matches: under heavier load, keep it.

The headline that does not follow

The larger number making the rounds is a different experiment. A 4.6 TB NVMe pool spread over both nodes' drives served 8,813 tok/s per GPU at 70 sessions, 5.1 times a 1.0 TB DRAM pool, holding a 93% hit rate against DRAM's 52%. Read as "5x the throughput, so 5x fewer GPUs", it is an argument for NVMe. The write-up says plainly that it is not: "The gap comes from capacity, not the medium." A 1.8 TB DRAM pool still held a 91% hit rate at 70 sessions, and a hybrid of 1.0 TB DRAM in front of 1.8 TB NVMe stayed within 3% of the 4.6 TB NVMe pool at every load they shared. The 5.1x measures an undersized pool against an adequate one. What NVMe buys is that the adequate pool is affordable, which is the retention argument again, not a throughput advantage.

What the runs do not cover

The limits section is unusually direct, and most of it narrows the result:

Why it matters

The useful claim is narrow and well supported: at equal pool size, local NVMe is not slower than host DRAM for an agentic KV cache, because the hit rate does the work and direct I/O keeps the read path short enough to hide in the queue. That turns KV retention from a DRAM budget into a drive-endurance budget, which is a different and cheaper curve — and it is the reason to look at NVMe, not the 5x number. Anyone sizing a pool should take the same-size table as the result and treat the capacity comparison as a warning about undersized DRAM.

Connections

See R509 on the knowledge map

Part of the Research notes on nowucca.com. Figures and claims are the source's own unless the summary says otherwise.