TL;DR
Spritz is a novel, sender-based load balancing framework that brings adaptive, topology-aware routing directly to network endpoints using standard commodity Ethernet features. By eliminating the need for proprietary, vendor-specific switch hardware, Spritz achieves up to a 1.8x improvement in flow completion times for AI workloads and up to a 25.4x speedup under link failures.
What Problem Does This Paper Address?
Modern datacenters and High-Performance Computing (HPC) clusters are rapidly converging, driven by the massive demands of large-scale AI training. This shift has popularized low-diameter network topologies like Dragonfly and Slim Fly, which minimize the number of switch-to-switch hops to deliver high bandwidth and low latency at a lower cabling cost than traditional Fat Tree networks.
However, load balancing in these networks is notoriously difficult. Because low-diameter networks feature paths of different lengths (short "minimal" paths and longer "non-minimal" paths), routing algorithms must constantly decide whether to take a short path that might be congested or a longer path that might be free. Existing solutions (like UGAL-L) either rely on purely local switch information—leading to globally suboptimal routing choices—or depend on proprietary, vendor-specific hardware features (such as Broadcom's DLB or NVIDIA's Adaptive RoCE). This lack of open standards limits interoperability and complicates vendor-neutral deployments in the emerging Ultra Ethernet era.
Methods
The authors introduce Source-Guided Adaptive Routing, which shifts the routing intelligence entirely from the network switches to the endpoints (the sending servers).
- Two-Hop Control: The core insight is that by controlling just the first two hops of a packet's journey, the sender can steer traffic through any bounded simple path in a Dragonfly or Slim Fly network. Spritz achieves this by splitting a standard 16-bit Entropy Value in the packet header into two 8-bit fields (EV1 and EV2). These fields manipulate standard Equal-Cost Multi-Path (ECMP) hashing at the first two switches, allowing the source to precisely select the path.
- Standard Feedback Signals: Instead of relying on custom hardware, Spritz monitors network health using standard commodity Ethernet signals: Explicit Congestion Notification (ECN) bits, packet trimming (where congested switches clip the payload but forward the header as an early loss warning), and timeouts.
- Two Tailored Algorithms:
- Spritz-Scout: Uses weighted random sampling to explore paths based on latency. Once it identifies a clear path, it caches and reuses it for subsequent packets until negative feedback occurs, minimizing packet reordering.
- Spritz-Spray: A lower-overhead variant that continuously sprays packets across a circular buffer of cached good paths, maximizing path diversity for architectures that tolerate out-of-order delivery.
The overall architecture and control loop of this framework are illustrated below:
Datasets
The framework was evaluated using htsim, a packet-level network simulator configured with networks of approximately 1,000 endpoints. The authors tested Spritz against several workloads:
- Synthetic Microbenchmarks: Permutation patterns, adversarial routing topologies designed to break minimal routing, and synchronized incast hotspots.
- AI Communication Collectives: Allreduce (using both Ring and Butterfly algorithms) and Alltoall patterns, mirroring actual distributed AI training traffic.
- Datacenter Traces: A realistic web search workload trace derived from a production datacenter.
Key Insights and Ideas
- The Power of Two Hops: It is highly elegant that endpoints do not need full source routing (which modifies the entire packet path) to exploit network diversity. Controlling just the first two hops is mathematically sufficient to access all necessary paths in these low-diameter topologies.
- Edge Intelligence Beats Switch State: Instead of requiring switches to maintain and exchange complex global congestion metrics, endpoints can effectively infer path quality purely from end-to-end transport feedback.
- Commodity-First Design: Spritz proves that advanced, topology-aware adaptive routing can be achieved on standard, vendor-neutral Ethernet hardware today, bypassing the need for specialized silicon.
The routing mechanism across these topologies is detailed here:
Key Results
- Workload Speedups: Spritz consistently outperforms standard UGAL-L, ECMP, and prior sender-side schemes (like Flicr), yielding up to a 1.8x speedup in flow completion times (FCT) under adversarial traffic and AI training workloads.
- Extreme Fault Tolerance: In simulations where 2% of the network links randomly fail, Spritz achieves a massive 2.5x to 25.4x speedup over alternative resilient baselines like Valiant routing. Traditional switch-level routing schemes completely failed to complete the workloads within the time limit due to slow convergence.
- Bystander Protection: During heavy incast events (where many senders overwhelm a single receiver), Spritz successfully steers background "bystander" traffic away from the congested hotspot zones, reducing collateral tail latency by roughly 18%.
Limitations and Future Work
- Memory Scaling: Endpoints must maintain a path lookup table. While storing all paths requires a manageable ~2.3 MiB for Dragonfly and ~8.5 MiB for Slim Fly at 40,000 endpoints, scaling to hundreds of thousands of nodes will require path-pruning techniques to keep the memory footprint low.
- Packet Reordering: The exploration phase of Spritz-Scout can introduce packet reordering. While next-generation transport protocols (like Ultra Ethernet, SRD, or Falcon) handle out-of-order packets gracefully, legacy transport layers may experience performance degradation.
- Tiny Flow Overhead: Because Spritz's endpoint learning mechanism is inherently reactive, it shows slightly higher FCTs for workloads dominated entirely by massive numbers of tiny flows compared to static minimal routing.
Summary updated