Mitigating Network Noise on Dragonfly Networks through Application-Aware Routing

Daniele De Sensi, Salvatore Di Girolamo, Torsten HoeflerSC 2019 · DOI · OpenReview

Abstract

Network noise—interference caused by shared resources—is a major performance killer in high-performance computing (HPC). While modern Dragonfly topologies employ adaptive routing to mitigate congestion, this strategy can paradoxically increase noise by expanding the network footprint of an application. This paper introduces an application-aware routing library that dynamically adjusts routing strategies based on real-time network telemetry. By selecting the optimal balance between minimal and adaptive routing, the proposed system achieves up to a 2x speedup and significantly reduces performance jitter for real-world scientific applications.

Introduction

In large-scale supercomputers, multiple applications concurrently share the interconnection network. When a single application generates high traffic volumes, it creates "network noise," which delays messages for other applications and degrades overall system throughput. Modern Dragonfly topologies attempt to address this through adaptive routing, which distributes packets across non-minimal paths to bypass congested areas. However, this approach is not a universal panacea.

The Dragonfly Routing Dilemma

The authors identify a counter-intuitive drawback to adaptive routing: it can actually increase network noise. By utilizing longer, non-minimal paths, packets traverse a greater number of switches and buffers. This increases the "traffic footprint," potentially interfering with more applications or causing "phantom congestion" for the sender.

Dragonfly network hierarchy showing groups, chassis, and blades, which influence the optimal routing strategy.

The effectiveness of a routing mode depends heavily on the application's communication pattern, message size, and physical job layout. For instance, minimal routing often performs better by reducing the overall traffic footprint, whereas adaptive routing can lead to an application interfering with its own subsequent messages. Because congestion information takes time to propagate, adaptive routing might react to "old news," sending packets on long paths to avoid congestion that has already cleared.

Methodology: Application-Aware Routing

To mitigate these issues, the researchers developed a software-based, dynamic approach consisting of three core components:

1. Performance Modeling

The team created a performance model inspired by the LogP framework. This model utilizes hardware counters from the Network Interface Controller (NIC)—specifically latency ($L$) and stall cycles ($s$)—to estimate message transmission time.

Performance model timing diagram illustrating how NIC counters are used to estimate message transmission time ($T_{msg}$).

2. Noise Measurement Guidelines

Rigorous measurement rules were established to ensure data integrity. These include fixing node allocations to maintain consistency and prioritizing NIC counters over switch counters to ensure that observed correlations reflect direct causal relationships.

3. The Routing Library

The centerpiece of the solution is an application-aware routing library that can be injected into existing MPI applications via LD_PRELOAD. For messages exceeding a 4KiB threshold, the library:

  • Collects network counters from the preceding message.
  • Employs the performance model to predict whether standard Adaptive or High-Bias Minimal routing will be more efficient.
  • Dynamically switches the routing mode for the subsequent message.

Evaluation and Results

The approach was evaluated on the Piz Daint (Cray XC50) and Cori (Cray XC40) supercomputers using a mix of microbenchmarks (e.g., alltoall, halo3d, sweep3d) and real-world scientific codes (e.g., CP2K, WRF, Quantum Espresso, LAMMPS).

Key Findings

  • Performance Improvements: The library delivered up to 2x speedups on microbenchmarks and up to 60% improvements for real applications like LAMMPS and VPFFT.
  • Jitter Reduction: A significant result was the near-elimination of "outliers" (extremely slow messages), leading to much more predictable application performance.
  • Model Validity: The performance model demonstrated a 79% correlation with actual execution times across 40 different node allocations, validating the use of simple NIC counters as health predictors.
  • Dynamic Intelligence: The library correctly identified that global patterns like alltoall typically benefit from adaptive routing, while point-to-point operations like ping-pong and barrier prefer minimal routing.

Conclusion and Future Work

This research demonstrates that application-aware routing can significantly mitigate network noise without requiring hardware modifications. While highly effective, the authors note that the system can occasionally oscillate between routing modes under rapidly changing conditions. Future work will focus on refining decision logic to handle these fluctuations and exploring the interaction between routing strategies and job scheduling policies.

Summary updated

BibTeX
@inproceedings{sensi2019mitigating,
  author = {Daniele De Sensi and Salvatore Di Girolamo and Torsten Hoefler},
  title = {{Mitigating Network Noise on Dragonfly Networks through Application-Aware Routing}},
  booktitle = {SC},
  year = {2019},
  doi = {10.1145/3295500.3356196},
}
Figure