Abstract:In tool-interleaved large language model (LLM) serving, workflows alternate inference with external tool execution. Delays across dependent calls accumulate in end-to-end job completion time (JCT). Retaining key-value (KV) state during tool waits can avoid recomputing earlier context, but occupies GPU memory that other workflows need to proceed. Under contention, serving one request may therefore require reclaiming another workflow's retained state. The challenge is to balance current progress against future recomputation while tool-return times and subsequent calls remain unknown. We present Barter, a serving system that jointly decides which request to serve and which retained KV to reclaim. Using known context and observed workflow and tool histories, Barter compares the progress each choice enables with the cost of displacing state needed by other workflows. It can select a different request or continue current execution when reclamation is too costly. In trace-driven evaluations of sequential coding-agent workflows at five arrival rates, Barter reduces 90th-percentile (P90) JCT by 3.8-19.5% relative to Continuum in all tested conditions with medium, long, or variable tool waits. Mean-JCT effects depend on workload and arrival rate; both metrics improve at every rate in the variable-wait condition. Submission history Access Paper: View PDF HTML (experimental) TeX Source Additional Features Audio Summary Current browse context: References & Citations Google Scholar Semantic Scholar Bookmark Institution arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website. Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them. Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.
AI NEWS JOURNAL
arXiv cs.DCAI NEWS / JOURNAL
Barter: Trading KV Retention for Workflow Progress in Tool-Interleaved LLM Serving
arXiv:2611.36233v1 Announce Type: new Abstract: In tool-interleaved large language model (LLM) serving, workflows alternate inference with external tool execution. Delays across dependent calls accumulate in end-to-end job completion time (JCT). Retaining key-value (KV) state during tool waits can avoid recomputing earlier context, but occupies GPU memory that other workflows need to proceed. Under contention, serving one request may therefore require reclaiming another workflow's retained state. The challenge is to balance current progress against future recomputation while tool-return times and subsequent calls remain unknown. We present Barter, a serving system that jointly decides which request to serve and which retained KV to reclaim. Using known context and observed workflow and tool histories, Barter compares the progress each choice enables with the cost of displacing state needed by other workflows. It can select a different request or continue current execution when reclamation is too costly. In trace-driven evaluations of sequential coding-agent workflows at five arrival rates, Barter reduces 90th-percentile (P90) JCT by 3.8-19.5% relative to Continuum in all tested conditions with medium, long, or variable tool waits. Mean-JCT effects depend on workload and arrival rate; both metrics improve at every rate in the variable-wait condition.
翻译服务暂未运行,当前显示原文。