arXiv:2610.41707cs.NIOct 2026

Manuscript Offprint

arXiv:2610.41707

Ordered Chaos: Towards Adaptive Multipath Load Balancing with Precise Fast Loss Detection

Tommaso Bonato, Ahmad Ghalayini, Nadeen Gebara, Benoit Pit-Claudel, Jiayong Li, Mikhail Khalilov, Luca Piccolboni, Waleed Reda, Pei-Huan Tsai, Tao Ji, Abdul Kabbani, Torsten Hoefler

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Tommaso Bonato ∗†1^{*}\dagger 1, Ahmad Ghalayini †^{\dagger}, Nadeen Gebara †^{\dagger}, Benoit Pit-Claudel ‡2^{\ddagger 2}, Jiayong Li ∗^{*}, Mikhail Khalilov ∗^{*}, Luca Piccolboni †^{\dagger}, Waleed Reda †^{\dagger}, Pei-Huan Tsai §†^{\S\dagger}, Tao Ji †^{\dagger}, Abdul Kabbani †^{\dagger}, Torsten Hoefler ∗†^{*}\dagger

∗^{*}ETH Zurich, Zurich, Switzerland

{tommaso.bonato,jiayong.li,mikhail.khalilov,torsten.hoefler}@inf.ethz.ch

†^{\dagger}Microsoft Corporation, Redmond, United States of America

{aghalayini,nadeengebara,lpiccolboni,waleedreda,taoji,abdulkabbani}@microsoft.com

‡^{\ddagger}MIT, Cambridge, United States of America

bpitcla@alum.mit.edu

§^{§}Columbia University, New York, United States of America

pt2630@columbia.edu

Abstract—Load balancing in best-effort datacenter fabrics faces a tradeoff. Order-preserving schemes such as Equal-Cost Multipath (ECMP) retain loss semantics but use path diversity coarsely, while packet spraying balances load well but removes the ordering signals needed for fast, precise loss detection. We present Ordered Chaos, an end-host design that preserves enough structure for reliable loss detection without giving up fine-grained multipath routing. Reactive Subflow Spraying (RSS) divides each flow into ordered, dynamically routed subflows. Precise Fast Loss Detection (PFLD) combines this ordering with probes to distinguish reordering from congestion, corruption, tail, and retransmission losses within one RTT. Across simulations, AI and HPC workloads, and a DPU prototype, RSS+PFLD improves tail flow completion time by up to 3×3\times, eliminates up to 99% of timeout-based recoveries, and accelerates collective and training communication by up to 35%.

Index Terms—data centers, computer networks, packet loss, routing

I. INTRODUCTION

Large-scale AI training and tightly-coupled HPC workloads occupy tens of thousands of accelerators for weeks to months, making the transport layer's ability to detect and recover from packet losses a direct factor in time-to-result and cluster efficiency. At scale, these environments experience packet loss due to transient congestion, tail drops, failures, and persistent packet corruption arising from aging optics, hardware faults, and link degradation. Production measurements report that inter-switch and inter-card loss events, which include silent packet drops and packets discarded after link corruption, account for about 18% of packet drops associated with network performance anomalies [1], and end-to-end loss ratios in the range of 10−510^{-5} to 10−410^{-4} have been consistently reported within datacenters [2]–[5]. These losses compound across multi-hop paths, stalling collectives, desynchronizing bulk-synchronous phases, and increasing training costs [6]. Modern datacenter best-effort (lossy)

Figure

Figure 1: Scheme showcasing RSS+PFLD with 16 subflows. A◯\textcircled{A} shows the performance of RSS during a tornado pattern with a symmetric and an asymmetric topology. B◯\textcircled{B} shows the time it takes to detect a packet loss for different schemes.

fabrics expose multiple parallel paths between nodes [7]–[9] to meet throughput and resiliency demands, yet turning this path diversity into consistent application performance in the presence of loss and reordering, without introducing new reliability problems, remains an open problem [10]–[21].

In practice, most datacenter fabrics attempt to exploit this path diversity using per-flow load-balancing mechanisms, with Equal-Cost Multipath (ECMP) serving as the dominant starting point. ECMP hashes a flow's five-tuple to select a single path for its lifetime. While simple and order-preserving, ECMP's hash-based static mapping can lead to collisions that over-subscribe some links while under-utilizing others, and its lack of adaptivity prevents effective response to asymmetric conditions, congestion, or failures [11], [22], [23]. Reactive flow-level schemes such as PLB [10] reduce persistent collisions

1^{1}Tommaso Bonato has since left Microsoft.

2^{2}Benoit Pit-Claudel has since joined Amazon. This work does not relate to his position at Amazon.

SC26, November 15-20, 2026, Chicago, Illinois, USA 979-8-3195-4789-7/26/$31.00 ©2026 IEEE through occasional rerouting, but still operate at coarse, per-flow granularity, limiting their ability to fully utilize available path diversity.

To overcome these limitations, the ecosystem has increasingly converged on multipath spraying, shifting from per-flow path selection to much finer-grained packet-level traffic distribution across paths. Correspondingly, industry efforts such as Ultra Ethernet [24], [25], Falcon [26], SRD [27], and the NVIDIA ConnectX-8 [28] and BlueField-3 [29] NICs all adopt out-of-order-capable transports with per-packet spraying or other fine-grained load balancing mechanisms.

However, packet spraying destroys the ordering signals that traditional transports rely on for fast loss recovery: an endpoint cannot immediately distinguish between a true loss and a delayed packet. To manage this without the prohibitive memory cost of per-packet timers, modern DPUs like BlueField-3 employ hardware-resident bitmaps and per-Queue Pair (QP) gap timers [29]. While these end-to-end timers eventually detect all losses, including those caused by corruption, they do so without the benefit of explicit network signaling. Consequently, some recent systems are starting to rely on switch-side packet trimming for near-instant congestion notification [30], [31]. Critically, because corruption drops typically occur at the PHY/MAC layer before a packet is queued, the switch cannot generate a trim notification. This leaves best-effort transports to rely on the expiration of conservative hardware timeouts, which, while functional for detection, introduce significant tail latency (P99) spikes compared to the rapid recovery seen in congestion-induced drops.

Based on these observations, we propose Ordered Chaos, a unified, host-based load balancing and loss-recovery system for AI training and tightly-coupled HPC collectives. The key insight behind Ordered Chaos is that preserving just enough ordering structure enables fast, deterministic loss signaling without sacrificing the utilization benefits of fine-grained multipathing. Building on this insight, Ordered Chaos introduces two novel and synergistic contributions: Reactive Subflow Spraying (RSS) and Precise Fast Loss Detection (PFLD).

RSS introduces a new operating point between per-flow hashing (e.g., ECMP/PLB) and per-packet spraying (e.g., RPS) by deterministically splitting each flow into σ\sigma logical subflows via round-robin mapping, such that each subflow carries a predictable packet subsequence. Rather than reacting at flow granularity, RSS periodically reroutes only the worst-performing subflow based on end-host congestion signals (e.g., RTT or ECN), achieving fine-grained adaptivity under asymmetry and failures while intentionally preserving in-order delivery within each subflow. PFLD exploits this preserved structure to enable a novel, receiver-driven loss recovery mechanism: by combining per-subflow sequence gaps with lightweight probes, PFLD deterministically distinguishes reordering from true loss and enables prompt recovery from congestion, corruption, tail, and retransmission losses without switch support or unbounded per-packet state. This receiver-driven, deterministic loss identification enables precise recovery actions and substantially reduces spurious or duplicate retransmissions compared to time-based, heuristic approaches.

Figure 1 illustrates how RSS preserves partial in-order delivery across subflows and how PFLD leverages this structure for fast and precise loss recovery. A◯\textcircled{A} shows RSS on a symmetric and an asymmetric fat-tree topology with 16 subflows. In the asymmetric case, one of the 16 output links is throttled to 20% capacity; RSS reacts within microseconds, redistributing subflows so the degraded link carries proportionally fewer, converging to the ideal distribution (dotted lines). B◯\textcircled{B} compares the 99th-percentile loss detection delay during an incast workload. With corruption drops ( ≈10−5\approx 10^{-5}), RTO-based recovery takes 60–80 μ\mus, and packet trimming cannot detect corruption drops because no trimmed header is produced. PFLD detects both congestion and corruption losses within a single RTT ( <20μ< 20 \mus). We define corruption drops as losses not caused by congestion.

Overall, without any switch modifications, Ordered Chaos reduces the non-overlapped communication time of LLaMA-7B training by 28%, speeds up ring all-reduce by 35%, and improves tail flow completion time by up to 3×3\times across AI collectives, HPC applications (ICON, LAMMPS, MILC), and microbenchmarks. Our main contributions are:

• Reactive Subflow Spraying (RSS). We introduce RSS, a subflow-level reactive load-balancing mechanism that partitions each flow into a small number of strictly ordered subflows and periodically reroutes only the worst-performing subflow based on simple end-host signals (e.g., RTT or ECN). RSS achieves near-uniform link utilization under asymmetric and dynamic conditions while requiring no switch modifications.

• Precise Fast Loss Detection (PFLD). We present PFLD, a receiver-driven loss detection mechanism that leverages subflow-level ordering to precisely detect and recover from congestion, tail, retransmission, and corruption losses without packet trimming. PFLD combines lightweight probe packets with packet-sequence-number (PSN)-aware entropy encoding to deliver fast and deterministic loss signals with minimal memory requirements.

• Unified transport co-design with minimal state. We co-design RSS and PFLD so that ordered subflows provide the structural signal needed for precise end-host loss detection, while accurate and timely loss feedback enables RSS to react aggressively without hardware assistance. This tight integration keeps per-flow state small (a few per-subflow counters and a receiver bitmap), ensuring scalability and robustness in the presence of asymmetry, failures, and corruption drops.

• Evaluation at scale and on hardware. We evaluate RSS+PFLD at scale using large-scale packet-level simulations over a best-effort underlying fabric, spanning AI collectives, end-to-end LLM training traces, and replayed HPC workloads, and further validate implementation feasibility via a programmable DPU prototype. Ordered Chaos improves tail flow completion time by up to 3×3\times and accelerates collective and training communication by up to 35%.

Figure

Figure 2: Routing decisions for different load balancing approaches using a sample switch with 3 50 Gbps input ports and 2 output ports (one running at 100 Gbps and the other at 50 Gbps). Packets flow upward, from the input ports at the bottom to the output ports at the top. FB stands for FlowBender and AR for Adaptive Routing.

References (51)