Metraipolis › archive › dc_dee85c52e9c0

Understanding KV Residency in Production-Scale Agentic LLM Workloads — arXiv:2610.22863

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.22863
License (as archived)
CC0-1.0
Archived
2026-10-19T08:44:12.603Z
SHA-256 of the archived text
94860324206194b1b72f0d31429c06b3cd8ad609dcc14c7a2f2203fcf1a32f86
Stable URL of this page
https://metraipolis.com/documento/dc_dee85c52e9c0

How to cite

Understanding KV Residency in Production-Scale Agentic LLM Workloads — arXiv:2610.22863 — arXiv (en), https://arxiv.org/abs/2610.22863 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_dee85c52e9c0 (Metraipolis archive dc_dee85c52e9c0, sha256 94860324206194b1b72f0d31429c06b3cd8ad609dcc14c7a2f2203fcf1a32f86)
BibTeX
@misc{dcdee85c52e9c0,
  title = {Understanding KV Residency in Production-Scale Agentic LLM Workloads — arXiv:2610.22863},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.22863},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_dee85c52e9c0; sha256 94860324206194b1b72f0d31429c06b3cd8ad609dcc14c7a2f2203fcf1a32f86},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.22863. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Agentic large language model (LLM) applications turn one user request into a sequence of model and tool calls over a growing context. Retaining this context's key-value (KV) state in GPU memory lets later calls reuse it instead of recomputing it, but at fleet scale this needs substantial memory. We characterize four production Microsoft M365 workload traces (Deep Research, Enterprise Assistant, Coding Agent and Enterprise Chat) spanning more than 121 million model calls. In Deep Research, the application issues 89% of model calls and the median context grows from about 10K to 68K tokens by the 30th call. About 80% of context tokens are served from the prefix cache. With the public Llama-2-70B KV layout standing in for confidential models, one 99th-percentile Deep Research session exceeds the 80 GB HBM of an NVIDIA H100, and holding all live sessions at their peak needs an estimated 501.8 TB of HBM, although inference occupies only 5.6% of that retention time. Trace-driven replay shows that a one-hour idle cap cuts this ceiling by 3.6x while raising the share of calls that recompute context only from 4.07% to 4.53%. Under tighter budgets, eviction alone is insufficient: at one tenth of the busiest hour's demand, LRU eviction makes 63% of Deep Research calls recompute and clairvoyant furthest-next-use 31%, whereas multi-resolution retention (MRR), which demotes the LRU session's KV state to int4, lowers this to 13.6%. Placement imposes a separate limit: when the next call reaches a different deployment, cached-context reuse drops from 89% to 29%, and treating KV state as deployment-local raises the recompute floor under unlimited memory from 5.4% to 20.2%. These findings motivate retention that changes the representation of KV state, together with deployment-aware routing or migration. We plan to release AgenticTraceSim, a parametric trace generator, and a residency replay framework.

Tema degli esploratori: calcolo e infrastrutture (elenco arXiv cs.DC, nuovi lavori del giorno).
Categorie arXiv: Distributed, Parallel, and Cluster Computing (cs.DC).
Pagina del lavoro: https://arxiv.org/abs/2610.22863 — 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-19T08:39:39.744Z dalla pagina https://arxiv.org/list/cs.DC/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).