Documentation, Support, and Training
Understanding ILOM on the Switch
Administering ILOM (Web Interface)
Understanding Switch-Specific Commands
activate Command (switch-specific)
deactivate Command (switch-specific)
Conducts a simple InfiniBand Shared Receive Queue test. Issued on the Linux InfiniBand host.
ibv_srq_pingpong [-p TCP_port][-d device][-i IB_port][-s size][-q numqps][-r depth][-n iters][-l level][-e][-h][IP_address]
where:
TCP_port is the TCP port.
device is the InfiniBand device.
IB_port is the InfiniBand port.
size is the size of the ping-pong messages.
numqps is the number of queue pairs to test.
depth is the number of depth receives to post at one time.
iters is the number of message exchanges.
level is the service level of the queue pair.
IP_address is the IP address of the remote node host.
This InfiniBand software command runs a simple ping-pong test over the InfiniBand fabric through the Reliable Connection transport, using multiple queue pairs and the single Shared Receive Queue. The command is dependent upon the Internet Protocol, so the InfiniBand fabric must be configured with Internet Protocol over InfiniBand (IPoIB). The command is a client-server, in that a remote node is configured as a server, while a local node performs as a client.
The command is first run locally on the server. The command is then run again locally on the client, pointing to the IP address of the server.
Note - This command only functions if your InfiniBand fabric is configured with IPoIB.
The following table describes the options to the ibv_srq_pingpong command and their purposes:
|
The following example shows how to run a simple Shared Receive Queue test between a local node client and a remote node server using the Reliable Connection transport with the ibv_srq_pingpong command. First configure the remote node server:
# ibv_srq_pingpong local address: LID 0x0001, QPN 0xa10406, PSN 0xcf5915 local address: LID 0x0001, QPN 0xa10407, PSN 0xeba912 local address: LID 0x0001, QPN 0xa10408, PSN 0xd036be local address: LID 0x0001, QPN 0xa10409, PSN 0xae2efe local address: LID 0x0001, QPN 0xa1040a, PSN 0x725f70 . . . remote address: LID 0x0005, QPN 0x2a0412, PSN 0x0bbc53 remote address: LID 0x0005, QPN 0x2a0413, PSN 0x01ab04 remote address: LID 0x0005, QPN 0x2a0414, PSN 0x8aed72 remote address: LID 0x0005, QPN 0x2a0415, PSN 0xdd554e 8192000 bytes in 0.02 seconds = 3974.77 Mbit/sec 1000 iters in 0.02 seconds = 16.49 usec/iter
Note - The output is not displayed until the local node client issues the respective command.
Then run the command on the local node client:
# ibv_srq_pingpong 192.168.200.100 local address: LID 0x0005, QPN 0x2a0406, PSN 0x9b3436 local address: LID 0x0005, QPN 0x2a0407, PSN 0x8d28e8 local address: LID 0x0005, QPN 0x2a0408, PSN 0x2c5c12 local address: LID 0x0005, QPN 0x2a0409, PSN 0x59fef9 local address: LID 0x0005, QPN 0x2a040a, PSN 0x62fc18 . . . remote address: LID 0x0001, QPN 0xa10411, PSN 0x132ed9 remote address: LID 0x0001, QPN 0xa10412, PSN 0xe0631b remote address: LID 0x0001, QPN 0xa10413, PSN 0x4deaf5 remote address: LID 0x0001, QPN 0xa10414, PSN 0x172045 remote address: LID 0x0001, QPN 0xa10415, PSN 0x32fe5b 8192000 bytes in 0.01 seconds = 4785.40 Mbit/sec 1000 iters in 0.01 seconds = 13.69 usec/iter
Note - The output in the example is just a portion of the full output.
ibv_srq_pingpong man page