User guide
G–Commands and Files
Summary and Descriptions of Commands
G-30 IB0054606-02 A
Test the IB link and bandwidth between two InfiniPath IB adapters.
Using an IB loopback connector, test the link and bandwidth within a single
InfiniPath IB adapter.
The ipath_pkt_test program runs in either ping-pong mode (send a packet,
wait for a reply, repeat) or in stream mode (send packets as quickly as possible,
receive responses as they come back).
Upon completion, the sending side prints statistics on the packet bandwidth,
showing both the payload bandwidth and the total bandwidth (including IB and
InfiniPath headers). See the man page for more information.
ipathstats
The ipathstats program is useful for diagnosing InfiniPath problems,
particularly those that are performance related. It is installed from the
infinipath RPM. It displays both driver statistics and hardware counters,
including both performance and "error" (including status) counters.
Running ipathstats -c 10, for example, displays the number of packets and
32-bit words of data being transferred on a node in each 10-second interval. This
output may show differences in traffic patterns on different nodes, or at different
stages of execution. See the man page for more information.
lsmod
When you need to find which InfiniPath and OpenFabrics modules are running,
type the following command:
# lsmod | egrep ’ib_|rdma_|findex’
modprobe
Use this program to load/unload the drivers. You can check to see if the driver has
loaded by using this command:
# modprobe -v ib_qib
The -v option typically only prints messages if there are problems.
The configuration file that modprobe uses is /etc/modprobe.conf
(/etc/modprobe.conf.local on SLES). In this file, various options and
naming aliases can be set.