Skip to main navigation Skip to search Skip to main content

Synchronizing MPI Processes in Space and Time

  • TU Wien
  • University of Tennessee

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

3 Scopus citations

Abstract

Performance benchmarks are an integral part of the development and evaluation of parallel algorithms, both in distributed applications as well as MPI implementations themselves. The initial step of the benchmark process is to obtain a common timestamp to mark the start of an operation across all involved processes, and the state-of-The-Art in many applications and widely used MPI benchmark suites is the use of MPI barriers. In this paper, we show that the synchronization in space provided by an MPI_Barrier is insufficient for proper benchmark results of parallel distributed algorithms, using MPI collective operations as examples. The resulting lack of a global start timestamp for an operation leads to skewed results, with a significant impact of the used barrier algorithm. In order to mitigate these issues, we propose and discuss the implementation of MPIX_Harmonize, which extends the synchronization in space provided by MPI_Barrier with a time synchronization to guarantee a common starting timestamp across all involved processes. By replacing the use of MPI_Barrier with MPIX_Harmonize, benchmark implementors can eliminate skews resulting from barrier algorithms and achieve stable performance benchmark results. We will show that the proper time synchronization can have significant impact on the benchmark results for various implementations of MPI_Allreduce, MPI_Reduce, and MPI_Bcast.

Original languageEnglish
Title of host publicationProceedings of the 30th European MPI Users'' Group Meeting, EuroMPI 2023
PublisherAssociation for Computing Machinery
ISBN (Electronic)9798400709135
DOIs
StatePublished - Nov 19 2023
Event30th European MPI Users'' Group Meeting, EuroMPI 2023 - Bristol, United Kingdom
Duration: Sep 11 2023Sep 13 2023

Publication series

NameACM International Conference Proceeding Series

Conference

Conference30th European MPI Users'' Group Meeting, EuroMPI 2023
Country/TerritoryUnited Kingdom
CityBristol
Period09/11/2309/13/23

Keywords

  • MPI
  • OSU benchmarks
  • allreduce
  • barrier
  • broadcast
  • clock synchronization
  • collective communication
  • process synchronization
  • reduce

Fingerprint

Dive into the research topics of 'Synchronizing MPI Processes in Space and Time'. Together they form a unique fingerprint.

Cite this