Spanning Tree Collective State Machine for HPC Message Routing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

High Performance Computing (HPC) environments face inefficiencies due to the lack of awareness of network topology in collective operations, leading to increased message handling and synchronization issues as the number of processes grows, which degrades performance.

Innovation Solution

Implementing a collective state machine (CSM) logic and API to coordinate and route operations within a collective group, utilizing a spanning tree to optimize message passing and awareness of network topology, thereby reducing unnecessary communication and improving efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If the number of processes in a collective operation increases, then the computational capability and parallel processing power increase, but the number of messages and synchronization overhead increases, degrading performance

Engineering Contradiction:
Improvecomputational capabilityVSAvoidmessage latency
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent segments the collective operation into a tree-structured hierarchy where processes are organized in levels (root, intermediate, leaf nodes). This segmentation allows the system to divide the communication and synchronization tasks into manageable segments, reducing the complexity of coordinating all processes simultaneously and enabling more efficient message routing.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a hierarchical dimension to the traditional flat process arrangement by organizing processes into a tree structure with multiple levels. This dimensional change enables processes to communicate through intermediate nodes, reducing direct communication overhead and enabling more efficient synchronization across large numbers of processes.

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

2Device complexity

If traditional collective operations are used without topology awareness, then the implementation is simpler, but communication efficiency deteriorates due to unnecessary messages and poor routing

Engineering Contradiction:
Improveimplementation complexityVSAvoidcommunication efficiency
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The patent performs preliminary actions by having processes register themselves with the collective operation manager and establish their positions in the tree structure before actual communication begins. This preliminary setup enables the system to optimize message routing and reduce communication overhead during execution, as the topology information is already available.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces a collective operation manager as an intermediary component that coordinates communication between processes. This manager maintains awareness of the network topology and mediates message passing, routing communications efficiently through the tree structure and reducing unnecessary messages without requiring each process to implement complex routing logic.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Loss of time

If spanning tree topology is implemented for collective operations, then message routing efficiency improves, but the system complexity and setup overhead increase

Engineering Contradiction:
Improvemessage routing timeVSAvoidsystem complexity
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The patent makes the collective operation manager a universal component that handles multiple functions: process registration, topology maintenance, message routing, and synchronization coordination. By consolidating these functions into a single multi-functional manager, the system reduces overall complexity compared to having separate specialized components for each function.

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

Solution Approach 2:

The patent implements self-service mechanisms where processes automatically register themselves with the collective operation manager and declare their participation in the collective operation. This self-service approach eliminates the need for manual configuration or complex setup procedures, reducing system complexity while maintaining efficient topology-aware routing.

Inventive Principle:
Principle #25Self-service

Data Source

PatentEP3198467B1System, method and apparatus for improving the performance of collective operations in high performance computing
Publication Date: 2020.07.29 INTEL CORP
  • EP3198467B1 patent drawingFigure 1
  • EP3198467B1 patent drawingFigure 2
  • EP3198467B1 patent drawingFigure 3~3a

AI summary

System, method, and apparatus for improving the performance of collective operations in High Performance Computing (HPC). Compute nodes in a networked HPC environment form collective groups to perform collective operations. A spanning tree is formed including the compute nodes and switches and links used to interconnect the compute nodes, wherein the spanning tree is configured such that there is only a single route between any pair of nodes in the tree. The compute nodes implement processes for performing the collective operations, which includes exchanging messages between processes executing on other compute nodes, wherein the messages contain indicia identifying collective operations they belong to. Each switch is configured to implement message forwarding operations for its portion of the spanning tree. Each of the nodes in the spanning tree implements a ratcheted cyclical state machine that is used for synchronizing collective operations, along with status messages that are exchanged between nodes. Transaction IDs are also used to detect out-of-order and lost messages.