English

Staggered Batch Scheduling: Co-optimizing Time-to-First-Token and Throughput for High-Efficiency LLM Inference

Distributed, Parallel, and Cluster Computing 2025-12-19 v1 Machine Learning

Abstract

The evolution of Large Language Model (LLM) serving towards complex, distributed architectures--specifically the P/D-separated, large-scale DP+EP paradigm--introduces distinct scheduling challenges. Unlike traditional deployments where schedulers can treat instances as black boxes, DP+EP architectures exhibit high internal synchronization costs. We identify that immediate request dispatching in such systems leads to severe in-engine queuing and parallelization bubbles, degrading Time-to-First-Token (TTFT). To address this, we propose Staggered Batch Scheduling (SBS), a mechanism that deliberately buffers requests to form optimal execution batches. This temporal decoupling eliminates internal queuing bubbles without compromising throughput. Furthermore, leveraging the scheduling window created by buffering, we introduce a Load-Aware Global Allocation strategy that balances computational load across DP units for both Prefill and Decode phases. Deployed on a production H800 cluster serving Deepseek-V3, our system reduces TTFT by 30%-40% and improves throughput by 15%-20% compared to state-of-the-art immediate scheduling baselines.

Keywords

Cite

@article{arxiv.2512.16134,
  title  = {Staggered Batch Scheduling: Co-optimizing Time-to-First-Token and Throughput for High-Efficiency LLM Inference},
  author = {Jian Tian and Shuailong Li and Yang Cao and Wenbo Cui and Minghan Zhu and Wenkang Wu and Jianming Zhang and Yanpeng Wang and Zhiwen Xiao and Zhenyu Hou and Dou Shen},
  journal= {arXiv preprint arXiv:2512.16134},
  year   = {2025}
}
R2 v1 2026-07-01T08:30:32.635Z