跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2611.36233 · v1

Barter: Trading KV Retention for Workflow Progress in Tool-Interleaved LLM Serving

首次提交 2026-11-26 23:23
版本更新 2026-11-26 23:23
雷达观测 2026-11-30 12:31
arXiv ↗PDF ↗

摘要

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.

作者备注:11 pages, 7 figures, 2 tables

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

目前只收录了一个版本。收录下一版后,可以对照标题、作者、分类和摘要。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v1 · 2026-11-26 23:23 · 最新观测版本

Barter: Trading KV Retention for Workflow Progress in Tool-Interleaved LLM Serving

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.

查看此版本解读 →查看此版本原文 ↗