Abstract
Parallel implementations of linear iterative solvers generally alternate between phases of data exchange and phases of local computation. Increasingly large problem sizes on more heterogeneous systems make load balancing and network layout very challenging tasks. In particular, global communication patterns such as inner products become increasingly limiting at scale. We explore the use of asynchronous communication based on one-sided MPI primitives in a multitude of domain decomposition solvers. In particular, a scalable asynchronous two-level method is presented. We discuss practical issues encountered in the development of a scalable solver and show experimental results obtained on state-of-the-art supercomputer systems that illustrate the benefits of asynchronous solvers in load balanced as well as load imbalanced scenarios. Using the novel method, we can observe speed-ups of up to 4x over its classical synchronous equivalent.
Introduction
In the era of high-performance computing (HPC), synchronization is a primary bottleneck. Traditional parallel algorithms typically follow a "bulk-synchronous" pattern where every processor computes a local subproblem and then stalls to exchange data. As we approach exascale computing with millions of cores, these synchronization points lead to significant idle time due to load imbalance and network congestion.
This research proposes a transition to Asynchronous Domain Decomposition. By allowing processors to operate at independent speeds and communicate "on the fly," we can mitigate the impact of system jitter and heterogeneous hardware performance.
The Synchronization Bottleneck
Most modern scientific simulations solve massive systems of linear equations using Domain Decomposition. This involves partitioning a global problem into smaller subdomains, solving them locally, and sharing boundary data. Bulk-synchronous solvers suffer from two main issues:
- Load Imbalance: A single slow processor (the "laggard") forces the entire system to wait at every iteration.
- Network Spikes: Simultaneous communication across all ranks creates massive congestion on high-speed interconnects.
Methods: Asynchronous Restricted Additive Schwarz
The core of this work focuses on the Restricted Additive Schwarz (RAS) method. The standard synchronous implementation (Algorithm 2.1) requires strict coordination for local residual computation and updates.
To improve scalability, a two-level approach is employed, which includes a global "coarse-grid" solve to accelerate convergence. In the synchronous version (Algorithm 2.2), the communication points (indicated by arrows) act as barriers where subdomains must wait for coarse-grid results.
Key Innovations
- Two-Level Asynchrony: The authors introduced a novel method to make the global coarse-grid step asynchronous. Subdomains use Boolean flags (e.g.,
RHSisReady) to check if the coarse solution is available; if not, they continue local iterations with existing data. - One-Sided MPI (RMA): Instead of traditional
Send/Receivepairs, the solver utilizes Remote Memory Access (RMA). This allows a processor to "put" data into a neighbor's memory without requiring the neighbor to be in a matching communication state. - Communication/Computation Overlap: By utilizing the network consistently throughout the solve, the asynchronous model naturally hides communication latency.
Experimental Evaluation
The solvers were evaluated using Poisson Equation benchmarks on the Cori supercomputer at NERSC, scaling up to 4,096 MPI ranks.
Key Results
- 4x Speedup: In 3D weak scaling tests, the asynchronous two-level solver outperformed the classical synchronous version by a factor of four.
- Resilience to Jitter: The asynchronous method proved inherently robust to system noise. When a 50% load imbalance was artificially introduced, the asynchronous solver maintained high efficiency while the synchronous version stalled.
- Scaling Crossover: For one-level solvers, the asynchronous implementation began to outperform the synchronous baseline once the simulation exceeded 64 subdomains.
Conclusion
This work demonstrates that asynchronous communication is a viable and highly effective strategy for exascale-ready solvers. By decoupling computation from strict synchronization, the proposed two-level RAS method achieves significant performance gains and robustness, proving that letting processors run at their own pace is often the fastest path to a global solution.
Summary updated