Metraipolis › archive › dc_dc17b96cfe21

Tool Waiting and Re-arrival in Compile-Time-Static LLM Serving: Cost Mechanisms and Configuration Selection — arXiv:2609.34663

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.34663
License (as archived)
CC0-1.0
Archived
2026-10-07T22:13:22.736Z
SHA-256 of the archived text
eb50544f50eaa9b954e7e726390ee0d907c98444c9e7b6824f816bcf07174b4f
Stable URL of this page
https://metraipolis.com/documento/dc_dc17b96cfe21

How to cite

Tool Waiting and Re-arrival in Compile-Time-Static LLM Serving: Cost Mechanisms and Configuration Selection — arXiv:2609.34663 — arXiv (en), https://arxiv.org/abs/2609.34663 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_dc17b96cfe21 (Metraipolis archive dc_dc17b96cfe21, sha256 eb50544f50eaa9b954e7e726390ee0d907c98444c9e7b6824f816bcf07174b4f)
BibTeX
@misc{dcdc17b96cfe21,
  title = {Tool Waiting and Re-arrival in Compile-Time-Static LLM Serving: Cost Mechanisms and Configuration Selection — arXiv:2609.34663},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.34663},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_dc17b96cfe21; sha256 eb50544f50eaa9b954e7e726390ee0d907c98444c9e7b6824f816bcf07174b4f},
  year = {2026}
}

Archived text

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

In agentic LLM services, a session calls an external tool, waits for it, and re-arrives to continue inference. Statically compiled NPU serving can fix the batch bucket set, the maximum batch size, and the number of KV cache slots at compile time. We define such an environment as a compile-time-static serving substrate and analyze the execution-time cost that tool waiting and re-arrival incur in it. On a single LLM instance, we run synthetic workloads following a measured tool waiting time distribution and compare, on the same inputs, a baseline configuration with settings {1, 2, 4, 8}, 8, and 8 against configurations that change some of them. Because re-arrival times differ across configurations, we build a simulator that replays request processing in time order, select the candidate with the lowest predicted cost among 2,077 configurations, and validate it on new inputs. We identify three mechanisms: discrete batch alignment, KV cache survival, and prefill interference. At a concurrency of 6, absent from the bucket set, tool waiting lowered the padding ratio (0.235 to 0.120) yet increased decode execution time 1.51-fold, so padding alone did not indicate cost. On new inputs at a concurrency of 8, where the baseline reused KV in 9 of 24 re-arrivals, enlarging the maximum batch size alone cut execution cost by 8.25%, and the selected configuration, which also adjusted the bucket set, by 9.72%. Where 17 of 18 re-arrivals were already reused, the effect was 0.59%. Compile-time configurations should thus be selected by diagnosing KV reuse loss and the resulting change in execution.

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-29 in cs.PF).
Categorie arXiv: Performance (cs.PF).
Pagina del lavoro: https://arxiv.org/abs/2609.34663 — 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:54:46.045Z dalla pagina https://arxiv.org/catchup/cs.PF/2026-09-29?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).