27.12.2014 Views

QLogic OFED+ Host Software User Guide, Rev. B

QLogic OFED+ Host Software User Guide, Rev. B

QLogic OFED+ Host Software User Guide, Rev. B

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

B–Benchmark Programs<br />

Benchmark 1: Measuring MPI Latency Between Two Nodes<br />

defined. The program uses a loop, executing many such exchanges for each<br />

message size, to get an average. The program defers the timing until the<br />

message has been sent and received a number of times, to be sure that all the<br />

caches in the pipeline have been filled.<br />

This benchmark always involves two node programs. It can be run with the<br />

command:<br />

$ mpirun -H host1,host2 osu_latency<br />

-H (or --hosts) allows the specification of the host list on the command line<br />

instead of using a host file (with the -m or -machinefile option). Since only two<br />

hosts are listed, this implies that two host programs will be started (as if -np 2<br />

were specified). The output of the program looks like:<br />

# OSU MPI Latency Test (Version 2.0)<br />

# Size Latency (us)<br />

0 1.06<br />

1 1.06<br />

2 1.06<br />

4 1.05<br />

8 1.05<br />

16 1.30<br />

32 1.33<br />

64 1.30<br />

128 1.36<br />

256 1.51<br />

512 1.84<br />

1024 2.47<br />

2048 3.79<br />

4096 4.99<br />

8192 7.28<br />

16384 11.75<br />

32768 20.57<br />

65536 58.28<br />

131072 98.59<br />

262144 164.68<br />

524288 299.08<br />

1048576 567.60<br />

2097152 1104.50<br />

4194304 2178.66<br />

The first column displays the message size in bytes. The second column displays<br />

the average (one-way) latency in microseconds. This example shows the syntax of<br />

the command and the format of the output, and is not meant to represent actual<br />

values that might be obtained on any particular TrueScale installation.<br />

B-2 D000046-005 B

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!