What's Happening?
vLLM, a high-throughput inference engine for large language models (LLMs), has successfully demonstrated that using NVMe (Non-Volatile Memory Express) for its Key-Value (KV) cache pool can match the performance of DRAM (Dynamic Random-Access Memory).
In tests conducted with AMD Instinct™ MI355X GPUs using UMBP (unified memory and bandwidth pool), an open-source library from AMD's MoRI, a 1.8 TB NVMe KV pool achieved throughput within 1% of a similarly sized DRAM pool. This was observed across various concurrent session loads (48, 70, and 96 sessions) when running the Kimi-K3 model on vLLM. The NVMe pool operates with minimal DRAM buffering, using only about 80 GB for writes and reads, compared to the 1.8 TB of the DRAM pool. This development addresses the challenge of rapidly growing KV cache sizes in agentic LLM workloads, where sessions can remain open for extended periods, quickly exhausting GPU memory and host DRAM.
Why It's Important?
This breakthrough is significant for the operational economics and scalability of large language model deployments. Traditional DRAM solutions for KV caching are expensive, with a 1.8 TB DRAM pool costing approximately $76,000 and holding only minutes of KV data due to high write rates. In contrast, NVMe drives, while having a higher cost per TB written, offer significantly better cost-per-TB-held, allowing for much longer data retention at a lower overall cost. For instance, NVMe drives capable of handling Kimi-K3's daily write volume (83 TB) can hold a full day of KV data for about $59,000, compared to a DRAM pool of similar cost holding only 31 minutes. This shift enables AI clusters to maintain larger KV caches, improving 'KV cache hit rates' and reducing the need for recomputing prefixes, which directly translates to higher throughput and lower latency in LLM inference. This is particularly crucial for agentic workloads that involve multi-turn sessions with long prefixes.
What's Next?
The findings suggest a potential shift in how AI clusters are designed and scaled, with NVMe becoming a viable and cost-effective alternative to DRAM for LLM KV caching. Operators of large GPU clusters, such as Oracle Cloud Infrastructure, are already recognizing the implications of these results for sizing KV cache capacity. Future developments will likely focus on optimizing NVMe-based KV pools further, including spreading writes across more SSDs with distributed versions of the pool to mitigate drive wear. Additionally, ongoing work involves upstreaming the changes and optimizations implemented in vLLM and MoRI to make these capabilities more widely available. The research also highlights the need to continue exploring techniques like layer-wise loading and bounded replay to further enhance efficiency and reduce write amplification for specific model architectures.
Beyond the Headlines
The ability to leverage NVMe for high-performance KV caching has broader implications beyond immediate cost savings. It democratizes access to more powerful LLM inference capabilities by reducing the prohibitive hardware costs associated with large-scale deployments. This could accelerate the development and adoption of more complex agentic AI systems that require extensive memory for conversational context. Furthermore, the research underscores the importance of software-hardware co-design, as optimizations in vLLM's asynchronous KV loading and UMBP's efficient management of NVMe storage are critical to achieving DRAM-like performance. This trend suggests a future where specialized software and hardware integrations will be key to unlocking the full potential of AI models, pushing the boundaries of what's possible in real-time AI applications.













