Lachesis: Lifetime-Aware KV Cache Placement for Agent Serving across HBM and High-Bandwidth Flash
- ID: 30808851
- 原文链接: https://arxiv.org/abs/2610.08378
- PDF: https://arxiv.org/pdf/2610.08378
- 作者: Jaehoon Yang, Jeongmin Lee, Haneul Park, Seung Yul Lee, Nam Sung Kim, Jae W. Lee
- 日期: 2026-10-06
- 更新: 2026-10-06
- 分类: infra
- arXiv 分类: cs.AR, cs.DC
- 来源类型: paper
- 标签: kv-cache, agent-serving, flash-storage, hbm, memory-tiering
- 质量评分: 4/5
- 抓取时间: 2026-10-08T15:41:20Z
中文导读
Agent 工作负载的 KV 缓存跨请求累积,吃掉大量内存;高带宽闪存 HBF 容量高一个量级、读带宽接近 HBM,但写寿命有限。论文的关键观察是 KV 段寿命由 harness(编排 agent 的程序)决定,可沿时间/结构/worker 间三个轴区分长短;Lachesis 在 harness 与 serving 引擎之间加一层放置策略,写入时按预测寿命放进 HBM 或 HBF。trace 驱动仿真里 HBF 寿命比 HBM 优先放置延长 1.19-3.13 倍,多 agent trace 满负载也能撑过五年质保。
为什么值得关注
『KV 段寿命由 harness 决定』是存储分层和缓存策略共同的抓手,时间/结构/worker 间三轴是可复用的分析框架。
关键信息
- 论文标题:Lachesis: Lifetime-Aware KV Cache Placement for Agent Serving across HBM and High-Bandwidth Flash
- 作者:Jaehoon Yang, Jeongmin Lee, Haneul Park, Seung Yul Lee, Nam Sung Kim, Jae W. Lee
- arXiv:https://arxiv.org/abs/2610.08378
- 发布时间:2026-10-06
- arXiv 分类:cs.AR, cs.DC
- 关联标签:kv-cache, agent-serving, flash-storage, hbm, memory-tiering
English Abstract
Large language model (LLM) serving is increasingly dominated by agentic workloads, in which agents and their sub-agents accumulate context as KV cache across many requests, consuming substantial memory. High-bandwidth flash (HBF) is a promising solution, providing an order of magnitude greater capacity at HBM-class read bandwidth, but its finite write endurance is the key limiting factor. Our key insight is that KV cache should be placed across HBM and HBF by its lifetime. Placing shorter-lived data in HBM lets HBM absorb more of an agent run's writes and sends less of them to HBF. As the lifetime of KV cache in agentic serving is dictated by the harness, the program that orchestrates the agents, we analyze its behavior and identify three axes along which lifetime diverges, temporal, structural, and inter-worker. Guided by these observations, we present Lachesis, a lifetime-aware KV cache placement layer between the agent harness and the serving engine. At write time, it places each segment in HBM or HBF according to its lifetime, and frees its blocks once the segment is no longer read. In trace-driven simulation, Lachesis extends HBF lifetime by 1.19-3.13x over HBM-first placement, reaching 3.3-12.2 device-years. Even under continuous 24x7 operation at the full load a tight SLO admits, HBF outlasts its five-year warranty on the multi-agent trace.
English Summary
KV caches for agent workloads accumulate across requests and consume large memory; high-bandwidth flash (HBF) offers an order of magnitude more capacity with near-HBM read bandwidth but limited write endurance. Key observation: KV segment lifetime is decided by the harness and separable along temporal, structural, and inter-worker axes. Lachesis adds a placement layer between harness and serving engine that stores segments by predicted lifetime; trace-driven simulation extends HBF lifetime 1.19-3.13x over HBM-first placement, surviving the 5-year warranty under 24/7 multi-agent load.
Obsidian Notes
- 内容由
opencli arxiv paper 2610.08378 -f json拉取 arXiv 元数据与摘要生成(opencli-first 成功)。 - 中文导读与价值判断锚定在论文摘要、作者、日期与分类信息上;未补充摘要之外的实验细节。