User Manual

Table Of Contents
InfiniBand FabricRev 4.3
Mellanox Technologies
89
7.4.12 ibv_write_lat
This is a more advanced version of ib_write_lat and contains more flags and featurs than the
older version and also improved algorithms. ibv_write_lat calculats the latency of RDMA write
operation of message_sizeB between a pair of machines. One acts as a server, and the other as a
client. They perform a ping pong benchmark on which one side RDMA writes to the other side
memory only after the other side wrote on his memory. Each of the sides samples the CPU clock
each time they write to the other side memory to calculate latency.
-c, --connection=<RC/UC> Connection type RC/UC(default RC)
-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)
-u, --qp-timeout=<timeout> QP timeout. The timeout value is 4 usec * 2 ^(timeout), default 14
-S, --sl=<sl> The service level (default 0)
-x, --gid-index=<index> Test uses GID with GID index taken from command line (for
RDMAoE index should be 0)
-b, --bidirectional Measures bidirectional bandwidth (default unidirectional)
-V, --version Displays version number
-g, --post=<num of posts> The number of posts for each qp in the chain (default tx_depth)
-F, --CPU-freq The CPU frequency test. It is active even if the cpufreq_ondemand
module is loaded
-q, --qp=<num of qp's> The number of qp's (default 1)
-I, --inline_size=<size> The maximum size of message to be sent in “inline mode” (default 0)
-N, --no peak-bw Cancels peak-bw calculation (default with peak-bw)
-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
-Q, --cq-mod Generate Cqe only after <--cq-mod> completion
Table 28 - ibv_write_bw Flags and Options
Flag Description