NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Reducing communication in algebraic multigrid with multi-step node aware communication

Amanda Bienz, William D. Gropp, Luke N. OlsonInt. J. High Perform. Comput. Appl 2019 · DOI

Abstract

Algebraic Multigrid (AMG) is a critical algorithm for solving large-scale sparse linear systems, yet its performance is increasingly limited by communication overhead on modern supercomputers. This paper introduces Node-Aware Parallel (NAP) communication strategies designed to mitigate the "communication wall" encountered during strong scaling. By aggregating data locally on nodes before network transmission and employing performance models to select optimal communication patterns, the authors demonstrate up to a 4x speedup at the strong scaling limit on high-performance computing clusters.

Introduction: The Communication Wall

In the realm of high-performance computing, Algebraic Multigrid (AMG) is favored for its linear scaling with respect to the number of unknowns. However, as solvers scale to thousands of processor cores, they encounter a fundamental bottleneck: communication overhead. In strong scaling scenarios, where the problem size remains fixed but the number of processors increases, the computational work per core diminishes while the time spent on inter-process communication grows. Eventually, a threshold is reached where adding more processors increases the total solve time, a phenomenon known as the "communication wall."

The communication wall in strong scaling.

Node-Aware Parallel (NAP) Strategies

To address this, the authors propose Node-Aware Parallel (NAP) strategies. Unlike standard MPI communication, which is often "location-blind," NAP strategies prioritize faster intra-node data transfers over slower inter-node network messages.

Two primary approaches are introduced:

  • NAP-3 (Three-Step): Data is gathered from all processes on a node to a single "proxy" process. This proxy handles the inter-node communication, and the receiving proxy redistributes the data locally. This significantly reduces the total number of messages traversing the network.
  • NAP-2 (Two-Step): A hybrid approach where processes aggregate data locally but send it directly to the destination process on the remote node, balancing message count reduction with avoiding single-proxy bottlenecks.

A key innovation is the use of performance models based on the max-rate model. During the setup phase, the solver dynamically evaluates Standard, NAP-2, and NAP-3 strategies for every matrix operation at each level of the multigrid hierarchy, selecting the most efficient method for the specific hardware and problem state.

The Coarse Grid Crisis

The communication bottleneck is most severe at the "coarse" levels of the AMG hierarchy. At these levels, the amount of data per process is minimal, but the number of required messages remains high, leading to inefficient "all-to-all" style communication.

Breakdown of setup time by AMG level.

As shown in Figure 4, the ratio of communication to computation shifts dramatically as the grid coarsens. NAP strategies are particularly effective here, as they transform many small, high-latency network messages into fewer, larger ones.

Results and Scalability

The proposed methods were tested on systems like Blue Waters and Quartz using complex 3D benchmarks from the MFEM library. Key results include:

  • Significant Speedups: On the MFEM Grad-Div system, the node-aware approach achieved nearly a 4x speedup near the strong scaling limit compared to standard implementations like Hypre.
  • Extended Scaling: While standard solvers began to degrade around 512 to 1,024 processes, the node-aware solver continued to scale effectively up to 16,384 processes.
  • Model Accuracy: The performance models proved highly reliable, consistently selecting the communication strategy that yielded the lowest measured execution time.

Conclusion

By shifting from location-blind to node-aware communication, this research provides a path forward for AMG solvers to overcome the communication wall on exascale systems. While NAP strategies introduce slight setup overhead and potential load imbalances, the substantial gains in solve-time efficiency and scalability make them a vital tool for future high-performance scientific computing. Future work may extend these concepts to GPU architectures, where memory access hierarchies present even greater communication challenges.

Summary updated

BibTeX
@article{bienz2019reducing,
  author = {Amanda Bienz and William D. Gropp and Luke N. Olson},
  title = {{Reducing communication in algebraic multigrid with multi-step node aware communication}},
  journal = {Int. J. High Perform. Comput. Appl.},
  year = {2019},
  doi = {10.1177/1094342020925535},
}
Figure