PecSched: Preemptive and Efficient Cluster Scheduling for LLM Inference
Not on the map. Why?
Abstract (arXiv)
The scaling of transformer-based Large Language Models (LLMs) has significantly expanded their context lengths, enabling applications where inputs exceed 100K tokens. Our analysis of a recent Azure LLM inference trace reveals a highly skewed long-tail distribution of input lengths, with approximately 80% of inputs shorter than 2K tokens. Long inputs constitute only a small fraction. Existing cluster-level LLM scheduling strategies, including First-In-First-Out (FIFO), reservation-based, and priority-based approaches, primarily target short-input requests with lengths below 2K and fail to address this heterogeneity, leading to inefficiencies such as head-of-line blocking, resource underutilization, and starvation of long-input requests. We propose PecSched, a Preemptive and Efficient Cluster SCHEDuling system for LLM inference. PecSched introduces the following key techniques: 1) preemptive scheduling that prioritizes short-input requests for their performance; 2) coordinated prefill-decode colocation and disaggregation, which reduces both the duration and frequency of preemptions; 3) fast Sequence Parallelism (SP) that minimizes the prefill time of long-input requests to further reduce the likelihood and frequency of preemptions. Evaluations based on Azure LLM inference trace show that, compared to state-of-the-art cluster-level LLM inference schedulers, PecSched reduces the 99th percentile queueing delay of short-input requests by up to 92% and improves their throughput by up to 595%, without significantly affecting the Job Completion Time (JCT) of long-input requests. We open-sourced our code.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 34 of its 49 references that are in the map. First posted on arXiv 23 Sep 2024.
Builds on
34 of 49 references.
References · 34
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2020Rethinking Attention with Performerscited by 1,601
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,346
- 2021Perceiver: General Perception with Iterative Attentioncited by 1,104
- 2024DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Servingcited by 617
- 2023Splitwise: Efficient generative LLM inference using phase splittingcited by 558
- 2024Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Servecited by 526
22 more
- 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 457
- 2022Reducing Activation Recomputation in Large Transformer Modelscited by 302
- 2023DeepSpeed Ulysses: System Optimizations for Enabling Training of Extreme Long Sequence Transformer Modelscited by 245
- 2023LongNet: Scaling Transformers to 1,000,000,000 Tokenscited by 204
- 2024World Model on Million-Length Video And Language With Blockwise RingAttentioncited by 198
- 2023Augmenting Language Models with Long-Term Memorycited by 189
- 2024Llumnix: Dynamic Scheduling for Large Language Model Servingcited by 174
- 2018Online normalizer calculation for softmaxcited by 162
- 2023Fast Distributed Inference Serving for Large Language Modelscited by 145
- 2021Sequence Parallelism: Long Sequence Training from System Perspectivecited by 126
- 2024LoongServe: Efficiently Serving Long-Context Large Language Models with Elastic Sequence Parallelismcited by 112
- 2024DeepSpeed-FastGen: High-throughput Text Generation for LLMs via MII and DeepSpeed-Inferencecited by 106
- 2022The Devil in Linear Transformercited by 98
- 2023Scaling Transformer to 1M tokens and beyond with RMTcited by 98
- 2019DocBERT: BERT for Document Classificationcited by 68
- 2024USP: A Unified Sequence Parallelism Approach for Long Context Generative AIcited by 61
- 2022Revisiting Transformer-based Models for Long Document Classificationcited by 49
- 2019Lightweight and Efficient End-to-End Speech Recognition Using Low-Rank Transformercited by 47
- 2024ExeGPT: Constraint-Aware Resource Scheduling for LLM Inferencecited by 45
- 2022HEGEL: Hypergraph Transformer for Long Document Summarizationcited by 28
- 2024Cocktail: A Comprehensive Information Retrieval Benchmark with LLM-Generated Documents Integrationcited by 17
- 2022Source Code Summarization with Structural Relative Position Guided Transformercited by 14
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026FleetOpt: Analytical Fleet Provisioning for LLM Inference with Compress-and-Route as Implementation Mechanismcited by 3
- 2026Token Latency Fairness: Performance Isolation for Multi-Tenant LLM Servingcited by 0
- 2026SparSP: Exploiting Communication Sparsity for Sequence-Parallel Video DiTscited by 0
- 2026Scaling LLM Inference via Parallelism: Throughput-Latency Trade-offcited by 0
- 2026Scaling LLM Inference via Parallelism: Throughput-Latency Trade-off14 Oct 2026
- 2026SparSP: Exploiting Communication Sparsity for Sequence-Parallel Video DiTs26 Sep 2026
- 2026Token Latency Fairness: Performance Isolation for Multi-Tenant LLM Serving16 Sep 2026
- 2026FleetOpt: Analytical Fleet Provisioning for LLM Inference with Compress-and-Route as Implementation Mechanism17 Mar 2026