Search papers, labs, and topics across Lattice.
This paper introduces HyMCache, a KV-cache framework designed for multi-turn LLM serving that leverages CXL-hybrid memory to optimize the reuse of previously processed context. By integrating a small amount of in-device DRAM with large SSD-backed capacity, HyMCache addresses the memory bottleneck associated with TB-scale shared context capacity while maintaining efficiency. The evaluation shows that HyMCache achieves a 3.0x performance improvement over local LMCache in single-node serving and significantly reduces DRAM usage compared to traditional distributed-DRAM solutions.
HyMCache achieves TB-scale KV-cache efficiency at SSD-level costs, outperforming existing solutions while drastically reducing DRAM requirements.
Long-context, multi-turn, and agentic LLM workloads increasingly reuse previously processed context, making KV-cache reuse essential for reducing redundant computation. However, this reuse shifts the bottleneck to the memory tier that stores and serves reusable KV states at cluster scale. GPU HBM and host DRAM are too costly to scale to TB-scale shared context capacity, motivating remote tiers built from lower-cost, higher-capacity media. This paper presents HyMCache, a KV-cache framework that integrates CXL-hybrid memory (CXL-HM) for multi-turn LLM serving. CXL-HM combines a small amount of in-device DRAM with large SSD-backed capacity behind a CXL interface. By exploiting the read-dominant, predictable, and append-only nature of multi-turn KV-cache access, HyMCache rethinks DRAM management within CXL-HM to efficiently support TB-scale SSD-backed KV reuse. It uses request-level prefix prefetching and opportunistic write buffering to stage latency-critical reads in device DRAM, enabling DRAM-scale KV-cache efficiency at SSD-level cost. We evaluate HyMCache on a real CXL-HM prototype under both single-aggregator and PD-disaggregated serving configurations. Under the same DRAM budget, HyMCache outperforms local LMCache by 3.0x in single-node serving and 1.45x in PD-disaggregated serving. Compared with 1 TB distributed-DRAM Mooncake, HyMCache incurs about 30% lower performance but uses 16x less DRAM.