arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2607.02043cs.DCcs.AI
收藏

面向负载感知的预填充偏转用于分离式LLM服务

Towards Load-Aware Prefill Deflection for Disaggregated LLM Serving

Microsoft(微软)

Shrikara Arun, Anjaly Parayil, Srikant Bharadwaj, Renee St. Amant, Victor Rühle

AI总结:

针对分离式LLM服务中预填充节点过载而解码节点空闲的问题,提出一种主动预填充偏转调度器,通过将预填充作为分块步骤在解码节点上交错执行,消除节点间KV传输,显著降低P95 TTFT并提高SLO达标率。

摘要:

分离式LLM服务将预填充和解码运行在独立的GPU池中,以避免两个阶段相互干扰。在实践中,这产生了一种新的不对称性:在突发、重尾工作负载下,预填充节点饱和,而解码节点的计算利用率不足。在一个包含2个预填充节点和2个解码节点(2P2D)的生产级A100集群上,我们发现预填充执行仅占P95首令牌时间(TTFT)的2-23%,排队和节点间GPU-GPU KV缓存传输占据了其余部分。我们提出了一种主动预填充偏转调度器,允许解码节点以分块预填充步骤的形式服务请求的预填充阶段,并与正在进行的解码批次交错执行。对于每个排队的请求,我们估计其在预填充节点上的TTFT,并在每个解码节点上搜索最大的分块调度,以保持正在进行的解码在其令牌间时间(TBT)SLO内,当解码路径有助于尾部延迟时进行偏转。由于偏转请求的预填充阶段在解码节点上就地执行,因此消除了节点间KV传输。我们在vLLM上实现,并使用DeepSeek-V2-Lite在生产级轨迹上进行评估,与最先进的分离式调度器相比,我们的方法将P95 TTFT降低了高达81%,SLO达标率提高了高达79%,每请求路由成本低于毫秒级。

英文摘要:

Disaggregated LLM serving runs prefill and decode on separate GPU pools to keep the two phases from interfering. In practice, this creates a new asymmetry: under bursty, heavy-tailed workloads prefill nodes saturate while decode nodes have compute underutilized, and on a production-style A100 cluster with 2 prefill and 2 decode nodes (2P2D), we find that prefill execution accounts for only 2-23% of P95 Time-to-First-Token (TTFT). Queuing and inter-node GPU-GPU KV-cache transfer account for the rest. We present a proactive prefill-deflecting scheduler that lets decode nodes serve prefill phase of requests as chunked-prefill steps interleaved with their in-flight decode batches. For each queued request, we estimate the TTFT it would see on the prefill node, and on every decode node, search for the largest chunk schedule that keeps in-flight decodes within their Time-Between-Tokens (TBT) SLO and deflect when the decode path helps tail latency. Because the prefill phase of deflected requests runs in place on the decode node, the inter-node KV transfer is eliminated. Implemented on vLLM and evaluated on production-style traces with DeepSeek-V2-Lite, our approach reduces P95 TTFT by upto 81% and raises SLO attainment by upto 79% over state-of-the-art disaggregated schedulers, at sub-millisecond per-request routing cost.

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

↑