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

GORGO:面向跨区域网络感知的LLM服务的在线调优

GORGO: Online Tuning for Cross-Region Network-Aware LLM Serving

Modal Labs(Modal实验室);ART(ARC Research)

Alessio Ricci Toniolo, Rome Thorstenson, Abinaya Dinesh

AI总结:

提出GORGO代理架构,通过可调参数综合考量网络延迟、预填充成本和排队延迟,并发布长上下文数据集ART-Chat-2.5M,利用进化策略优化p95 TTFT,在保留测试中p95 TTFT提升6.9-15.5%,端到端延迟提升14.3-30.9%。

摘要:

越来越多的LLM推理服务将客户端请求代理到分布全球的引擎副本。负载均衡策略在优化延迟和TTFT等指标时,必须共同考虑KV缓存局部性、副本负载和可变网络延迟等因素。然而,现有系统在其成本模型中仅评估这些因素的一个子集,导致副本间的负载和KV缓存分布不均。我们提出GORGO,一种代理架构,通过可调参数整体考虑网络延迟、预填充成本和排队延迟。由于开源聊天数据集(如LMSYS-Chat1M和WildChat-4.8M)缺乏长上下文、高前缀重用的数据,我们从长上下文生产元数据中发布了一个合成数据集ART-Chat-2.5M。在ART-Chat-2.5M的调优窗口上,进化策略引导GORGO策略的参数直接优化p95 TTFT。在保留的评估窗口上,我们固定从调优中学到的参数值,与基线负载均衡策略(如简单会话亲和性和前缀缓存)相比,p95 TTFT提升6.9-15.5%,p95端到端(E2E)延迟提升14.3-30.9%。代码和ART-Chat-2.5M数据集可在此https URL找到。

英文摘要:

Increasingly, LLM inference services proxy client requests to engine replicas distributed globally. Load-balancing policies must jointly account for factors including KV-cache locality, replica load, and variable network latency when optimizing for metrics like latency and TTFT. However, existing systems only evaluate a subset of these factors in their cost model, leading to uneven concentrations of load and KV-cache across replicas. We present GORGO, a proxy architecture that holistically factors network latency, prefill cost, and queueing delay using tunable parameters. Since open-source chat datasets such as LMSYS-Chat1M and WildChat-4.8M lack long-context, high prefix-reuse data, we release a synthetic dataset, ART-Chat-2.5M, from long-context production metadata. On a tuning window from ART-Chat-2.5M, evolutionary strategies guide the GORGO policy's parameters to directly optimize p95 TTFT. During held-out evaluation windows, we fix the parameter values learned from tuning and improve p95 TTFT by 6.9-15.5% and p95 end-to-end (E2E) latency by 14.3-30.9% over baseline load-balancing policies such as simple session affinity and prefix-cache. The code and ART-Chat-2.5M dataset can be found at https://github.com/Arcadia-Research-Team/GORGO.

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

↑