Skip to content
Preprint

Ofan: Optimal Load Balancing for AI Training

Oct 2026 · 0 citations · 84 references
Computer Science

TL;DR

Ofan, a switch-based destination-aware LB scheme that can reach $O(1)$ queueing, is suggested, a switch-based destination-aware LB scheme that can reach $O(1)$ queueing.

Abstract

The extreme collective completion time (CCT) demands of AI workloads challenge existing packet spraying algorithms, which can have trouble efficiently load-balancing workloads that are sent at full line rates. We trace this to a structural cause: on a fat tree, once a packet picks its upward path, the downward path to its destination is unique, so destination-oblivious schemes cannot undo the imbalance it creates. We prove that such schemes can suffer from $\Theta(\sqrt{m})$ queueing for messages of size $m$, thus eventually triggering rate reductions by the congestion control. Instead, we suggest Ofan, a switch-based destination-aware LB scheme that can reach $O(1)$ queueing. We also present its pOfan variant that fits the pipe-based architecture of current switches. Our P4 implementation shows that it consumes modest resources. An end-to-end FSDP2 evaluation with Llama-3 405B-parameter models shows that Ofan cuts CCT inflation by $16$--$39\times$ when compared to existing algorithms.

View source

Similar papers

#machine learning Preprint Sep 2026

Tuning Collective Patterns to Alleviate Congestion in Shared AI Clusters

This paper builds a system, REACT, that tunes the recurring pattern of data exchange between GPU nodes (known as communication collectives) in response to congestion, and improves communication performance by 13%-38% under network congestion.

Eashan Gupta, Yong-Zhou Chen, Apoorve Mohan et al. · 0 citations
Preprint Oct 2026

MailRail: Mitigating Incast Congestion with User-Space, Node-Based Flow Control

Irregular workloads, such as those stemming from Graph Neural Networks (GNNs) and Mixture-of-Experts (MoE) models, frequently induce severe incast congestion in large-scale parallel environments. Existing fabric-level congestion control mechanisms rely on reactive, link-level rate limiting that degrades overall through...

Noel Gomillion, Lance G. Fletcher, T. Steil et al. · 0 citations

Calibrate, Then Route: A Measured Study of Learned Request Routing for Disaggregated LLM Serving

A router is studied that estimates the additional completion time on each instance using exact prompt length, predicted output length, post admission KV cache pressure, and SLO class to match the goodput of round robin using six GPUs instead of seven.

Srikanta Datta Tumkur, Jay Iyer, Mehar Simhadri et al. · 2 citations
#artificial intelligence Preprint Oct 2026

Jumping the Line: Exploiting Length Predictions in LLM Scheduling

Efficient request scheduling is increasingly important for reducing completion time in large language model (LLM) serving. Size-based policies such as Shortest Job First prioritize shorter requests, but output lengths are unknown before generation, so practical schedulers rely on predicted lengths. We introduce JIL, an...

Yu-Yang Dai, Rana Shahout, Mahmood Sharif · 0 citations
Sep 2026

DLB: Distributed Load Balancing at Scale for Generative AI Inference

DLB, the Distributed Load Balancer is introduced, a novel system designed to minimize end-to-end user latency for large-scale, heterogeneous workloads and its design choices and practical experiences gained from the system in production are detailed.

S. Balseiro, B. Wydrowski, Sameer Agarwal et al. · 0 citations
#artificial intelligence Preprint Oct 2026

Stable Token-level Scheduling for Serverless LLM Inference

Token Window Pacing (TWP), a closed-loop scheduling framework that leverages runtime feedback from ITL, queue depth, and workload characteristics to regulate request admission at the token level instead of the batch level, enables stable, high-throughput serverless LLM inference without modifying the underlying model.

Hardi Ashishbhai Desai, K. BalajiN, Sourav Kanti Addya · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.