Metraipolis › archive › dc_2053db43f318
EfficientAgent: What Makes KV Cache Offloading Work for Concurrent Agents? — arXiv:2609.33762
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.33762
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T22:12:08.293Z
- SHA-256 of the archived text
975d0f796f5ce7dfeaa30b7f255282d8b2afbc5fc9766c1d42afed161227012f- Stable URL of this page
https://metraipolis.com/documento/dc_2053db43f318
How to cite
EfficientAgent: What Makes KV Cache Offloading Work for Concurrent Agents? — arXiv:2609.33762 — arXiv (en), https://arxiv.org/abs/2609.33762 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_2053db43f318 (Metraipolis archive dc_2053db43f318, sha256 975d0f796f5ce7dfeaa30b7f255282d8b2afbc5fc9766c1d42afed161227012f)
BibTeX
@misc{dc2053db43f318,
title = {EfficientAgent: What Makes KV Cache Offloading Work for Concurrent Agents? — arXiv:2609.33762},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.33762},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_2053db43f318; sha256 975d0f796f5ce7dfeaa30b7f255282d8b2afbc5fc9766c1d42afed161227012f},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.33762. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
LLM agents resend their whole conversation on every turn, and most of it was already processed on the previous turn. Serving systems avoid recomputing it by caching its key-value (KV) state and, when GPU memory runs out, by offloading that state to host memory. For agents, offloading gives inconsistent results: on the same coding-agent workload it speeds up one deployment, slows down another, and changes nothing on a third, even where loading a token back is several times cheaper than recomputing it. The reason is that cached state must survive until it is used again. While one agent waits for its tool, the server processes the contexts of all other agents, so an agent's prefix is reused only if the host tier holds the reusable context of the whole agent pool, which we call the reuse working set. A smaller tier keeps writing state that is evicted before anyone reads it. We present EfficientAgent, which sizes and manages the host tier by this working set. A stack-distance model estimates the working set from agent histories to size the host tier; its predictions, made before the experiments, located the capacity at which offloading starts to pay. When the tier is too small, a runtime policy stops writing large refills of evicted context and keeps extending prefixes that are still cached; when the tier is large enough, it writes everything. On SWE-bench Verified coding agents, a host tier sized to the estimated working set cuts recomputed prompt tokens by 93% and end-to-end time by 39%. With a small fixed tier, the policy cuts recomputation by 35%; with a large tier, it avoids the 4.3-fold increase caused by always filtering writes. Across three GPU types and two models, offloading pays off when the GPU has little compute per byte of host bandwidth and the host tier holds the working set. Code is available at this https URL . Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-29 in cs.DC). Categorie arXiv: Distributed, Parallel, and Cluster Computing (cs.DC) ; Machine Learning (cs.LG). Pagina del lavoro: https://arxiv.org/abs/2609.33762 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-07T21:53:13.686Z dalla pagina https://arxiv.org/catchup/cs.DC/2026-09-29?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).