Abstract
The MPI standard provides the foundational building blocks for most parallel applications running on large-scale HPC systems. Collective communication operations in MPI are critical components for the scalability of these applications. Most MPI libraries offer several algorithms for each specific collective operation, and each library selects the algorithm to be used based on the number of processes, the message size, and possibly other factors. Each collective algorithm may perform better in certain scenarios, and thus, selecting the most suitable algorithm for each use case is essential. However, even the best algorithm in a given MPI library may deliver suboptimal performance. Self-consistent MPI performance guidelines capture semantic relationships between different collective operations and exploit these to express performance expectations that collectives should reasonably satisfy to be considered performance-consistent. For collective communication, such performance guidelines typically state that a specialized collective call should not be slower than less specialized counterparts. In this article, we demonstrate how the consistency of MPI libraries with respect to performance guidelines can be analyzed. For this purpose, we present a tool that checks guideline compliance. For regular collective operations such as MPI_Bcast, the tool contains multiple emulated versions of the collective by composing less specialized operations. Then, for a specific number of processes and message sizes, the tool experimentally assesses whether the algorithm selected by the MPI library is slower than its emulated counterparts. If that is the case, a performance-guideline violation is detected. In a broader empirical study, we assess the current state of performance consistency in MPI libraries on modern supercomputers.
| Original language | English |
|---|---|
| Article number | 103205 |
| Journal | Parallel Computing |
| Volume | 129 |
| DOIs | |
| Publication status | Published - Sept 2026 |
Funding
We thank Maximilian Hagn (TU Wien) for helping us to implement PGchecker.This work was partially supported by the Austrian Science Fund (FWF): project P 33884-N. We acknowledge PRACE and EuroHPC Joint Undertaking for awarding us access to LUMI at CSC, Finland.We acknowledge the DCGP Austria 2024 project for awarding us access to Leonardo at Cineca, Italy. This work was partially supported by the Austrian Science Fund (FWF) : project P 33884-N . We acknowledge PRACE and EuroHPC Joint Undertaking for awarding us access to LUMI at CSC, Finland.
Austrian Fields of Science 2012
- 102023 Supercomputing
Keywords
- Collective communication
- MPI
- Benchmarks
- Performance guidelines
Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver