Tackling the Data-Parallel Load Balancing Bottleneck in LLM Serving: Practical Online Routing at Scale

Tianci Bu, Yuan Lyu, Zixi Chen, Chendong Song, Hong Liang, Tsepten Gurung, Yuwei Fan, Yinyu Ye, Zijie Zhou

TL;DR

Large-scale LLM serving suffers from a severe data-parallel load balancing bottleneck due to step-by-step synchronization barriers where the slowest worker dictates the pace of the entire fleet. This paper introduces BalanceRoute, a family of practical, low-overhead online routing algorithms that dramatically reduce load imbalance and boost serving throughput by up to 34.5% on a 144-NPU cluster.

What Problem Does This Paper Address?

Modern LLM serving systems scale up throughput by combining model parallelism (Tensor or Expert Parallelism) within a worker group and replicating these groups using Data Parallelism (DP). However, because of collective communication steps (like TP all-reduce or EP all-to-all), all DP replicas must synchronize at the end of every single decode step.

This creates a strict synchronization barrier: the execution time of a step is entirely bound by the slowest, most heavily loaded worker. Lighter workers sit idle, wasting expensive compute and energy.

Figure 1: Data-parallel decode under barrier synchronization.

Standard load-balancing heuristics (like Round-Robin or Join-Shortest-Queue) fail here because LLM decoding introduces unique constraints:

  1. Sticky Assignments: Migrating a request's Key-Value (KV) cache mid-flight is too costly, meaning routing decisions are permanent until a request finishes.
  2. Dynamic Workloads: Per-request load grows monotonically as the KV cache expands, and total generation lengths are unknown at arrival.
  3. Strict Latency Budget: The router must make routing decisions across hundreds of requests and tens of workers within a sub-100 ms decode step budget.

Methods

The authors propose BalanceRoute, a family of online routing algorithms designed to operate efficiently within millisecond-scale scheduling windows:

  • BR-0 (Prediction-Free): Operates without any future length predictions. It uses a novel, piecewise-linear "F-score" to evaluate the marginal impact of assigning a request to a worker. It prioritizes filling a worker's "safe margin" (the capacity it can absorb before becoming the new slowest straggler) and heavily penalizes overflowing it. A fast two-stage algorithm handles abundant capacity greedily and switches to priority-queue-based refined allocation when slots become scarce.
  • BR-H (Lookahead-Aware): Extends BR-0 by incorporating a short, constant lookahead horizon ($H$). It integrates a lightweight termination classifier and a conditional-mean regressor to estimate how much a request will contribute to the workload over the next $H$ steps, applying a horizon-discounted F-score.
  • System Implementation: Implemented as a centralized, stateful Python proxy positioned above the engine layer. This architecture allows it to maintain a global snapshot of cluster loads and drive routing via payload mutation on standard OpenAI-compatible APIs without modifying the underlying engine binaries.
System architecture of BalanceRoute.

Datasets

The system was validated under heavy load on a 144-NPU Ascend 910C cluster running DeepSeek-V3 (671B) and Qwen3-30B-A3B using two distinct traces:

  • Proprietary Data: A production trace characterized by heavy-tailed outputs (8,000 requests; mean prompt length: 3,197 tokens; mean output length: 1,185 tokens).
  • Azure-2024: Derived from the conversation split of the public Azure LLM Inference Trace. It was filtered to long-running requests (output length > 1,000 tokens) to isolate the regime where decode-stage load imbalance dominates (10,000 requests; mean prompt length: 4,652 tokens; mean output length: 1,052 tokens).

Key Insights and Ideas

  • The Asymmetry of Overflows: Pushing a worker's load slightly above the current maximum straggler flips a 1-per-unit benefit into a severe $(G-1)$-per-unit penalty across a fleet of $G$ workers. Capturing this sharp transition mathematically allows BR-0 to balance clusters effectively without needing any future predictions.
  • Short Horizons Suffice: Predicting exact sequence lengths is notoriously inaccurate due to heavy-tailed distributions. However, the authors realize that a simple binary classifier answering "will this request terminate within the next H steps?" captures almost all the routing-relevant signal needed to prevent stragglers.
  • Graceful Degradation: If the lookahead predictor encounters an unseen prompt or lacks confidence, the BR-H framework naturally collapses back to the robust BR-0 baseline rather than injecting noisy, incorrect predictions into the schedule.

Key Results

BalanceRoute consistently outperformed standard vLLM baselines (Random, Round-Robin, Power-of-Two-Choices, and Join-Shortest-Queue) across both workloads.

  • Drastic Imbalance Reduction: On the Proprietary Data trace, BR-0 reduced average load imbalance by 4.1× over the strongest baseline (Join-Shortest-Queue).
  • Throughput Improvements: BR-0 achieved an 11.8% throughput lift on Proprietary Data. The lookahead-aware BR-H variant pushed these gains further, delivering up to 15.4% (Proprietary) and 14.5% (Azure-2024) throughput increases.
  • Super-linear Scaling: Because the gap between the average load and the maximum load widens as clusters grow, BalanceRoute’s advantages scale with system size. At $G=16$ decode workers (144 NPUs), BalanceRoute achieved a +34.5% throughput advantage over the best baseline.
Throughput and imbalance scaling across different cluster sizes.

Limitations and Future Work

  • Single-Replay Constraints: Due to the high demand and limited availability of a massive 144-NPU production cluster, the authors could not run extensive statistical replicate sweeps; results represent single trace replays.
  • Future Directions: The authors highlight several promising paths, including overlapping cross-tier KV transfers with the decoding phase under lookahead horizons ($H>0$), studying how predictor noise scales in even larger clusters, and exploring decentralized or hardware-offloaded control planes.

Summary updated

BibTeX
@inproceedings{bu2026tackling,
  author = {Tianci Bu and Yuan Lyu and Zixi Chen and Chendong Song and Hong Liang and Tsepten Gurung and Yuwei Fan and Yinyu Ye and Zijie Zhou},
  title = {{Tackling the Data-Parallel Load Balancing Bottleneck in LLM Serving: Practical Online Routing at Scale}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=6T70E9SD49},
}
Figure