The Storage View Of KV Cache: Characterizing Cache Behavior Across LLM Workloads
- ID: e1b85496
- 原文链接: https://arxiv.org/abs/2611.10178
- PDF: https://arxiv.org/pdf/2611.10178
- 作者: Talia Q. Chen, Daniel Waddington, Narangerelt Batsoyol, Vijay Chidambaram
- 日期: 2026-11-06
- 分类: infra
- 来源类型: paper
- 标签: kv-cache, storage, llm-serving, workload-characterization
- 质量评分: 4/5
- 抓取时间: 2026-11-15T15:43:33Z
中文导读
KV cache 正从 GPU 显存溢出到主机 DRAM、SSD 与远端存储,但这些存储层大多还在用 LRU、固定 TTL 这类不看负载的策略。作者在块粒度上刻画 KV 复用、生命周期与占用,覆盖聊天、API 服务、RAG、coding agent、多 lineage 工作流共 11 条 trace。KV 状态呈两种形态:单会话状态会话内复用、会话结束失效;多会话状态跨会话复现、活得更久。负载标识、会话标识、会话完成三个通用信号暴露了存储管理所需的大部分结构:负载级复用估计多保住最多 22% 会话内命中、少留最多 40% 死状态;会话感知分类识别共享状态的选择性比请求级计数高 4–700×。
为什么值得关注
给 KV 存储定一个不绑应用语义的跨层小接口(负载 ID+会话 ID+会话完成),这个设计对任何做 agent 会话存储的人都适用;11 条 trace 的形态划分可以直接拿来对照自家负载。
关键信息
- 论文标题:The Storage View Of KV Cache: Characterizing Cache Behavior Across LLM Workloads
- 作者:Talia Q. Chen, Daniel Waddington, Narangerelt Batsoyol, Vijay Chidambaram
- arXiv:https://arxiv.org/abs/2611.10178
- 发布时间:2026-11-06
- arXiv 分类:c, s, ., O, S
- 关联标签:kv-cache, storage, llm-serving, workload-characterization
English Abstract
Modern LLM serving increasingly extends KV caches beyond GPU memory into host DRAM, SSDs, and remote storage, yet these stores remain largely governed by workload-agnostic policies such as LRU and fixed TTLs. We ask what execution context is needed by storage to make retention, reclamation, and placement decisions across heterogeneous workloads. We characterize KV-cache reuse, lifetime, and footprint at block granularity across 11 production and public traces spanning chat, API serving, RAG, coding agents, tool-using agents, and multi-lineage workflows. We examine reuse sources, recurrence timing and frequency, useful lifetimes, and storage consumption. Across workloads, KV state takes two recurring forms. Single-session state is reused within one execution: its footprint grows as sessions deepen and accumulates across concurrent sessions; it can remain useful through long idle periods but loses value at session completion. Multi-session state recurs across sessions of the same workload, outlives individual sessions, and spans hot prefixes and a large infrequent tail. While prior systems often exploit application-, agent-, or workflow-specific knowledge, our results suggest that three generic signals (a workload identifier, a session identifier, and session completion) expose much of the structure needed for KV-storage management. Trace-driven comparisons show that workload-specific recurrence estimates retain up to 22% more within-session hits and reduce dead state by up to 40%; a session completion signal eliminates the fundamental idle-time reclamation tradeoff for single-session state; and session-aware reuse classification identifies shared state 4-700x more selectively than request-level access counts. These results motivate a small cross-layer interface for workload-aware KV storage without application-specific semantics.
English Summary
KV caches increasingly extend beyond GPU memory into host DRAM, SSDs, and remote storage, yet these stores remain governed by workload-agnostic policies like LRU and fixed TTLs. The authors characterize KV reuse, lifetime, and footprint at block granularity across 11 production and public traces spanning chat, API serving, RAG, coding agents, and multi-lineage workflows. KV state takes two forms: single-session state reused within one execution and worthless at completion; multi-session state recurring across sessions, across hot prefixes and an infrequent tail. Three generic signals - workload ID, session ID, session completion - expose most of the needed structure: workload-level recurrence estimates retain up to 22% more within-session hits and cut dead state by up to 40%; session-aware classification identifies shared state 4-700x more selectively than request-level counts.
Obsidian Notes
- 内容获取路径:
opencli arxiv paper 2611.10178 -f json拉取 arXiv 元数据与摘要生成。 - 中文导读与价值判断均锚定在已抓取的原文/摘要/元数据上;未补充来源之外的细节。
- 现代站点生成器按
content/<entry.id>.md查找内容页;本文件写入 canonical content 目录,而不是openclaw/content/。