Minimal Aggregated Shared Memory Messaging on Distributed Memory Supercomputers
Authors:
- Benjamin F. JamrozBJBenjamin F. Jamroz
- John M. DennisJDJohn M. Dennis
- 1 May 2016
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 669-678
Abstract
Many high-performance distributed memory applications rely on point-to-point messaging using the Message Passing Interface (MPI). Due to the latency of the network, and other costs, this communication can limit the scalability of an application when run on high node counts of distributed memory supercomputers. Communication costs are further increased on modern multi-and many-core architectures, when using more than one MPI process per node, as each process sends and receives messages independently, inducing multiple latencies and contention for resources. In this paper, we use shared memory constructs available in the MPI 3.0 standard to implement an aggregated communication method to minimize the number of inter-node messages to reduce these costs. We compare the performance of this Minimal Aggregated SHared Memory (MASHM) messaging to the standard point-to-point implementation on large-scale supercomputers, where we see that MASHM leads to enhanced strong scalability of a weighted Jacobi relaxation. For this application, we also see that the use of shared memory parallelism through MASHM and MPI 3.0 can be more efficient than using Open Multi-Processing (OpenMP). We then present a model for the communication costs of MASHM which shows that this method achieves its goal of reducing latency costs while also reducing bandwidth costs. Finally, we present MASHM as an open source library to facilitate the integration of this efficient communication method into existing distributed memory applications.Keywords
This publication has 11 references indexed in Scilit:
- There goes the neighborhood2013
- MPI + MPI: a new hybrid approach to parallel programming with MPI plus shared memoryComputing, 2013
- Modeling the Performance of an Algebraic Multigrid Cycle Using Hybrid MPI/OpenMP2012
- Leveraging MPI’s One-Sided Communication Interface for Shared-Memory ProgrammingLecture Notes in Computer Science, 2012
- CAM-SE: A scalable spectral element dynamical core for the Community Atmosphere ModelThe International Journal of High Performance Computing Applications, 2011
- The Community Climate System Model Version 4Journal of Climate, 2011
- VORPAL: a versatile plasma simulation codeJournal of Computational Physics, 2004
- Iterative Methods for Sparse Linear Systems2003
- A Multigrid Tutorial, Second Edition2000
- Co-array Fortran for parallel programmingACM SIGPLAN Fortran Forum, 1998