跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2610.08378 · v2

Lachesis: Lifetime-Aware KV Cache Placement for Agent Serving across HBM and High-Bandwidth Flash

首次提交 2026-10-06 22:02
版本更新 2026-11-24 18:16
雷达观测 2026-11-25 11:18
arXiv ↗PDF ↗

摘要

In agent serving, agents and their sub-agents accumulate context as KV cache across many requests, far beyond HBM capacity. High-bandwidth flash (HBF) adds greater capacity at HBM-class read bandwidth, allowing a server to grow its batch and throughput under a relaxed SLO. We show that this gain meets an endurance wall as the batch growth wears HBF out within its warranty period. Prior work analyzes which KV should reach HBF assuming a request's KV remains readable until completion. However, an agent run is stateful, and by design, its harness discards parts of the context throughout the run. We find that the context divides into groups of KV that the harness discards together, so each group shares one lifetime that is known before the group is written. These lifetimes differ on three axes: reasoning stripped when the next user message ends a turn, a sub-agent's context discarded when it returns, and how long each sub-agent runs, which can be ranked when it starts. Guided by this characterization, we present Lachesis, a lifetime-aware KV cache placement layer that chooses HBM or HBF for each group when the group is written. In simulation of an eight-GPU B200 server on multi-agent traces, HBF with Lachesis serves 7.61-9.16×\times the throughput of the better of an HBM-only server and a DGX server with host DDR5. On the same traces, Lachesis extends HBF lifetime by 1.14-4.17×\times over HBM-first placement, which fills HBM before HBF. Since Lachesis keeps short-lived KV in HBM, a server running it can use more HBM stacks per GPU within the warranty. Our design-space exploration finds that Lachesis at 3/5 HBM/HBF stacks per GPU serves the highest throughput among the configurations that attach HBF directly to the GPU and outlast the warranty.

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

本站首次收录为 v2,暂无更早版本可对照。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v2 · 2026-11-24 18:16 · 最新观测版本

Lachesis: Lifetime-Aware KV Cache Placement for Agent Serving across HBM and High-Bandwidth Flash

In agent serving, agents and their sub-agents accumulate context as KV cache across many requests, far beyond HBM capacity. High-bandwidth flash (HBF) adds greater capacity at HBM-class read bandwidth, allowing a server to grow its batch and throughput under a relaxed SLO. We show that this gain meets an endurance wall as the batch growth wears HBF out within its warranty period. Prior work analyzes which KV should reach HBF assuming a request's KV remains readable until completion. However, an agent run is stateful, and by design, its harness discards parts of the context throughout the run. We find that the context divides into groups of KV that the harness discards together, so each group shares one lifetime that is known before the group is written. These lifetimes differ on three axes: reasoning stripped when the next user message ends a turn, a sub-agent's context discarded when it returns, and how long each sub-agent runs, which can be ranked when it starts. Guided by this characterization, we present Lachesis, a lifetime-aware KV cache placement layer that chooses HBM or HBF for each group when the group is written. In simulation of an eight-GPU B200 server on multi-agent traces, HBF with Lachesis serves 7.61-9.16×\times the throughput of the better of an HBM-only server and a DGX server with host DDR5. On the same traces, Lachesis extends HBF lifetime by 1.14-4.17×\times over HBM-first placement, which fills HBM before HBF. Since Lachesis keeps short-lived KV in HBM, a server running it can use more HBM stacks per GPU within the warranty. Our design-space exploration finds that Lachesis at 3/5 HBM/HBF stacks per GPU serves the highest throughput among the configurations that attach HBF directly to the GPU and outlast the warranty.

查看此版本解读 →查看此版本原文 ↗