arXiv:2601.21758cs.DCcs.AI2026-01被引 2

EWSJF通过自适应调度提升混合负载下LLM推理的吞吐与响应速度。

EWSJF: An Adaptive Scheduler with Hybrid Partitioning for Mixed-Workload LLM Inference

  • 根据请求特征动态分组并实时调整优先级策略。
  • 吞吐量提升超30%,短请求首令牌延迟降低4倍。
  • 适合需要低延迟与高吞吐并重的生产级LLM服务场景。

在混合工作负载下(短时低延迟交互请求与长时高吞吐批量请求共存)部署大语言模型面临根本性调度挑战。标准先到先服务(FCFS)策略存在严重队头阻塞,导致尾部延迟高且硬件利用率低。本文提出EWSJF(基于有效工作负载的最短作业优先),一种自适应的请求级调度器,能实时学习工作负载结构,协同提升公平性与吞吐量。EWSJF位于执行级调度器上游,包含四个组件:(1) Refine-and-Prune——无监督分区算法,发现性能同质请求组;(2) 动态队列路由,将请求分配至对应组;(3) 密度加权评分,结合上下文感知的紧迫性与公平性进行优先级判断;(4) 贝叶斯元优化,基于实时性能反馈持续调优评分与分区参数。在vLLM中实现后,相比FCFS,EWSJF将端到端吞吐提升超过30%,短请求平均首令牌时间降低达4倍。结果表明,自适应学习型请求调度是高效、响应式LLM服务的关键缺失环节。代码已公开于https://anonymous.4open.science/r/vllm_0110-32D8。

原文摘要 · Abstract (English)

Serving Large Language Models (LLMs) under mixed workloads--short, latency-sensitive interactive queries alongside long, throughput-oriented batch requests--poses a fundamental scheduling challenge. Standard First-Come, First-Served (FCFS) policies suffer from severe head-of-line blocking, leading to high tail latency and underutilized hardware. We introduce EWSJF (Effective Workload-based Shortest Job First), an adaptive request-level scheduler that learns workload structure in real time to jointly improve fairness and throughput. EWSJF operates upstream of execution-level schedulers and integrates four components: (1) Refine-and-Prune, an unsupervised partitioning algorithm that discovers performance-homogeneous request groups; (2) Dynamic Queue Routing for assigning requests to these groups; (3) Density-Weighted Scoring, a context-aware prioritization function balancing urgency and fairness; and (4) Bayesian Meta-Optimization, which continuously tunes scoring and partitioning parameters based on live performance feedback. Implemented in vLLM, EWSJF improves end-to-end throughput by over 30% and reduces average Time-To-First-Token for short requests by up to 4x compared to FCFS. These results demonstrate that adaptive, learning-based request scheduling is a critical missing layer for efficient and responsive LLM serving. Implementation available at https://anonymous.4open.science/r/vllm_0110-32D8.

LLM推理调度优化混合负载

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。