Skip to main content
QUICK REVIEW

[Paper Review] MPI Benchmarking Revisited: Experimental Design and Reproducibility

Sascha Hunold, Alexandra Carpen-Amarie|arXiv (Cornell University)|May 28, 2015
Parallel Computing and Optimization TechniquesComputer Science18 references6 citations
TL;DR

This paper proposes a statistically sound and reproducible MPI benchmarking methodology that addresses critical issues in experimental design, including clock and process synchronization, and identifies hidden experimental factors affecting run-time measurements. By introducing a novel clock synchronization algorithm and rigorous statistical analysis, the authors reduce measurement variance and enable fair, repeatable comparisons of MPI implementations across diverse supercomputer architectures.

ABSTRACT

The Message Passing Interface (MPI) is the prevalent programming model used on today's supercomputers. Therefore, MPI library developers are looking for the best possible performance (shortest run-time) of individual MPI functions across many different supercomputer architectures. Several MPI benchmark suites have been developed to assess the performance of MPI implementations. Unfortunately, the outcome of these benchmarks is often neither reproducible nor statistically sound. To overcome these issues, we show which experimental factors have an impact on the run-time of blocking collective MPI operations and how to control them. We address the problem of process and clock synchronization in MPI benchmarks. Finally, we present a new experimental method that allows us to obtain reproducible and statistically sound MPI measurements.

Motivation & Objective

  • To address the lack of reproducibility and statistical soundness in existing MPI benchmarking practices.
  • To identify and control experimental factors—such as compiler flags, DVFS settings, and mpirun calls—that significantly affect MPI run-time measurements.
  • To develop a benchmarking framework that ensures accurate, repeatable, and statistically valid performance comparisons of MPI libraries.
  • To reduce measurement variance in MPI benchmarks by improving clock and process synchronization.
  • To provide a standardized, evidence-based method for evaluating MPI performance across heterogeneous supercomputing systems.

Proposed method

  • Introducing a novel clock synchronization algorithm that accounts for inter-process clock drift, improving timing accuracy beyond simple offset correction.
  • Using a window-based synchronization approach with globally synchronized clocks to minimize timing jitter in MPI function measurements.
  • Applying randomized experimental design to control for hidden variables such as link order and environment size.
  • Employing nonparametric hypothesis tests—specifically the Wilcoxon signed-rank test—to compare performance across MPI implementations with robust statistical inference.
  • Implementing a multi-replication measurement scheme with statistical confidence intervals to assess variability and ensure reliability.
  • Validating the method using the Grid’5000 testbed to demonstrate reduced variance and improved reproducibility compared to existing benchmarks.

Experimental results

Research questions

  • RQ1How do clock and process synchronization methods impact the accuracy and reproducibility of MPI benchmark run-times?
  • RQ2Which experimental factors—beyond input size and message length—significantly influence MPI function performance measurements?
  • RQ3To what extent does the mpirun invocation itself affect measured run-times, even with identical configurations?
  • RQ4Can a statistically sound benchmarking framework reduce measurement variance and improve reproducibility in MPI performance evaluation?
  • RQ5How can nonparametric statistical tests be effectively applied to compare MPI library performance with high confidence and low Type I error?

Key findings

  • Clock drift between processes introduces significant timing errors in MPI benchmarks, especially for short-lived operations, and must be corrected for accurate measurement.
  • The mpirun command itself is a critical experimental factor, as different invocations of the same benchmark can produce significantly different mean run-times even with identical configurations.
  • Compiler flags and DVFS settings were found to have a measurable impact on MPI function run-times, highlighting the need for controlled experimental conditions.
  • The proposed benchmarking method reduced measurement variance across experiments, resulting in more reproducible and reliable performance comparisons than existing suites.
  • Statistical analysis using the Wilcoxon signed-rank test provided strong evidence for performance differences between MPI implementations, increasing the reliability of benchmark comparisons.
  • The new clock synchronization algorithm achieved higher accuracy than existing methods (e.g., Netgauge, SKaMPI) by accounting for clock drift, reducing timing errors in collective operations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.