Analysis of Pipelined Circuit Switching in Cube Networks (Research Note)

Geyong Min, Mohamed Ould-Khaoua

Introduction

In high-performance computing (HPC), the efficiency of data movement between nodes is a primary determinant of system performance. While wormhole switching has been a popular choice, it often requires strict routing constraints to avoid deadlocks. Pipelined Circuit Switching (PCS) offers a compelling alternative, combining the path reservation of circuit switching with the pipelined data transfer of wormhole switching. A defining feature of PCS is its ability to handle congestion through backtracking: if a header flit encounters a blocked channel, it backtracks to the previous node to explore alternative routes. This mechanism ensures deadlock-free operation and supports highly flexible adaptive routing. However, the stochastic nature of backtracking has historically made PCS difficult to model analytically. This research note presents the first comprehensive analytical model for PCS in hypercube networks, accounting for virtual channel multiplexing.

The Analytical Model

The proposed model decomposes message latency into three constituent parts:

  1. Path Set-up Time ($C$): The duration required for the header to establish a complete route from source to destination.
  2. Network Latency ($S$): The time taken for the message data to traverse the established path.
  3. Waiting Time ($W_s$): The time a message spends in the source queue prior to transmission.

To address the complexity of path set-up, the authors utilize a Markov Chain where each state represents the number of hops the header has successfully traversed. Transitions between states represent either forward progress or backtracking due to channel contention. Furthermore, the model incorporates M/G/1 queueing theory to calculate source wait times. A significant contribution is the inclusion of a scaling factor ($\bar{V}$) that models "virtual channel multiplexing," capturing how the sharing of physical links among multiple logical streams impacts individual stream bandwidth and overall latency.

Experimental Validation and Results

The analytical model was validated against a custom discrete-event simulator across various network configurations, including 64-node (2-ary 6-cube) and 256-node (2-ary 8-cube) hypercubes under uniform traffic patterns. Message lengths of 32 and 48 flits were tested.

Comparison of analytical model and simulation results for 2-ary 6-cube (V=7) and 2-ary 8-cube (V=9) networks.

As shown in the figure above, the analytical model demonstrates high fidelity to the simulation data. The predicted latency curves closely track the simulation results across a range of traffic rates, accurately identifying the network's saturation point—the threshold where traffic volume causes latency to increase exponentially. These results confirm the model's robustness across different hypercube dimensions and varying numbers of virtual channels.

Conclusion and Future Work

This research provides a reliable mathematical framework for predicting the performance of PCS in hypercube architectures. By treating backtracking as a state-based random walk, the authors have simplified a complex routing protocol into solvable equations. While the current model assumes uniform traffic and is specific to hypercube topologies, it lays the groundwork for future generalizations. Subsequent research aims to extend this model to high-radix $k$-ary $n$-cubes, such as meshes and tori, to broaden its applicability to a wider range of modern supercomputing interconnects.

Summary updated

BibTeX
@inproceedings{min2000analysis,
  author = {Geyong Min and Mohamed Ould-Khaoua},
  title = {{Analysis of Pipelined Circuit Switching in Cube Networks (Research Note)}},
  booktitle = {Euro-Par},
  year = {2000},
  doi = {10.1007/3-540-44520-x\_126},
}
Figure