User Manual

Table Of Contents
WinOF VPI for Windows User Manual Rev 4.3
Mellanox Technologies
88
7.4.11 ibv_write_bw
This is a more advanced version of ib_write_bw ,and contains more flags and features than the
older version and also improved algorithms. ibv_write_bw calculates the BW of RDMA write
between a pair of machines. One acts as a server and the other as a client. The client RDMA
writes to the server memory and calculate the BW by sampling the CPU each time it receives a
successful completion. The test supports a large variety of features as described below, and has
better performance than ib_send_bw in Nahelem systems.
7.4.11.1 ibv_write_bw Synopsys
7.4.11.2 ibv_write_bw Options
The table below lists the various flags of the command.
-g, --post=<num of posts> The number of posts for each qp in the chain (default tx_depth)
-I, --inline_size=<size> The maximum size of message to be sent in “inline mode” (default 0)
-e, --events Inactive during CQ events (default poll)
-g, --mcg=<num_of_qps> Sends messages to multicast group with <num_of_qps> qps attached
to it.
-M, --MGID=<multicast_gid> In case of multicast, uses <multicast_gid> as the group MGID.
The format must be '255:1:X:X:X:X:X:X:X:X:X:X:X:X:X:X', where
X is a vlaue within [0,255].
You must specify a different MGID on both sides to avoid loopback.
-R, --rdma_cm Connect QPs with rdma_cm and run test on those QPs
-z, --com_rdma_cm Communicate with rdma_cm module to exchange data - use regular
QPs
ibv_write_bw [-i(b_port) ib_port] [-d ib device] [-c(onnection_type) RC\UC\UD] [-
m(tu) mtu_size] [-s(ize) message_size] [-t(x-depth) tx_size] [-n iteration_num] [-
p(ort) PDT_port] [-I(nline_size) inline size] [-u qp timeout] [-S(l) sl
type] [-x gid index] [-e(vents) use events] [-N(o_peak) use peak
calc] [-F CPU freq fail] [-g num
of posts] [-q num of qps] [-b(idirectional)] [-a(ll)]
[-V(ersion)]
Table 28 - ibv_write_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)
Table 27 - ibv_send_lat Flags and Options
Flag Description