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
Key points
From the paper's conclusion- Guided by these observations, we present Lachesis, a lifetime-aware KV cache placement layer between the agent harness and the serving engine.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Characterizing High Bandwidth Flash for LLM ServingarXiv · 2026
- Gandalf: Flash Shall Not Die! Increasing Flash Storage Lifetime for KV Cache Offloading in LLM ServingarXiv · 2026
- The Storage View Of KV Cache: Characterizing Cache Behavior Across LLM WorkloadsarXiv · 2026
- LaFlash: Capacity-Driven Acceleration for Coding Agent Workflows via QLC-HBFarXiv · 2026
- HBF Sucks! A Full-Stack Characterization of High-Bandwidth Flash for KV-Centric LLM ServingarXiv · 2026
- SARIA: Persistence-Aware KV Caching with Coordinated DRAM--SSD Reload for LLM AgentsarXiv · 2026