All-to-All Communication Scheduling for Direct-Connect Topologies

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing all-to-all collective communication schedules face challenges in scalability, bandwidth optimization, and compatibility with diverse machine learning (ML) and high-performance computing (HPC) fabrics, particularly in supercomputer-scale topologies, leading to bottlenecks and inefficiencies.

Innovation Solution

A holistic approach is taken to optimize all-to-all collective communications using a max concurrent multi-commodity flow (MCF) framework, decomposed and parallelized for efficient schedule computation, and applied to direct-connect interconnects with mixed topologies, incorporating time-stepped and path-based schedules to handle various interconnect technologies and routing mechanisms.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If traditional all-to-all collective communication schedules are used, then implementation is simpler, but bandwidth utilization is poor and performance is limited

Engineering Contradiction:
Improvebandwidth utilizationVSAvoidschedule computation complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent segments the all-to-all communication problem into multiple independent path computations. Instead of computing a single global schedule, it divides the communication into N-1 separate all-to-one communications, each with its own optimized path. This segmentation enables better bandwidth utilization while keeping individual schedule computations manageable.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a new dimension to path selection by considering multi-commodity flow optimization. It transforms the traditional single-path routing into a multi-dimensional flow problem where multiple data streams share network resources efficiently. This dimensional expansion allows achieving near-optimal bandwidth utilization without proportionally increasing complexity.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Productivity

If max concurrent multi-commodity flow (MCF) framework is applied, then bandwidth optimization improves, but computation time increases significantly

Engineering Contradiction:
Improvecommunication efficiencyVSAvoidschedule computation time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent segments the large-scale MCF problem into N-1 smaller all-to-one communication problems. Each segment can be solved independently and in parallel, reducing the overall computation time while maintaining the bandwidth optimization benefits of the MCF framework. This segmentation makes the solution scalable to supercomputer-scale topologies.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies partial MCF optimization by focusing on the most critical path computations rather than solving the complete MCF problem for all node pairs simultaneously. It computes schedules for N-1 representative source nodes, which provides sufficient bandwidth optimization without the prohibitive cost of exhaustive computation.

Inventive Principle:
Principle #16Partial or excessive action

3Productivity

If schedules are optimized for specific topologies, then performance improves for that topology, but adaptability to diverse interconnect technologies decreases

Engineering Contradiction:
Improvecommunication performanceVSAvoidcompatibility with diverse fabrics
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The patent develops a universal scheduling framework that works across diverse interconnect technologies including host-based fabrics, NIC-based fabrics, and direct-connect topologies. The multi-commodity flow formulation is topology-agnostic and can be applied to any network structure, providing both high performance and broad adaptability through a single unified approach.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent adapts to different interconnect technologies by adjusting key parameters such as bandwidth capacities, latency values, and routing constraints in the MCF formulation. This parameter-based adaptation allows the same scheduling framework to optimize performance across heterogeneous fabrics without requiring topology-specific algorithms.

Inventive Principle:
Principle #35Parameter changes

4Productivity

If direct-connect topology is used, then bandwidth utilization improves, but routing complexity and path computation difficulty increase

Engineering Contradiction:
Improvebandwidth utilizationVSAvoidrouting complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent simplifies routing in direct-connect topologies by segmenting the communication into N-1 independent all-to-one flows. Each flow has a dedicated path computation that avoids the complexity of coordinating N(N-1) simultaneous point-to-point communications. This segmentation reduces routing complexity while maintaining high bandwidth utilization.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent performs preliminary path computation for each all-to-one communication before executing the all-to-all collective operation. By pre-computing optimized paths for N-1 source nodes, the system eliminates the need for complex dynamic routing decisions during execution, simplifying the routing process while achieving optimal bandwidth utilization.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20250373535A1Efficient all-to-all collective communication schedules for direct-connect topologies
Publication Date: 2025.12.04 RTX BBN TECH INC
  • US20250373535A1 patent drawing
  • US20250373535A1 patent drawing
  • US20250373535A1 patent drawing

AI summary

A method of performing all-to-all collective communication scheduling includes scaling a max concurrent multi-commodity flow (MCF) framework by decomposing a MCF problem and parallelizing the MCF problem to perform a fast link-based all-to-all schedule computation. The method further includes computing a time-stepped version of the MCF problem for a host-based forwarding network topology, utilizing the time-stepped version of the MCF problem to create a direct-connect graph, and then using the direct-connect graph to compute time-stepped MCF schedules to manage a mixed topology. The method further includes identifying a direct-connect topology to perform all-to-all collective communication based on the time-stepped MCF schedules.