arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.16867cs.DC
收藏

GoodServe: 向异构资源上实现高吞吐量的代理LLM推理服务

GoodServe: Globally-coordinated Routing of Agentic LLM Inferences for High Goodput

Shanghai Jiao Tong University(上海交通大学);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Shenzhen MSU-BIT University(深圳北理莫斯科大学)

Boxiao Du, Boning Huangfu, Yizhou Luo, Chen Chen, Zijun Li, Minchen Yu, Xiaoyi Fan, Minyi Guo

AI总结:

本文提出GoodServe系统,通过预测和修正的方法优化异构资源上的代理LLM推理服务,提高吞吐量。

摘要:

大型语言模型(LLMs)在新兴的代理应用中发挥关键作用,每个完整推理的及时完成至关重要。同时,代理LLM推理越来越多地在操作员的异构GPU资源池上进行服务。因此,将进入的推理请求路由到合适的GPU至关重要,以便在可能的情况下满足端到端延迟要求,从而实现高吞吐量。在本文中,我们提出了GoodServe,一个针对异构资源上的代理推理进行优化的服务系统。GoodServe通过预测和修正的方式进行推理路由。它以准确且实用的方式估计请求输出长度以及GPU服务状态。基于需求和资源双方的信息,它使用“足够实例选择”启发式方法进行高质量的路由决策。它还定期监控活跃请求的SLO违规风险,并触发运行时请求迁移以应对意外动态。我们的评估显示,GoodServe在现有路由方法上将吞吐量提高了高达27.4%。

英文摘要:

Agentic applications consume LLM inferences as complete outputs: a code patch or database query is useful only after its last token arrives. Their performance is thus measured by end-to-end deadline satisfaction and goodput, the number of inferences completed within their deadlines. In heterogeneous GPU pools, existing greedy routers favor the fastest or least-loaded instance, often wasting powerful GPUs on requests that could meet their deadlines on weaker ones. Maximizing goodput instead requires globally coordinated routing, informed by uncertain output lengths and dynamic instance performance. We present GoodServe, a goodput-oriented routing system that addresses these challenges through a predict-and-rectify design. A task-gated mixture-of-experts predictor estimates request output lengths, while an EMA-smoothed black-box estimator tracks queuing delays and per-token speeds, accounting for prefix-cache reuse. A just-enough policy routes each request to the weakest instance capable of meeting its deadline and rejects requests that cannot finish on time. Periodic risk checks trigger migration of endangered requests using token IDs, at 7-15 times lower cost than KV-cache transfer. On a four-GPU heterogeneous testbed with three agentic benchmarks, GoodServe achieves the highest goodput across all evaluated SLO levels, improving over the best existing router by up to 31.0%. Its routing overhead remains 5 ms per request at 10,000 requests per second across 512 simulated instances.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑