vLLM: NVMe-backed agent KV cache hits within 1% of same-size DRAM cache
shoumikgoswami · reddit · 2026-11-23
vLLM published an experiment targeting long coding sessions, where agents keep resending much of the same context and holding many sessions' KV data in DRAM gets expensive.
Key results:
- A 1.8TB cache on local NVMe drives delivered throughput within 1% of a same-size DRAM cache at three concurrency levels, reproduced on a second pair of machines;
- The accompanying chart shows the contrast: GPU memory alone (0.5TB KV space) had 6% hit rate with 94% recomputation and the run didn't finish; +1TB DRAM hit 52.2% with 12-minute median first token; +4.6TB NVMe reached 92.7% hit rate, 8,813 tok/s per GPU, 91-second median first token, and 5.1x the DRAM pool's KV space;
- The trick: slower storage reads complete while requests wait in queue;
- Caveat: the storage pool supplied at most 16% of prompt tokens in these runs; heavier-read workloads weren't tested, so SSDs aren't a general RAM replacement.
Source: vllm.ai blog "Skip the DRAM tier".
More from coding & agent
- After TV Time Shut Down, He Rebuilt 10,000+ Media Notes in Obsidian — dSebastien · 2026-11-23
- Prompt Codex with NASA's free MERRA-2 dataset to build 3D earth-data apps — anselm · 2026-11-23
- Agent failures are a map of your organization's undocumented knowledge — _AustinCalvert_ · 2026-11-23
- Muse Code and Grok Build Both Ship With Original Harnesses — PawelHuryn · 2026-11-23
- Self-host your agent traces: setup_tracing lands OTel spans in your own Postgres — pritisinghhhh · 2026-11-23
- Building Linear inside Linear: a team of agents clones your own daily software — hargup13 · 2026-11-23