CPM: A software tool for Communication Performance Modelling

Measurement: benchmarking specific communication experiments

Functions

void CPM_measure_p2pp (MPI_Comm comm, int M, int parallel, MPIB_precision precision, MPIB_result *results)
void CPM_measure_p2pp_p2p (MPI_Comm comm, int M, int parallel, MPIB_precision precision, MPIB_result *results_p2pp, MPIB_result *results_p2p[2])

Detailed Description

This module extends the MPIBlib functionality in order to measure the execution time of some specific communication experiments required to estimate the parameters of communication performance models.


Function Documentation

void CPM_measure_p2pp ( MPI_Comm  comm,
int  M,
int  parallel,
MPIB_precision  precision,
MPIB_result *  results 
)

Measures the 1-to-2 execution times.

Measures the execution times of

  • $ i \xlongleftrightarrow[0]{M} jk $,
  • $ j \xlongleftrightarrow[0]{M} ik $,
  • $ k \xlongleftrightarrow[0]{M} ij $

in the communicator, $ i < j < k $.

Parameters:
comm communicator, number of nodes $ \ge 3 $
M message size
parallel several non-overlapped p2pp communications at the same time if non-zero
precision measurement parameters
results array of $ 3 C_n^3 $ measurement results (significant only at root)
void CPM_measure_p2pp_p2p ( MPI_Comm  comm,
int  M,
int  parallel,
MPIB_precision  precision,
MPIB_result *  results_p2pp,
MPIB_result *  results_p2p[2] 
)

Measures the 1-to-2 and 1-to-1 execution times.

Measures the execution times of

  • $ i \xlongleftrightarrow[0]{M} jk $, $ i \xlongleftrightarrow[0]{M} j $, $ i \xlongleftrightarrow[0]{M} k $,
  • $ j \xlongleftrightarrow[0]{M} ik $, $ j \xlongleftrightarrow[0]{M} i $, $ j \xlongleftrightarrow[0]{M} k $,
  • $ k \xlongleftrightarrow[0]{M} ij $, $ k \xlongleftrightarrow[0]{M} i $, $ k \xlongleftrightarrow[0]{M} j $

in the communicator, $ i < j < k $.

Parameters:
comm communicator, number of nodes $ \ge 3 $
M message size
parallel several non-overlapped point-to-point communications at the same time if non-zero
precision measurement parameters
results_p2pp array of $ 3 C_n^3 $ measurement results (significant only at root)
results_p2p 2 arrays of $ 3 C_n^3 $ measurement results (significant only at root)