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

超越贪婪分块:面向LLM推理的SLO感知滑动窗口调度

Beyond Greedy Chunking: SLO-Aware Sliding-Window Scheduling for LLM Inference

Sun Yat-sen University(中山大学);Guangdong Polytechnic Normal University(广东技术师范大学)

Yuansheng Chen, Yue Zhang, Xuan Mo, Weigang Wu, Jialun Li

AI总结:

提出SlidingServe系统,通过滑动窗口分块、轻量级批次延迟预测和动态规划批次构建,在保证服务质量约束下提升大语言模型在线推理的吞吐量并降低SLO违规率。

摘要:

随着大语言模型在线服务中交互应用的快速增长,在保证用户感知延迟的同时维持高系统吞吐量已成为推理调度的关键问题。现有的LLM服务系统依赖粗粒度的输出约束,难以有效处理多个请求间的资源争用,导致资源利用效率低且对细粒度服务质量差异化的支持有限。我们提出SlidingServe,一种面向在线LLM推理的滑动窗口驱动的SLO感知调度系统。SlidingServe设计了一个轻量级的批次延迟预测器来估计批次的执行时间。基于此,SlidingServe使用SlidingChunker结合当前迭代和下一次迭代的信息实现动态分块,在保持严格QoS保证的同时提高系统整体吞吐量。SlidingServe引入多级优先级排序器对候选请求进行排序,以平衡公平性和效率。此外,当同一批次内的多个请求面临SLO违规风险时,SlidingServe引入BatchConstructor,使用动态规划选择当前轮次执行的请求集,减轻关键请求的SLO违规风险。我们的评估表明,与先进的调度系统相比,SlidingServe在各种负载条件下可将服务容量提升高达30%,并在重负载推理模式下进一步将SLO违规率降低16%-53%。

英文摘要:

With the rapid growth of interactive applications in large language model (LLM) online services, maintaining high system throughput while ensuring user-perceived latency has become a key issue in inference scheduling. Existing LLM service systems rely on coarse-grained output constraints, making it difficult to effectively handle resource contention among multiple requests, resulting in low resource utilization efficiency and limited support for fine-grained quality of service (QoS) differentiation. We present SlidingServe, a sliding-window-driven SLO-Aware scheduling system for online LLM inference. SlidingServe designed a lightweight batch latency predictor to estimate the execution time of a batch. Based on this, SlidingServe uses SlidingChunker to combine information from the current iteration and the next iteration to achieve dynamic chunking and improve the overall system throughput while maintaining strict QoS guarantees. SlidingServe introduces Multi-Level Priority Sorter to sort candidate requests in order to balance fairness and efficiency. Additionally, when multiple requests within the same batch are at risk of SLO violating,SlidingServe introduces BatchConstructor, which uses dynamic programming to select the set of requests to execute in the current round, mitigating the SLO violation risk of critical requests.Our evaluation demonstrates that SlidingServe can improve service capacity by up to 30% compared to advanced scheduling systems under various load conditions, and further reduces the rate of SLO violation by 16%-53% under heavy-load inference mode.

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

↑