User Manual

InfiniBand Fabric UtilitiesRev 2.2-1.0.1
Mellanox Technologies
290
9.5.10 raw_ethernet_lat
raw_ethernet_lat calculates the latency of sending a packet in message_size between a pair of
machines. One acts as a server and the other as a client. They perform a ping pong benchmark on
which you send packet only if you receive one. Each of the sides samples the CPU each time they
receive a packet in order to calculate the latency. Using the "-a" provides results for all message
sizes.
Synopsis
Server
raw_ethernet_lat [options] --dest_mac=<MAC address of interface on client>
Client
raw_ethernet_lat [options] --dest_mac=<MAC address of interface on server>
Options
The table below lists the various flags of the command.
Table 65 - raw_ethernet_lat Flags and Options
Flag Description
-a, --all Run sizes from 2 till 2^23
-c, --connection=<RC/XRC/UC/
UD/DC>
Connection type RC/XRC/UC/UD/DC (default RC)
-C, --report-cycles Report times in cpu cycle units (default microseconds)
-d, --ib-dev=<dev> Use IB device <dev> (default first device found)
-D, --duration Run test for a customized period of seconds.
-e, --events Sleep on CQ events (default poll)
-f, --margin Measure results within margins. (default=2sec)
-g, --mcg=<num_of_qps> Send messages to multicast group with <num_of_qps>
qps attached to it.
-h, --help Show this help screen.
-H, --report-histogram Print out all results (default print summary only)
-i, --ib-port=<port> Use port <port> of IB device (default 1)
-I, --inline_size=<size> Max size of message to be sent in inline
-m, --mtu=<mtu> MTU size : 256 - 4096 (default port mtu)
-M, --MGID=<multicast_gid> In multicast, uses <multicast_gid> as the group MGID.
-n, --iters=<iters> Number of exchanges (at least 5, default 1000)
-p, --port=<port> Listen on/connect to port <port> (default 18515)