RDMA technology is built upon Infiniband NIC, and OFED package is the basic software stack for RDMA. I will show some methods to look up and test your Infiniband NIC and make sure your RDMA library works well.
Using
lspci
to look up your IB’s Firmware version.1lspci | grep MellanoxStart your opensm service (a service for running RDMA).
1/etc/init.d/opensmd start[restart...]Get information of the whole Infiniband network.
123ibhostsiblinkinfoibswitchesA useful tools works to check whether your IB’s status.
123456ibstatibstatusib_devinfoib_deviceifconfig ibxcat /sys/class/infiniband/mlx4_0/*Tools to benchmark the Throughput(Mpps)/Latency(us)/Bandwidth(Gb) of RNIC.
1ib_[read|write|atomic|send]_[bw|lat]pingpong test
1ib_[rc|uc|srq|task|ud|xsrq|cc]_pingpong