KVStream: Adaptive Parallel Storage Management for KV Caching in Large-Scale LLM Serving
Avinash Maurya, Jaiaid Mobin, Jie Ye, M. Mustafa Rafique, Franck Cappello, Bogdan Nicolae
Abstract
Long-context LLM serving for agentic, coding, and document workloads reuses prefixes whose key-value (KV) cache outgrows GPU and host memory, putting storage I/O on the critical path of the inference step for retrieving prefixes. A single node-local NVMe absorbs all retrievals, while the parallel file system or cloud file store that nodes already mount carries almost no inference traffic. We cast prefix retrieval as aggregate-bandwidth scheduling across these tiers and present KVStream, a KV cache engine that batches a step's reads, defers writes behind the forward pass, replicates each chunk on every tier, and lets each tier adaptively claim the next unread chunks once it is free. Our performance model shows this routing attains the aggregate-bandwidth bound without prediction or tuning, whereas any static split misses it by a margin that grows as per-tier bandwidths drift or fluctuate. It also predicts that the time-to-first-token (TTFT) gain grows with load, as faster retrieval drains the queue, and disappears when host memory or arrival order keeps reuse in cache. Plugged into LMCache and evaluated on four models, six datasets, and up to 128 GPUs, KVStream retrieves within 5% of the bound, delivers up to 1.49× higher offline throughput than LMCache, and lowers mean TTFT by up to 6.1× under bursty arrivals.
Create a lesson
Related papers
FenixWalk: Adaptive Sampling for Large-Scale Dynamic Graphs on Heterogeneous Architectures
Shared title terminology · Pinhuan Wang, Jianian Fu, Jie Zhang et al.
TideCache: Efficient Hybrid LLM Serving with Transparent Cache Management and Layer-Wise Streaming
Shared title terminology · Jinbin Luo, Xiaozhe Yao, Shang Yang et al.
Evolving Infra: Agent-Adaptive LLM Serving at Scale
Shared title terminology · Hao Kang, Weili Xu, Ziyang Li et al.
Autotuning GPU Thread Block Sizes for Large-Scale Stencil Applications Using the OPS DSL
Shared title terminology · Kevin Antonio Nava Garcia, Istvan Zoltan Reguly
HiState: Hierarchical Prefix Cache Management for Hybrid LLM Serving in Agentic Workloads
Shared title terminology · Zaifeng Pan, Lucas Wang, Xinwei Qiang et al.
A Flat KV Cache Storage Architecture for LLM Serving
Shared title terminology · Xin Huang, Teng Ma, Zhuoran Li et al.