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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

B–Benchmark Programs<br />

Benchmark 4: Measuring MPI Latency in <strong>Host</strong> Rings<br />

Searching for N/2 bandwidth. Maximum Bandwidth of 1958.400649<br />

MB/s...<br />

Found N/2 bandwidth of 992.943275 MB/s at size 153 bytes<br />

Benchmark 4: Measuring MPI Latency in <strong>Host</strong><br />

Rings<br />

The program mpi_latency measures latency in a ring of hosts. Its syntax is<br />

different from Benchmark 1 in that it takes command line arguments that let you<br />

specify the message size and the number of messages to average the results. For<br />

example, running on the nodes, host1, host2, host3 and host4, the command:<br />

$ mpirun -np 4 -H host[1-4] mpi_latency 100 0<br />

Might produce output like this:<br />

0 1.760125<br />

This output indicates that it took an average of 1.76 microseconds per hop to send<br />

a zero-length message from the first host, to the second, to the third, to the fourth,<br />

and then receive replies back in the other direction.<br />

D000046-005 B B-5

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

Saved successfully!

Ooh no, something went wrong!