User Manual

Table Of Contents
Rev 4.60
Mellanox Technologies
102
Examples
Direct Routed Examples:
LID Routed Examples:
8.4 InfiniBand Fabric Performance Utilities
The performance utilities described in this chapter are intended to be used as a performance
micro-benchmark.
8.4.1 ib_read_bw
ib_read_bw calculates the BW of RDMA read between a pair of machines. One acts as a server
and the other as a client. The client RDMA reads the server memory and calculate the BW by
sampling the CPU each time it receive a successful completion. The test supports features such as
Bidirectional, in which they both RDMA read from each other memory's at the same time,
change of mtu size, tx size, number of iteration, message size and more. Read is available only in
RC connection mode (as specified in IB spec).
8.4.1.1 ib_read_bw Synopsys
8.4.1.2 ib_read_bw Options
The table below lists the various flags of the command.
smpdump -D 0,1,2,3,5 16 # NODE DESC
smpdump -D 0,1,2 0x15 2 # PORT INFO, port 2
smpdump 3 0x15 2 # PORT INFO, lid 3 port 2
smpdump 0xa0 0x11 # NODE INFO, lid 0xa0
ib_read_bw [-i(b_port) ib_port] [-m(tu) mtu_size] [-s(ize) message_size] [-n
iteration_num] [-p(ort) PDT_port] [-b(idirectional)] [-o(uts) outstanding reads] [-
a(ll)] [-V(ersion)]
Table 32 - ib_read_bw Flags and Options
Flag Description
-p, --port=<port> Listens on/connect to port <port> (default 18515)
-d, --ib-dev=<dev> Uses IB device <device guid> (default first device found)
-i, --ib-port=<port> Uses port <port> of IB device (default 1)
-m, --mtu=<mtu> The mtu size (default 1024)
-o, --outs=<num> The number of outstanding read/atom(default 4)
-s, --size=<size> The size of message to exchange (default 65536)
-a, --all Runs sizes from 2 till 2^23
-t, --tx-depth=<dep> The size of tx queue (default 100)
-n, --iters=<iters> The number of exchanges (at least 2, default 1000)