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 2: Measuring MPI Bandwidth Between Two Nodes<br />

Benchmark 2: Measuring MPI Bandwidth<br />

Between Two Nodes<br />

The osu_bw benchmark measures the maximum rate that you can pump data<br />

between two nodes. This benchmark also uses a ping-pong mechanism, similar to<br />

the osu_latency code, except in this case, the originator of the messages<br />

pumps a number of them (64 in the installed version) in succession using the<br />

non-blocking MPI_I send function, while the receiving node consumes them as<br />

quickly as it can using the non-blocking MPI_Irecv function, and then returns a<br />

zero-length acknowledgement when all of the sent data has been received.<br />

You can run this program by typing:<br />

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

Typical output might look like:<br />

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

# Size Bandwidth (MB/s)<br />

1 3.549325<br />

2 7.110873<br />

4 14.253841<br />

8 28.537989<br />

16 42.613030<br />

32 81.144290<br />

64 177.331433<br />

128 348.122982<br />

256 643.742171<br />

512 1055.355552<br />

1024 1566.702234<br />

2048 1807.872057<br />

4096 1865.128035<br />

8192 1891.649180<br />

16384 1898.205188<br />

32768 1888.039542<br />

65536 1931.339589<br />

131072 1942.417733<br />

262144 1950.374843<br />

524288 1954.286981<br />

1048576 1956.301287<br />

2097152 1957.351171<br />

4194304 1957.810999<br />

The increase in measured bandwidth with the messages’ size is because the<br />

latency’s contribution to the measured time interval becomes relatively smaller.<br />

D000046-005 B B-3

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

Saved successfully!

Ooh no, something went wrong!