README.md 1.21 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
margo-p2p-latency
---------------------
margo-p2p-latency is a point to point latency benchmark.  It measures round
trip latency for a noop (i.e. as close to an empty request and response
structure as possible) RPC.

Example compile (must build with MPI support):

```
./configure <normal arguments> CC=mpicc
make 
make tests
```

Example execution (requires mpi):

```
mpiexec -n 2 tests/perf-regression/margo-p2p-latency -i 10 -n sm://
```

-i is number of iterations 
-n is transport to use

margo-p2p-bw
---------------------
margo-p2p-bw is a point to point bandwidth benchmark.  It measures Margo
(Mercury) bulk transfer operations in both PULL and PUSH mode and includes
command line arguments to control the concurrency level.

The timing and bandwidth calculation is performed by the client and includes
a round trip RPC to initiate and complete the streaming transfer.

Example compile (must build with MPI support):

```
./configure <normal arguments> CC=mpicc
make 
make tests
```

Example execution (requires mpi):

```
mpiexec -n 2 ./margo-p2p-bw -x 4096 -n sm:// -c 1 -D 10
```

-x is the tranfer size per bulk operation
-n is transport to use
-c is the concurrency level
-D is the duration of the test (for each direction)