Papers
Topics
Authors
Recent
Search
2000 character limit reached

Revisiting Bruck: Phase-Efficient All-to-All Communication in Reconfigurable Networks

Published 26 May 2026 in cs.DC and cs.NI | (2605.26930v1)

Abstract: All-to-All communication is a key performance bottleneck for distributed ML and high-performance computing (HPC) workloads, where dense traffic increasingly stresses scale-up interconnects. While these ML and HPC workloads have driven unprecedented infrastructure demand, optical reconfigurable networks (ORNs) offer a promising path forward. By adapting the physical topology to the active workload, they improve communication cost and bandwidth utilization. However, their benefit is critically contingent on whether the collective consists of structured phases that can be served by sparse and reusable topology states. In this paper, we revisit Bruck's All-to-All implementation and demonstrate the benefits of topology optimization in which both communication pattern and reconfiguration strategy are co-designed. We present ReTri, a bidirectional All-to-All schedule for ORNs. ReTri uses balanced ternary block propagation to complete All-to-All in $\lceil \log_3 n\rceil$ phases. The induced reconfiguration strategy from ReTri's pairwise bidirectional exchanges allow reconfiguration delays to be amortized across multiple phases. Preliminary simulations show that ReTri improves completion time by up to $10\times$ over static All-to-All, even for millisecond-scale reconfiguration delays, and improving reconfigurable Bruck by up to $2.1\times$.

Authors (2)

Summary

  • The paper introduces ReTri, a co-designed communication strategy that reduces phase count to ⌈log₃ n⌉ via tailored ternary block propagation.
  • It leverages bidirectional exchanges with two transceivers per node to achieve up to 10× speedup over static methods while minimizing reconfiguration overhead.
  • Simulation studies demonstrate enhanced scalability and performance across network sizes, outperforming conventional methods like Bruck's algorithm.

Revisiting Bruck: Phase-Efficient All-to-All Communication in Reconfigurable Networks

Context and Motivation

All-to-All communication constitutes a critical bottleneck in distributed machine learning and high performance computing infrastructures. This pattern is intrinsic to workloads such as Mixture-of-Expert token dispatch and embedding synchronization, where dense, destination-oriented traffic saturates interconnects, often accounting for over half of total training time. As accelerator counts escalate in hyperscale datacenters, conventional electrically switched fabrics struggle with power and bandwidth constraints. Optical Reconfigurable Networks (ORNs), offering programmable physical topologies with bidirectional high-bandwidth links, present a new path to mitigate these bottlenecks; however, the benefit is tightly bound to the structure and phase decomposition of communication collectives, since each topology adjustment incurs non-negligible reconfiguration delay.

Bruck's Algorithm and the Pitfalls of Conventional All-to-All

Traditional All-to-All algorithms, including Bruck's, decompose communication into structured phases with one-directional ring-based block propagation. While they are conducive to ORNs, these algorithms ignore the advantage of bidirectional optical links by treating each direction independently or mirroring the workload. Bandwidth utilization can be doubled, but minimizing the number of communication phases is paramount since each phase may necessitate a network-wide reconfiguration. Direct, destination-oriented All-to-All is ill-suited for ORNs because it lacks structured phase exposure, fails to partition traffic according to optical port constraints, and results in suboptimal topology adaptation. Figure 1

Figure 1: Communication phases for Bruck, ReTri, and direct src-dest All-to-All; ReTri eliminates one phase relative to Bruck.

ReTri: Bidirectional, Ternary, Phase-Optimized All-to-All

The paper introduces ReTri, a co-designed All-to-All communication schedule and reconfiguration strategy optimized for ORNs with two transceivers per node. ReTri leverages a ternary block propagation inspired by the Trivance approach, wherein each node participates in pairwise bidirectional exchanges in every phase, reducing the phase count to log3n\lceil \log_3 n \rceil. The ternary pattern guarantees symmetrical communication with two peers per phase—one to the left and one to the right—forming persistent connected subrings that align precisely with the optical port constraints.

This structure shortens propagation paths and reduces hop counts compared to ring-based schedules, minimizing congestion and latency. The algebraic properties of balanced ternary representation enable deterministic block forwarding and minimal subring formation, ensuring future phase reachability and efficient reuse of topology states. Correctness proofs rooted in combinatorics validate that every source-destination block follows a unique path with balanced load per phase.

Reconfiguration Schedules and Cost Model

ReTri's topology schedule configures degree-two subrings for each phase, matching physical link directionality and maintaining minimal mutual connectivity. The paper develops an extended Hockney α\alpha-β\beta model, characterizing the cost of All-to-All as a sum of per-phase delay, per-hop latency, transmission delay, and reconfiguration overhead. By structuring phases to maximize per-topology block traffic, ReTri amortizes reconfiguration costs across multiple phases and segments. When the number of reconfigurations RR is fixed, the optimal schedule balances the segment lengths. For large systems, frequent reconfiguration is advantageous when the reduction in communication distance and congestion outweighs the reconfiguration delay—a condition increasingly satisfied in the presence of large networks, sizable messages, or limited bandwidth.

Numerical Evaluation

Simulation studies (using Astra-Sim and ns-3) demonstrate that ReTri achieves up to 10×10\times speedup relative to a static All-to-All, even under millisecond-scale reconfiguration delays, and sustains 2.1×2.1\times improvement over Bruck's reconfiguration strategy. For small message sizes and low reconfiguration delay (1μs1\,\mu\mathrm{s}), ReTri's reduced phase count and efficient link utilization provide substantial gains. The speedup persists or grows for larger messages and higher node counts, highlighting scalability. Figure 2

Figure 2: Heatmap of ReTri speedup vs static All-to-All in the n=81n=81 vs n=64n=64 configuration, as a function of message size and reconfiguration frequency.

Figure 3

Figure 3: Heatmap of ReTri speedup vs Bruck's Bridge schedule, indicating consistent gains across network scales.

Additional evaluation across varying network sizes (Figures 5 and 6) confirms that ReTri remains competitive or superior even as reconfiguration delays reach 50ms50\,\mathrm{ms}, which is especially relevant for large payloads or slow optical hardware. Figure 4

Figure 4: Comparison of ReTri and baseline schedules for α\alpha0 and α\alpha1, showing underlined speedups where ReTri outperforms.

Figure 5

Figure 5: Normalized speedup for α\alpha2 (ReTri) and α\alpha3 (Bruck), highlighting performance across scale.

Implications and Open Research Directions

The co-design principle underlying ReTri opens new avenues for collective communication optimization in optical domains, not only for All-to-All but potentially for AllReduce and other structured collectives. Its algebraic, reusable topology states directly translate into deterministic reconfiguration schedules, obviating the need for complex independent topology optimization. Practical deployment will require adaptation for non-power-of-three sizes, more general topologies, and integration with overlapping computation phases.

Synchronization, barrier costs, and control-plane latency pose additional challenges: the benefit of topology reconfiguration is coupled to the ability to align phase transitions with computation or data preparation. ReTri’s deterministic structure is particularly amenable to such overlap, which could further improve practical throughput.

Conclusion

ReTri presents a formal advancement for structured All-to-All scheduling in reconfigurable optical networks. By reducing the number of communication phases via tailored ternary block propagation and co-designing the schedule with the physical topology, ReTri minimizes both communication latency and reconfiguration overhead. Results show strong, quantifiable speedups versus static and Bruck's All-to-All, with advantages that grow in proportion to network size, message volume, and optical switch characteristics. The design principles established here are poised to inform scalable communication architectures for the next generation of distributed ML and HPC systems. Figure 6

Figure 6: ERC funding acknowledgment for FortifyNet project (2026–2027), supporting this research.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.

Tweets

Sign up for free to view the 1 tweet with 2 likes about this paper.