MPIBlib: MPI Benchmark library
P2P benchmark
Performs adaptive p2p benchmark between a pair of processors 0-1. Arguments are described in Options for executables.
Example 1 (standard P2P benchmark):
$ mpirun -n 2 p2p -m 1024 -M 2049 > p2p.out
will benchmark the p2p communication between 2 processes for message sizes of 1024 and 2048 bytes
Example 2 (scatter-gather-based p2p benchmarks, mainly useful for misconfigured long-haul connections with high-bandwidth and high-latency):
cd <install-dir>/bin mpirun -n 2 p2p -m 1024 -M 2029 -P 1 > p2p.out
This example will run with default of 2 extra processes at sender and receiver side, respectively.
p2p.plot draws the graph of the execution time (sec) against message size (kb).
- input: p2p.out
- output: p2p.eps (0-1 with error bars)
Using the gnuplot script:
$ gnuplot p2p.plot