Exploring GPU-to-GPU Communication: Insights into Supercomputer Interconnects

Daniele De Sensi, Lorenzo Pichetti, Flavio Vella, Tiziano De Matteis, Zebin Ren, Luigi Fusco, Matteo Turisini, Daniele Cesarini, Kurt Lust, Animesh Trivedi, Duncan Roweth, Filippo Spiga, Salvatore Di Girolamo, Torsten Hoefler · DOI · OpenReview

Introduction

As modern exascale supercomputing pushes toward systems with tens of thousands of GPUs, the primary performance bottleneck has shifted from individual chip computation speeds to the efficiency of inter-chip communication. A recent study presented at SC24 provides a comprehensive analysis of this "plumbing," conducting the first at-scale comparative study of GPU communication across three of the world's top supercomputers: Alps, Leonardo, and LUMI.

Methodology

The researchers developed a custom benchmarking suite designed to capture per-iteration timing. This granularity is essential for identifying "jitter" or network noise, which standard tools often overlook. The study systematically evaluated intra-node and inter-node communication (scaling up to 4,096 GPUs) across various patterns like point-to-point, Alltoall, and Allreduce. A significant portion of the effort involved aggressive manual tuning of environment variables and library parameters to establish a true performance ceiling.

System Architectures

The study focused on three flagship systems with distinct hardware profiles:

  • Alps (Switzerland): Features NVIDIA H100 GPUs connected via HPE Cray Slingshot 11.
  • Leonardo (Italy): Utilizes NVIDIA A100 GPUs with InfiniBand HDR interconnects.
  • LUMI (Finland): Employs AMD MI250X GPUs and HPE Cray Slingshot 11.
Node architectures for the Alps (a) and Leonardo (b) supercomputers, showing internal links like NVLink and external NIC connections.

Key Findings

The research revealed several critical insights into the current state of exascale interconnects:

The Necessity of Manual Tuning

Out-of-the-box settings rarely achieve peak performance. By manually tweaking parameters such as IPC thresholds and DMA engine configurations, the authors improved performance by up to an order of magnitude.

Software Library Trade-offs

The choice between GPU-Aware MPI and collective libraries (CCL) like NCCL or RCCL depends on message size. MPI typically excels for small, point-to-point messages due to lower overhead, while CCL libraries dominate large data transfers by effectively pipelining data through the hardware topology.

Impact of Network Noise

On the Leonardo system, "network noise"—interference from concurrent jobs—was found to slash collective communication performance by up to 50% at scale. Using InfiniBand "Service Levels" to isolate traffic proved that congestion is a major hurdle for predictable performance.

Performance Results

  • Intra-node Bandwidth: The NVIDIA H100-based Alps system reached internal bandwidths of 1.2 Tb/s between GPU pairs.
  • Scaling Efficiency: Collective libraries maintained approximately 75% efficiency up to 1,024 GPUs. However, scaling beyond 2,048 GPUs often led to benchmark stalls or crashes, indicating stability limits in current software stacks.
  • Topology Effects: On Leonardo, latency doubled when communication crossed network "groups" compared to intra-switch traffic.

Conclusion and Future Work

While current systems offer staggering theoretical performance, bridging the gap to realized performance requires sophisticated tuning and better noise isolation. Future work is needed to address unexplained stalls at extreme scales and to develop more robust adaptive routing mechanisms to mitigate the impact of "noisy neighbors" in shared supercomputing environments.

This summary is based on research presented at SC24.

Summary updated

BibTeX
@misc{sensi2024exploring,
  author = {Daniele De Sensi and Lorenzo Pichetti and Flavio Vella and Tiziano De Matteis and Zebin Ren and Luigi Fusco and Matteo Turisini and Daniele Cesarini and Kurt Lust and Animesh Trivedi and Duncan Roweth and Filippo Spiga and Salvatore Di Girolamo and Torsten Hoefler},
  title = {{Exploring GPU-to-GPU Communication: Insights into Supercomputer Interconnects}},
  year = {2024},
  eprint = {2408.14090},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.14090},
}
Figure