5
–
Using Other MPIs
Improving Performance of Other MPIs Over IB Verbs
5-12
IB0054606-02 A
Improving Performance of Other MPIs Over IB
Verbs
Performance of MPI applications when using an MPI implementation over IB
Verbs can be improved by tuning the IB MTU size.
The maximum supported MTU size of IB adapter cards is 4K.
Support for 4K IB MTU requires switch support for 4K MTU. The method to set the
IB MTU size varies by MPI implementation:
Open MPI defaults to the lower of either the IB MTU size or switch MTU size.
MVAPICH defaults to an IB MTU size of 1024 bytes. This can be over-ridden
by setting an environment variable:
$
export VIADEV_DEFAULT_MTU=MTU2048
Valid values are
MTU256
,
MTU512
,
MTU1024
,
MTU2048
and
MTU4096
. This
environment variable must be set for all processes in the MPI job. To do so,
use
~/.bashrc
or use of
/usr/bin/env
.
MVAPICH2 defaults to an IB MTU size of 2048 bytes, which should be
sufficient for most applications.
Platform MPI over IB Verbs automatically determines the IB MTU size.
Intel MPI over uDAPL (which uses IB Verbs) automatically determines the IB
MTU size.
NOTE
No manual tuning is necessary for PSM-based MPIs, since the PSM layer
determines the largest possible IB MTU for each source/destination path.
Summary of Contents for OFED+ Host
Page 1: ...IB0054606 02 A OFED Host Software Release 1 5 4 User Guide...
Page 14: ...xiv IB0054606 02 A OFED Host Software Release 1 5 4 User Guide...
Page 22: ...1 Introduction Interoperability 1 4 IB0054606 02 A...
Page 96: ...4 Running MPI on QLogic Adapters Debugging MPI Programs 4 24 IB0054606 02 A...
Page 140: ...6 SHMEM Description and Configuration SHMEM Benchmark Programs 6 32 IB0054606 02 A...
Page 148: ...8 Dispersive Routing 8 4 IB0054606 02 A...
Page 164: ...9 gPXE HTTP Boot Setup 9 16 IB0054606 02 A...
Page 176: ...A Benchmark Programs Benchmark 3 Messaging Rate Microbenchmarks A 12 IB0054606 02 A...
Page 202: ...B SRP Configuration OFED SRP Configuration B 26 IB0054606 02 A Notes...
Page 206: ...C Integration with a Batch Queuing System Clean up PSM Shared Memory Files C 4 IB0054606 02 A...
Page 238: ...E ULP Troubleshooting Troubleshooting SRP Issues E 20 IB0054606 02 A...
Page 242: ...F Write Combining Verify Write Combining is Working F 4 IB0054606 02 A Notes...
Page 280: ...G Commands and Files Summary of Configuration Files G 38 IB0054606 02 A...
Page 283: ......