Asymptotic Optimality of cμ-Rule for LLM Inference Scheduling under Memory Constraint
On the map: Efficient LLM inference and serving → Serving systems and request scheduling
Abstract (arXiv)
Large language model (LLM) inference, the process by which a pre-trained model receives an input prompt and generates output tokens sequentially, has become increasingly important with the widespread deployment of LLM-based applications. As inference workloads continue to scale, GPU memory has emerged as a critical bottleneck: the long input prompts and generation sequences common in agentic and reasoning workloads lead to substantial key-value (KV) cache usage. In this paper, we study the resulting online scheduling problem from a queueing perspective. Requests arrive stochastically with heterogeneous prompt and output lengths, undergo prefill and autoregressive decode, and compete for a finite KV-cache capacity. Unlike classical queueing models, the duration of a processing step depends on both prefill computation and KV-cache I/O, so service capacity is jointly determined by computation, memory access, and memory occupancy. We develop a fluid model that reduces the system to a multiclass single-server queue with effective service rates capturing computation, memory access, and memory capacity. This fluid analysis yields a cμ priority rule, where the effective service rate μ is jointly determined by computational speed, memory bandwidth, and memory capacity. We prove that this rule minimizes cumulative holding cost in the fluid model and, for a finite workload, also minimizes completion time and maximizes full-run output-token throughput. We then construct a feasible scheduling policy for the original finite system and prove that its scaled dynamics converge to the optimal fluid policy. Finally, experiments on a real LLM serving engine using an NVIDIA H800 show that practical implementations of the proposed priority rule substantially reduce average latency while maintaining high throughput relative to existing scheduling policies.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Serving systems and request scheduling, one of 12 directions in Efficient LLM inference and serving. Builds on 14 of its 48 references that are in the map. Submitted 3 Nov 2026.
Builds on
14 of 48 references.
Closest ancestors · 5
Same direction, newest first
- 2026Geometry-Aware Online Scheduling for LLM Serving: From Theoretical Bound to System Practice21 Jun
- 2026Service-Induced Congestion in Memory-Constrained LLM Serving14 Jun
- 2026A Queueing-Theoretic Framework for Stability Analysis of LLM Inference with KV Cache Memory Constraints6 May
- 2025LLM Serving Optimization with Variable Prefill and Decode Lengths8 Aug
- 2025Throughput-Optimal Scheduling Algorithms for LLM Inference and AI Agents10 Apr
Other references · 9
- 2023GPT-4 Technical Reportcited by 19,416
- 2024The Llama 3 Herd of Modelscited by 16,113
- 2025OpenAI GPT-5 System Cardcited by 1,090
- 2025Optimizing LLM Inference: Fluid-Guided Online Scheduling with Memory Constraintscited by 26
- 2025Online Scheduling for LLM Inference with KV Cache Constraintscited by 22
- 2025Adaptively Robust LLM Inference Optimization under Prediction Uncertaintycited by 12
- 2026Large-Scale LLM Inference with Heterogeneous Workloads: Prefill-Decode Contention and Asymptotically Optimal Controlcited by 2
- 2026Competitive Non-Clairvoyant KV-Cache Scheduling for LLM Inferencecited by 1
- 2026General Non-Clairvoyant KV-Cache Scheduling via Regime-Aware Routingcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024Multi-Bin Batching for Increasing LLM Inference Throughput
- 2024AQUA: Network-Accelerated Memory Offloading for LLMs in Scale-Up GPU Domains
- 2023Fast Distributed Inference Serving for Large Language Models
- 2025Optimal Scheduling Algorithms for LLM Inference: Theory and Practice
- 2026Flow-Controlled Scheduling for LLM Inference with Provable Stability Guarantees
- 2026Characterizing Parallelism Strategies in LLM Inference: Fundamental Compute-Communication Trade-offs
- 2025Taming the Titans: A Survey of Efficient LLM Inference Serving
- 2023Response Length Perception and Sequence Scheduling: An LLM-Empowered LLM Inference Pipeline