DOPD:一种动态PD解聚架构,用于在LLM推理服务中最大化吞吐量
DOPD: A Dynamic PD-Disaggregation Architecture for Maximizing Goodput in LLM Inference Serving
AI总结:
DOPD通过动态调整预填和解码实例比例,提升LLM推理服务的吞吐量和响应效率。
摘要:
为满足严格的服务级别目标(SLOs),当前的大语言模型(LLMs)将预填装和解码阶段解耦,并将它们放在不同的GPU上以缓解每个阶段固有的瓶颈。然而,LLM工作负载的异质性导致在这样的解聚架构中,两种实例类型之间出现生产者-消费者不平衡。为了解决这个问题,我们提出了DOPD(动态最优预填/解码),一种动态的LLM推理系统,通过实时负载监控调整实例分配,以达到最佳的预填到解码(P/D)比例。结合适当的请求调度策略,DOPD有效缓解了预填和解码实例之间的不平衡,并在高并发情况下缓解了由于混合长度请求导致的资源分配不匹配问题。实验评估显示,与vLLM和DistServe(代表性的聚合型和解聚型方法)相比,DOPD在整体系统吞吐量上提高了最高1.5倍,P90时间到第一个token(TTFT)降低了最高67.5%,P90时间每个输出token(TPOT)降低了最高22.8%。此外,我们的动态P/D调整技术基于历史负载进行主动重新配置,实现了超过99%的SLOs达成率,同时使用更少的额外资源。
英文摘要:
To meet strict Service-Level Objectives (SLOs),contemporary Large Language Models (LLMs) decouple the prefill and decoding stages and place them on separate GPUs to mitigate the distinct bottlenecks inherent to each phase. However, the heterogeneity of LLM workloads causes producerconsumer imbalance between the two instance types in such disaggregated architecture. To address this problem, we propose DOPD (Dynamic Optimal Prefill/Decoding), a dynamic LLM inference system that adjusts instance allocations to achieve an optimal prefill-to-decoding (P/D) ratio based on real-time load monitoring. Combined with an appropriate request-scheduling policy, DOPD effectively resolves imbalances between prefill and decoding instances and mitigates resource allocation mismatches due to mixed-length requests under high concurrency. Experimental evaluations show that, compared with vLLM and DistServe (representative aggregation-based and disaggregationbased approaches), DOPD improves overall system goodput by up to 1.5X, decreases P90 time-to-first-token (TTFT) by up to 67.5%, and decreases P90 time-per-output-token (TPOT) by up to 22.8%. Furthermore, our dynamic P/D adjustment technique performs proactive reconfiguration based on historical load, achieving over 99% SLOs attainment while using less additional resources.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。