Strata: Hierarchical Context Caching for Long Context Language Model Serving
Zhiqiang Xie, Ziyi Xu, Mark Zhao, Yuwei An, Vikram Sharma Mailthody, Scott Mahlke, Michael Garland, Christos Kozyrakis

TL;DR
Strata is a hierarchical caching framework that significantly improves the efficiency of serving long-context large language models by optimizing cache management, I/O, and scheduling, leading to substantial speedups in token generation.
Contribution
The paper introduces Strata, a novel hierarchical context caching system with GPU-assisted I/O and cache-aware scheduling for long-context LLM serving, deployed in production.
Findings
Achieves up to 5x lower Time-To-First-Token compared to vLLM + LMCache.
Provides 3.75x speedup over NVIDIA TensorRT-LLM on long-context benchmarks.
Maintains short-context performance while optimizing long-context serving.
Abstract
Large Language Models (LLMs) with expanding context windows face significant performance hurdles. While caching key-value (KV) states is critical for avoiding redundant computation, the storage footprint of long-context caches quickly exceeds GPU memory capacity, forcing production systems to adopt hierarchical caching across memory hierarchies. However, transferring large cached contexts back to the GPU introduces severe performance bottlenecks: fragmented I/O from paged layouts prevents full bandwidth utilization, and existing schedulers fail to account for cache-loading delays, leaving systems loading-bound rather than compute-bound. We present Strata, a hierarchical context caching framework designed for efficient long context LLM serving. Strata introduces GPU-assisted I/O to combat KV cache fragmentation, decoupling GPU and CPU memory layouts and employs cache-aware request…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
