Scroll to navigation

QPERF(1) User Commands QPERF(1)

NAME

qperf - Measure RDMA and IP performance

SYNOPSIS

qperf
qperf SERVERNODE [OPTIONS] TESTS

DESCRIPTION

qperf measures bandwidth and latency between two nodes. It can work over TCP/IP as well as the RDMA transports. On one of the nodes, qperf is typically run with no arguments designating it the server node. One may then run qperf on a client node to obtain measurements such as bandwidth, latency and cpu utilization.

In its most basic form, qperf is run on one node in server mode by invoking it with no arguments. On the other node, it is run with two arguments: the name of the server node followed by the name of the test. A list of tests can be found in the section, TESTS. A variety of options may also be specified.

One can get more detailed information on qperf by using the --help option. Below are examples of using the --help option:


qperf --help examples Some examples of using qperf
qperf --help opts Summary of options
qperf --help options Description of options
qperf --help tests Short summary and description of tests
qperf --help TESTNAME More information on test TESTNAME

EXAMPLES

In these examples, we first run qperf on a node called myserver in server mode by invoking it with no arguments. In all the subsequent examples, we run qperf on another node and connect to the server which we assume has a hostname of myserver.

qperf myserver tcp_bw tcp_lat
qperf myserver udp_lat quit
qperf myserver ud_lat ud_bw
qperf myserver rc_bi_bw
qperf myserver -oo msg_size:1:64K:*2 -vu tcp_lat

OPTIONS

If OnOff is non-zero, data is accessed once received. Otherwise, data is ignored. By default, OnOff is 0. This can help to mimic some applications.
Cause received data to be accessed.
Set alternate path port. This enables automatic path failover.
Set local alternate path port. This enables automatic path failover.
Set remote alternate path port. This enables automatic path failover.
Set cpu affinity to PN. CPUs are numbered sequentially from 0. If PN is "any", any cpu is allowed otherwise the cpu is limited to the one specified.
Set local processor affinity to PN.
Set remote processor affinity to PN.
If non-zero, cause sender and receiver to play opposite roles.
Cause sender and receiver to play opposite roles.
Print out information about Topic. To see the list of topics, type qperf --help
Run test between the current node and the qperf running on node Host. This can also be specified as the first non-option argument.
Use RDMA Device and Port.
Use local RDMA Device and Port.
Use remote RDMA Device and Port.
Set the port we listen on to ListenPort. This must be set to the same port on both the server and client machines. The default value is 19765.
Run a test multiple times sequencing through a series of values. Var is the loop variable; Init is the initial value; Last is the value it must not exceed and Incr is the increment. It is useful to set the --verbose_used (-vu) option in conjunction with this option.
Set the message size to Size. The default value varies by test. It is assumed that the value is specified in bytes however, a trailing kib or K, mib or M, or gib or G indicates that the size is being specified in kibibytes, mebibytes or gibibytes respectively while a trailing kb or k, mb or m, or gb or g indicates kilobytes, megabytes or gigabytes respectively.
Set the MTU size. Only relevant to the RDMA UC/RC tests. Units are specified in the same manner as the --msg_size option.
Set test duration by number of messages sent instead of time.
Turn polling mode on or off. This is only relevant to the RDMA tests and determines whether they poll or wait on the completion queues. If OnOff is 0, they wait; otherwise they poll.
Locally turn polling mode on or off.
Remotely turn polling mode on or off.
Turn polling mode on.
Turn local polling mode on.
Turn remote polling mode on.
Use Port to run the socket tests. This is different from --listen_port which is used for synchronization. This is only relevant for the socket tests and refers to the TCP/UDP/RDS/SCTP port that the test is run on.
Set the number of significant digits that are used to report results.
Set the number of in-flight operations that can be handled for a RDMA read or atomic operation to Max. This is only relevant to the RDMA Read and Atomic tests.
Set local read/atomic count.
Set remote read/atomic count.
Set RDMA service level to SL. This is only used by the RDMA tests. The service level must be between 0 and 15. The default service level is 0.
Set local service level.
Set remote service level.
Set the socket buffer size. This is only relevant to the socket tests.
Set local socket buffer size.
Set remote socket buffer size.
Set source path bits. If the LMC is not zero, this will cause the connection to use a LID with the low order LMC bits set to N.
Set local source path bits.
Set remote source path bits.
Force InfiniBand static rate. Rate can be one of: 2.5, 5, 10, 20, 30, 40, 60, 80, 120, 1xSDR (2.5 Gbps), 1xDDR (5 Gbps), 1xQDR (10 Gbps), 4xSDR (2.5 Gbps), 4xDDR (5 Gbps), 4xQDR (10 Gbps), 8xSDR (2.5 Gbps), 8xDDR (5 Gbps), 8xQDR (10 Gbps).
Force local InfiniBand static rate
Force remote InfiniBand static rate
Set test duration to Time. Specified in seconds however a trailing m, h or d indicates that the time is specified in minutes, hours or days respectively.
Set timeout to Time. This is the timeout used for various things such as exchanging messages. The default is 5 seconds.
Set local timeout to Time. This may be used on the server to set the timeout when initially exchanging data with each client. However, as soon as we receive the client's parameters, the client's remote timeout will override this parameter.
Set remote timeout to Time.
Unify the nodes. Describe them in terms of local and remote rather than send and receive.
Unify the units that results are shown in. Uses the lowest common denominator. Helpful for scripts.
Use bits/sec rather than bytes/sec when displaying networking speed.
Use the RDMA Connection Manager (CM) if OnOff is non-zero. It is necessary to use the CM for iWARP devices. The default is to establish the connection without using the CM. This only works for the tests that use the RC transport.
Use RDMA Connection Manager.
Provide more detailed output. Turns on -vc, -vs, -vt and -vu.
Provide information on configuration.
Provide information on statistics.
Provide information on timing.
Provide information on parameters used.
Provide even more detailed output. Turns on -vvc, -vvs, -vvt and -vvu.
Provide more information on configuration.
Provide more information on statistics.
Provide more information on timing.
Provide more information on parameters used.
The current version of qperf is printed.
If the server is not ready, continue to try connecting for Time seconds before giving up. The default is 5 seconds.

TESTS

Show configuration
Cause the server to quit
RDS streaming one way bandwidth
RDS one way latency
SCTP streaming one way bandwidth
SCTP one way latency
TCP streaming one way bandwidth
TCP one way latency
UDP streaming one way bandwidth
UDP one way latency
RC streaming two way bandwidth
RC streaming one way bandwidth
RC one way latency
UC streaming two way bandwidth
UC streaming one way bandwidth
UC one way latency
UD streaming two way bandwidth
UD streaming one way bandwidth
UD one way latency
XRC streaming two way bandwidth
XRC streaming one way bandwidth
XRC one way latency
RC RDMA read streaming one way bandwidth
RC RDMA read one way latency
RC RDMA write streaming one way bandwidth
RC RDMA write one way latency
RC RDMA write one way polling latency
UC RDMA write streaming one way bandwidth
UC RDMA write one way latency
UC RDMA write one way polling latency
RC compare and swap messaging rate
RC fetch and add messaging rate
Verify RC compare and swap
Verify RC fetch and add

AUTHOR

Written by Johann George.

BUGS

None of the RDMA tests are available if qperf is compiled without the RDMA libraries. None of the XRC tests are available if qperf is compiled without the XRC extensions. The -f option is not yet implemented in many of the tests.

November 2016 qperf