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

Tropical: 通过SLO感知的多路复用提升解聚式LLM服务中的SLO达成率

Tropical: Enhancing SLO Attainment in Disaggregated LLM Serving via SLO-Aware Multiplexing

Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Fudan University(复旦大学);Peking University(北京大学);The Chinese University of Hong Kong(香港中文大学);Shanghai Jiao Tong University(上海交通大学);Sensetime Research(商汤科技研究院)

Jinming Ma, Jiefei Chen, Xiuhong Li, Jiangfei Duan, Haojie Duanmu, Xingcheng Zhang, Chao Yang, Dahua Lin

AI总结:

提出Tropical系统,通过SLO感知的多路复用策略平衡排队时间和干扰,同时满足预填充和解码阶段的延迟约束,在真实数据集上相比现有系统提升高达2.09倍的请求数。

摘要:

为了保证基于Transformer的大语言模型(LLM)服务的服务质量,必须同时满足预填充阶段(以首次令牌时间TTFT衡量)和解码阶段(以每输出令牌时间TPOT衡量)的延迟约束。非解聚式服务将预填充和解码放在同一工作节点上,而解聚式服务则将预填充和解码放在隔离的工作节点上。然而,没有单一架构在TTFT和TPOT指标上均表现优异。经过根因分析,我们得出结论:在解聚式LLM服务中,预填充执行对解码执行的干扰最小,但导致高排队时间;相反,非解聚式LLM服务有效减少了排队时间,但引入了预填充和解码之间的显著干扰。为了充分利用非解聚式和解聚式LLM服务的优势,我们设计并实现了Tropical。Tropical引入了一种SLO感知的多路复用策略,平衡排队时间和干扰,使LLM服务能够同时实现高TTFT和TPOT的SLO。我们对真实数据集的评估表明,Tropical优于最先进的非解聚式和解聚式LLM服务系统,在90%的SLO达成率下,处理请求数最多提升2.09倍。特别地,与解聚式LLM服务系统相比,Tropical将P90 TTFT性能提升了9倍,而P90 TPOT仅降低15%。与非解聚式LLM服务系统相比,Tropical在保持相同P90 TTFT的同时,P90 TPOT性能提升了2.8倍。

英文摘要:

To guarantee service quality in transformer based large language model (LLM) serving, it is essential to meet the latency constraints of both the prefill phase (measured by Time-to-First-Token, TTFT) and the decode phase (measured by Time-per-Output-Token, TPOT). Non-disaggregated serving places prefill and decode on the same worker, while disaggregated serving places the prefill and decode on isolated workers. However, no single architecture excels in both TTFT and TPOT metrics. After conducting a root cause analysis, we concluded that indisaggregated LLM serving, prefill execution has minimal interference with decode execution but result in high queuing times. In contrast,non-disaggregated LLM serving effectively reduces queuing times but introduces significant interference between prefills and decodes. In order to leverage the best aspects of both non-disaggregated anddisaggregated LLM serving, we have designed and implemented Tropical.Tropical introduces an sevice-level objectives (SLO)-aware multiplexing strategy that balances the queuing time and the interference, enabling the LLM serving to achieve high TTFT and TPOT SLOs simultaneously. Our evaluation of real-world datasets reveals that Tropical outperforms both state-of-the-art non-disaggregated and disaggregated LLM serving systems, achieving up to 2.09 more requests within a 90% SLO attainment. Specially, compared to the disaggregated LLM serving system, Tropicalimproves P90 TTFT performance by 9 with only an 15% reduction in P90 TPOT. Against the non-disaggregated LLM serving systems, Tropicaldelivers a 2.8 performance improvement in P90 TPOT while maintaining the same P90 TTFT.

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

↑