Lightweight Scheduling Policies for Continuously Batched LLM Serving Across GPU Architectures
summary
The gist
The gist: Lightweight scheduling policies can improve latency-throughput tradeoffs in continuously batched LLM serving without changing model architectures, kernels, or learned schedulers.
In short
The research investigated how simple scheduling policies can improve latency and throughput in continuously batched LLM serving without changing the model itself. By testing eight different scheduling policies against various models, GPUs, and workloads, the study found that no single scheduler is universally best; the optimal choice depends on hardware, model type, and workload characteristics.
Key concepts
- Continuous Batching
- This technique keeps a GPU busy by dynamically adding new requests to a batch as older ones finish. It's used in LLM serving because generation happens step-by-step (token by token), allowing the system to efficiently fill the GPU with multiple ongoing generations.
- Head-of-Line Blocking
- This occurs when a very long generation request stays at the front of a batch for many steps. This can delay shorter, quicker requests waiting behind it, negatively impacting overall system responsiveness and fairness.
- Scheduling Policies
- These are the rules used by the serving system to decide which active requests get processed at each decode step. Examples include FIFO (first-in, first-out) or Shortest Prompt First (SPF), and their choice directly impacts how fast users see responses and how efficiently the GPU is used.
Terminology used across episodes
This episode discusses
- Lightweight Scheduling Policies for Continuously Batched LLM Serving Across GPU Architectures · Paper Radio
- SARATHI: Efficient LLM Inference by Piggybacking Decodes with Chunked Prefills
- Efficient LLM Scheduling by Learning to Rank
- Fast Distributed Inference Serving for Large Language Models
The paper
Lightweight Scheduling Policies for Continuously Batched LLM Serving Across GPU Architectures · Read on arXiv
Ashman Mehra, Akshan Agrawal, Aryeh Carmi
Carnegie Mellon University
Large language model serving is increasingly limited not only by model size and GPU speed, but also by scheduling during autoregressive decoding, where continuous batching interleaves requests at token granularity as sequences arrive and finish. We study whether lightweight scheduling policies can improve latency-throughput tradeoffs without changing model architectures, kernels, or deploying learned schedulers. We implement a Python/PyTorch continuous-batching testbench with real Hugging Face execution and evaluate eight policies across 1,152 GPU-model-scheduler-workload runs using ShareGPT-derived traffic, six Qwen, Gemma, and Mistral models, and Modal L40S, A100, and H100 GPUs. Scheduler choice changes throughput, TTFT, completion latency, and tail behavior under fixed model, GPU, workload, batch size, and prefill budget. Aging shortest-prompt-first is the strongest practical baseline in many L40S and mixed-workload settings, while oracle remaining-length scheduling shows that job-size knowledge alone is insufficient because batching and hardware effects also shape performance. The custom dataset has been uploaded to Hugging Face.
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: Today's paper: "Lightweight Scheduling Policies for Continuously Batched LLM Serving Across GPU Architectures".
Jane: The gist: Lightweight scheduling policies can improve latency-throughput tradeoffs in continuously batched LLM serving without changing model architectures, kernels, or learned schedulers.
Tom: First, who's behind it and why it matters.
Title and authors: Jane: So we're diving into the specifics of "Lightweight Scheduling Policies for Continuously Batched LLM Serving Across GPU Architectures." What exactly is this paper proposing as a solution to this batching problem?
Tom: Well, they set up a testbench using real Hugging Face execution and they evaluate eight different scheduling policies across one thousand one hundred fifty-two GPU model-scheduler-workload runs <ref:2610.15899#pg1,real Hugging Face execution and>. They used traffic from ShareGPT derived workloads and tested them on six Qwen, Gemma, and Mistral models running on Modal L40S, A100, and H100 GPUs.
Lu: The paper shows that the scheduler choice definitely changes four things: throughput, time to first token TTFT, completion latency, and tail behavior across all those different setups.
Meng: I wonder how much of that performance gain actually comes from the scheduling versus just the batch size itself? Because I'm always looking at how much overhead this introduces in a real production environment.
Lalam: The results show that aging shortest-prompt-first is a strong practical baseline, but they also find that oracle remaining-length scheduling isn't enough on its own because hardware and batching effects matter too.
The paper's summary: Tom: Let's unpack what the paper summarizes. They start by defining the problem in autoregressive LLM inference, which is that a request goes through a prefill stage and then repeatedly through a decode stage where we choose which requests get served at each token step.
Jane: So, the central idea they summarize is that this scheduling decision at each decode step is where the system has repeated opportunities to choose which requests to include in the next GPU step.
Lu: They mention classical scheduling theory suggests shortest-job-first and shortest-remaining-processing-time can reduce mean completion time if you know or can estimate job sizes, but LLM serving makes those things complicated because the request cost depends on both prompt length and output length.
Meng: So, the complexity comes from that output length uncertainty. If we don't know how long a response will be, estimating the true remaining work is hard.
Lalam: They address this by using a trace-driven testbench where the target output length is known from the ShareGPT response length to determine when a request completes, which lets them compare heuristics against an oracle style policy that uses that known remaining output length.
The paper's improvements: Jane: Now, let's look at the specific improvements they suggest in "Lightweight Scheduling Policies for Continuously Batched LLM Serving Across GPU Architectures." What are these actionable pieces of advice for us?
Tom: They show that the scheduler choice is a meaningful systems lever. For instance, aging shortest-prompt-first is presented as a strong practical baseline, especially when you look at L40S and mixed workloads.
Lu: But they also found that simply knowing the job size isn't enough because batching and hardware effects shape performance in ways that make a single scheduler universally optimal impossible to find.
Meng: The paper highlights that the best scheduler actually changes depending on the GPU, the model, and even the workload you're running. That means we can't just pick one setting and assume it will work everywhere.
Lalam: They also point out that better length estimates only help if they preserve batching stability and fairness; oracle remaining-length scheduling isn't enough on its own by itself.
Conclusion: Jane: So to wrap up, what's the big picture here? What does this whole investigation into "Lightweight Scheduling Policies for Continuously Batched LLM Serving Across GPU Architectures" actually mean for serving AI models in practice?
Tom: It means that we don't need massive, complex new architectures or totally different inference kernels to get better performance. We can make improvements by tuning the scheduling policy based on deployment-time constraints.
Lu: The key finding is that the best scheduler changes depending on the GPU, model, and workload you're running. So serving systems should expose scheduling as a control you can manage when you deploy something in production.
Meng: For us engineers at startup level, this suggests we need to be very careful about what we expose to the user; a deployment-dependent scheduler is much more robust than a fixed one.
Lalam: I'll just add that better length estimates only help when they preserve batching stability and fairness; oracle remaining-length scheduling is not enough by itself, which was a key finding in this paper.
Tom: That's the gist of it. We can get better latency and throughput by focusing on these lightweight changes to how we manage those active requests during decode steps.
Jane: It’s a lot of data, but it shows that understanding the interaction between prefill, decode, and batching policy is a first-order performance issue that needs careful tuning.
More episodes
- 2610.13407-Accelerating Linear Bandits with Persistent Candidate Sets
- 2610.13435-PPG-Bench: A Unified Benchmark for PPG Foundation Models
- 2610.13524-Simulating Training Spikes of Deep Neural Networks by Layer-wise Random Feature Models
- 2610.13571-Simultaneous Competitive and Regret Guarantees for TCP Acknowledgment
- 2610.13590-Lower Bounds for Randomized Linear-Oracle Optimization over Strongly Convex Sets
- 2610.13603-A small cognitive core explains human behavior at scale
- 2610.13631-Private and Distributionally Robust Federated Multiclass Classification
- 2610.13676-On the Encoding of Calendar Features in Covariate-Informed Time Series Foundation Models
- 2610.14409-PotentialEP: Backprop-Free Training of CIFAR-Scale Generative Models via Equilibrium Propagation
- 2610.14626-TagBO: LLM-Driven Task-Aware Graph Bayesian Optimization for Scientific Discovery