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.
翻译:暂无翻译