When the KV Cache Is Slower Than the GPU: Scaling Remote KV Tiers for Context-Parallel Prefill
On the map: Efficient LLM inference and serving → Serving systems and request scheduling also fits: KV cache optimization
Abstract (arXiv)
Reusing the attention KV cache across requests is a standard way to cut prefill cost in long-context LLM serving, and production systems increasingly back the per-engine cache with a remote tier shared by every engine. We study such a tier in a disaggregated deployment of GLM-5.3, an FP8 mixture-of-experts model with multi-head latent attention (MLA), on 8xB300 nodes running prefill context parallelism (PCP8). Enabling the remote tier (LMCache with a Valkey store) left median time-to-first-token unchanged but raised the 16k-token p99 from 3.96 s to 17.3 s. Replaying a production request stream on an isolated engine, we find that a remote hit took 0.88 s against 0.31 s to recompute the prompt, and that synchronous loading turned a hit-heavy stream into an unstable queue: p99 83.32 s with the GPUs 7% busy. A two-term cost model explains both: a hit pays off only if the tier delivers more than B* = sR (2.53 GB/s for this model and GPU), and a fixed per-hit engine cost (T0 ~ 0.33 s) means that hits on prompts shorter than about 17k tokens cannot beat recompute at any bandwidth. Guided by the model, we (i) shard the MLA KV store across PCP ranks, with a proof that the existing minimum-over-ranks lookup returns the longest cached prefix and a load protocol that can never desynchronize collectives; (ii) partition the remote tier by rank, one server instance per rank with no coordination, which raises GET bandwidth 6.3x to 10.76 GB/s; (iii) add asynchronous loading to the sharded store; and (iv) fix three client bugs that caused unbounded stalls. On the hit-heavy stream, with 98.5% of prompt tokens served from the remote tier, p99 falls from 83.32 s to 0.67 s. The sharded store raises prefill throughput by 14%, and by 34% together with an upstream kernel fix. All changes are submitted upstream to LMCache.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Serving systems and request scheduling, one of 12 directions in Efficient LLM inference and serving. Builds on 14 of its 25 references that are in the map. Submitted 15 Oct 2026.
Builds on
14 of 25 references.
Closest ancestors · 2
Same direction, newest first
- 2024MemServe: Context Caching for Disaggregated LLM Serving with Elastic Memory Pool25 Jun
- 2024DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving18 Jan
Other references · 12
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
- 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,372
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,241
- 2023Splitwise: Efficient generative LLM inference using phase splittingcited by 609
- 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 511
- 2023DeepSpeed Ulysses: System Optimizations for Enabling Training of Extreme Long Sequence Transformer Modelscited by 275
- 2023CacheGen: KV Cache Compression and Streaming for Fast Large Language Model Servingcited by 223
- 2024Cost-Efficient Large Language Model Serving for Multi-turn Conversations with CachedAttentioncited by 184
- 2025LMCache: An Efficient KV Cache Layer for Enterprise-Scale LLM Inferencecited by 152
- 2024D'ej`aVu: KV-cache Streaming for Fast, Fault-tolerant Generative LLM Servingcited by 51
- 2024Fast State Restoration in LLM Serving with HCachecited by 38
- 2024Context Parallelism for Scalable Million-Token Inferencecited by 32
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026CacheFlow: Efficient LLM Serving with 3D-Parallel KV Cache Restoration
- 2026Causal Attention on CPU: A Cache-Aware and Load-Balanced Scheduling Kernel for Prefill
- 2026RedKnot: Efficient Long-Context LLM Serving with Head-Aware KV Reuse and SegPagedAttention
- 2025Strata: Hierarchical Context Caching for Long Context Language Model Serving
- 2026Where Should the KV Cache Live? Placement Policies Across GPU, CPU, and SSD for Long-Lived Sessions
- 2026More GPUs or a Smaller Cache? Tensor Parallelism versus KV Compression for Memory-Bound LLM Serving
- 2026TempoKV: Timely Staging of LLM KV Caches for Memory-Semantic Flash
- 2026Building py-kvcache: A Performance Characterization of External KV Caching for vLLM with NVMe SSDs