All news
VIBPS / NEWS • AI INFRASTRUCTURE

Can NVMe replace DRAM for long-running AI agent KV caches?

vLLM reports that a 1.8 TB NVMe cache pool stayed within 1% of a same-size DRAM pool on selected Kimi-K3 workloads. The results depend on write buffering, cache hit rates and SSD wear, and do not yet establish a general production recipe.

Long-running coding agents can send the same large prompt prefix over many turns. An inference server may reuse its key-value (KV) cache for that prefix instead of running the model over it again, but the cache needs somewhere to live after it falls out of GPU memory. vLLM's November 23 report tests a different second tier: put most of the cache on local NVMe drives, with a small amount of host DRAM for buffering and reads. In its specified Kimi-K3 tests, a 1.8 TB NVMe pool delivered throughput within 1% of a same-size DRAM pool. The result is a workload-specific benchmark, not evidence that SSD can replace DRAM in every serving stack.

What does a KV cache pool do?

When an agent returns with a prompt that shares earlier text, a matching KV cache lets the server skip some prefill computation. The GPU's own prefix cache is fastest but limited. A larger pool on host DRAM or storage can retain more session state; if the prefix is no longer available, the server has to recompute it. The useful measure is therefore not drive speed alone. It is how often a later request finds the right cache blocks, and whether fetching those blocks finishes before the request reaches the prefill engine.

The vLLM team tested UMBP, a cache pool in AMD's open-source MoRI library, with vLLM's UMBPStoreConnector. Its NVMe design keeps cache blocks on local SSDs. A 64 GB DRAM write buffer absorbs new blocks before they are written to disk, while a 16 GiB staging buffer receives SSD reads for transfer to the GPU. That is still some DRAM, but it is a small buffer-and-staging layer rather than a full 1.8 TB host-memory cache. The test used two local Micron 7450 PRO drives per node, direct I/O and no RAID; it was not NVMe-over-Fabrics or a shared network filesystem.

What did the NVMe-versus-DRAM tests find?

On 16 AMD Instinct MI355X GPUs running Kimi-K3, vLLM replayed SemiAnalysis's AgentX coding-agent traces at 48, 70 and 96 concurrent sessions. With both pools at 1.8 TB and a write buffer in the NVMe setup, reported throughput differed by +0.3%, +0.8% and −0.2%, respectively. A repeat on another pair of machines also stayed within 1%. The cache-hit rates were close because both pools had the same capacity and eviction behavior. At 70 sessions, vLLM also reported NVMe 0.6% behind DRAM on a separate, longer-prompt replay corpus, though that comparison was a single run.

Those figures need their setup attached. In the main AgentX comparison, the pool served at most 16% of prompt tokens; GPU memory still served most cache hits, and vLLM says asynchronous loading let SSD reads overlap with the queue waiting for prefill. This is not a demonstration that NVMe matches DRAM when nearly every request must read from the pool or when the engine is idle. In an unqueued 128K-prefix test cited from MoRI, an NVMe hit added about 0.4 seconds compared with DRAM, while recomputing the prefix took several seconds longer.

The tradeoff is retention versus writes

A bigger pool can keep session prefixes around longer. vLLM estimates that its 1.8 TB pool held roughly 23 to 47 minutes of Kimi-K3 cache at the tested write rates. In one 96-session run, the two drives received around 3.5 TB of writes per hour, or 83 TB per day. The report estimates those two drives would use their rated write endurance in about five and a half months at that rate. Its proposed answer is to spread writes across more SSDs in a distributed pool; that roadmap is not a deployed result in this benchmark.

The cost comparison is also the authors' arithmetic, not an observed bill. Using listed hardware prices and stated drive endurance, vLLM estimates about $59,000 for an NVMe pool sized for the tested write volume, compared with about $76,000 for 1.8 TB of DRAM. The calculation assumes five years of continuous operation and excludes power, rack space and drive-hosting servers. A smaller retention window can favor DRAM; a longer one increases the SSD capacity and write budget needed. Operators should substitute their own purchase prices, write rates, session pause patterns and replacement assumptions before treating those numbers as a total-cost estimate.

What should an inference operator measure?

Start with the workload rather than a headline throughput number. Measure the share of prompt tokens served from GPU cache and the external pool, pool write bytes per hour, the gap between turns, eviction and cache-hit rates, and time-to-first-token under both queued and lightly loaded conditions. Then compare equal-capacity pools with the same cache policy, record the SSD model and rated endurance, and test how write buffering changes results at peak load. A pool that rarely serves reads may be a good retention tier; a read-heavy workload or long unqueued requests can expose the storage latency directly.

The vLLM report lists important limits: the results used MI355X systems and UMBP; most comparisons were single runs; the largest tested NVMe pool was 4.6 TB across two nodes; and some configuration or optimization changes were still moving upstream. The authors also warn that models with more KV data per token need more bandwidth. This makes the work a useful design and measurement guide for agent-serving teams, but not a drop-in recommendation for another model, accelerator, connector or production workload.

For model deployment context, see VIBPS's separate guide to Kimi K3.1 Pro weights and hosting routes. That article covers how makers can obtain or serve the model; this report focuses on the cache tier and storage economics behind one serving setup. VIBPS is a social network for software, and neither article represents a VIBPS benchmark or endorsement of a model vendor's performance claims.

Kimi K3.1 Pro weights, hosting routes and deployment considerations

How to test an AI-built app before inviting users

VIBPS is the social network for software

More software stories, with sources and context.

More news