LLM服务中基于配额的老化预测引导调度
Quota-Based Aging for Prediction-Guided Scheduling in LLM Serving
AI总结:
针对LLM服务中异构响应长度导致的调度问题,提出基于配额的老化(QBA)策略,结合预测短优先准入与配额约束的老化请求提升,可在降低长请求尾部延迟的同时保留平均延迟优势。
摘要:
大型语言模型(LLM)服务系统采用令牌级连续批处理以提升资源利用率,但异构响应长度使请求调度复杂化。预测引导的短优先调度可降低平均延迟,但会严重延迟长请求;无限制老化则可能在拥塞下过度提升延迟的长请求。我们提出基于配额的老化(QBA),这是一种轻量级策略,结合预测短优先准入与配额约束、债务强制的老化预测长请求提升。我们还使用从模拟器轨迹校准的简化M/G/n队列代理,解释一阶平均延迟趋势。在模拟解码优先批处理、分块预填充、令牌预算约束和KV缓存安全准入的服务感知事件驱动模拟器中评估QBA,在合成和生产派生工作负载的非对称预测误差下,将QBA与FCFS、预测短优先和激进老化对比,评估指标包括队列延迟、吞吐量、利用率和类条件尾部性能。结果显示,QBA在激进短优先优先级与无限制老化间提供可控中间状态,大幅降低长请求尾部延迟,同时保留预测引导调度的大部分平均延迟优势。
英文摘要:
Large language model (LLM) serving systems use token-level continuous batching to improve resource utilization, but heterogeneous response lengths complicate request scheduling. Prediction-guided short-first scheduling reduces average latency but can severely delay long requests, while unrestricted aging may over-promote delayed long requests under congestion. We propose Quota-Based Aging (QBA), a lightweight policy that combines predicted short-first admission with quota-bounded, debt-enforced promotion of aged predicted-long requests. We also use a reduced M/G/n queueing surrogate, calibrated from simulator traces, to explain first-order mean-latency trends. QBA is evaluated using a serving-aware event-driven simulator that models decode-priority batching, chunked prefill, token-budget constraints, and KV-cache-safe admission. We compare QBA with FCFS, predicted short-first, and aggressive aging under asymmetric prediction errors on synthetic and production-derived workloads. The evaluation considers queueing delay, throughput, utilization, and class-conditional tail performance. Results show that QBA provides a controllable middle ground between aggressive short-first prioritization and unrestricted aging, substantially reducing long-request tail latency while retaining much of the mean-latency benefit of prediction-guided scheduling.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。