Lune

ICML2026Top-tier venue

Threshold-Based Exclusive Batching for LLM Inference

Weifang Zhang, Yuzhou Nie, Bowen Pang, Guangrui Ma, Shining Wu

2026Year

Abstract

Mixed batching (MB)-interleaving prefill and decode in a single batch-has become the standard scheduling strategy for large language model (LLM) inference due to its efficiency in maximizing compute and memory utilization. However, through controlled experiments, we find that prefill-decode interference inflates MB's per-step marginal cost above that of pure decode. On the high-bandwidth H200 (4.8 TB/s), this occurs only when decode tokens exceed 80% of the batch; however, on the bandwidth-constrained RTX PRO 6000 (1.792 TB/s), this threshold plummets to just 20%. Consequently, the optimal choice between MB and exclusive batching (EB) fundamentally depends on GPU memory bandwidth, model size, and workload composition. We derive a closed-form condition for this EB-MB performance crossover, along with asymptotically optimal phase-switching thresholds and memorysafe batch sizing for EB. Optimized EB achieves up to 41.9% higher throughput on bandwidthconstrained GPUs, while MB retains its advantage on high-bandwidth hardware with larger models. Our hybrid scheduler EB + applies this condition online to dynamically switch between EB and MB without manual intervention. Under nonstationary traffic with distribution or concurrency shifts, EB + attains the highest or near-highest throughput in every setting, outperforming MB by up to 36.4%. 1

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 932258c1-4522-472e-8fc6-cd1d58bc88b8

Builds on13

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines