$ sockperf ping-pong -i 10.11.11.2 --time 30 --port 11112 --udp STDOUT ping-pong (pp): Run sockperf client for latency test in ping pong mode. Usage: sockperf ping-pong [options] [args]... sockperf ping-pong -i ip [-p port] [-m message_size] [-t time] sockperf ping-pong -f file [-F s/p/e] [-m message_size] [-r msg_size_range] [-t time] Options: -h,-? --help,--usage -Show the help message and exit. --tcp -Use TCP protocol (default UDP). -i --ip -Listen on/send to ip . -p --port -Listen on/connect to port (default 11111). -f --file -Read list of connections from file (used in pair with -F option). -F --iomux-type -Type of multiple file descriptors handle [s|select|p|poll|e|epoll|r|recvfrom|x|socketxtreme](default epoll). --timeout -Set select/poll/epoll timeout to , -1 for infinite (default is 10 msec). -a --activity -Measure activity by printing a '.' for the last messages processed. -A --Activity -Measure activity by printing the duration for last messages processed. --tcp-avoid-nodelay -Stop/Start delivering TCP Messages Immediately (Enable/Disable Nagel). Default is Nagel Disabled except in Throughput where the default is Nagel enabled. --tcp-skip-blocking-send -Enables non-blocking send operation (default OFF). --tos -Allows setting tos --mc-rx-if -Set address of interface on which to receive mulitcast messages (can be other then route table). --mc-tx-if -Set address of interface on which to transmit mulitcast messages (can be other then route table). --mc-loopback-enable -Enables mc loopback (default disabled). --mc-ttl -Limit the lifetime of the message (default 2). --mc-source-filter -Set address of mulitcast messages source which is allowed to receive from. --uc-reuseaddr -Enables unicast reuse address (default disabled). --lls -Turn on LLS via socket option (value = usec to poll). --buffer-size -Set total socket receive/send buffer in bytes (system defined by default). --nonblocked -Open non-blocked sockets. --recv_looping_num -Set sockperf to loop over recvfrom() until EAGAIN or good received packets, -1 for infinite, must be used with --nonblocked (default 1). --dontwarmup -Don't send warm up messages on start. --pre-warmup-wait -Time to wait before sending warm up messages (seconds). --vmazcopyread -Use VMA's zero copy reads API (See VMA's readme). --daemonize -Run as daemon. --no-rdtsc -Don't use register when taking time; instead use monotonic clock. --load-vma -Load VMA dynamically even when LD_PRELOAD was not used. --rate-limit -use rate limit (packet-pacing), with VMA must be run with VMA_RING_ALLOCATION_LOGIC_TX mode. --set-sock-accl -Set socket accleration before run (available for some of Mellanox systems) -d --debug -Print extra debug information. Valid arguments: --srv-num -Set num of servers the client works with to N. --sender-affinity -Set sender thread affinity to the given core ids in list format (see: cat /proc/cpuinfo). --receiver-affinity -Set receiver thread affinity to the given core ids in list format (see: cat /proc/cpuinfo). --full-log -Dump full log of all messages send/receive time to the given file in CSV format. --full-rtt -Show results in round-trip-time instead of latency. --giga-size -Print sizes in GigaByte. --increase_output_precision -Increase number of digits after decimal point of the throughput output (from 3 to 9). --dummy-send -Use VMA's dummy send API instead of busy wait, must be higher than regular msg rate. optional: set dummy-send rate per second (default 10,000), usage: --dummy-send [|max] -t --time -Run for seconds (default 1, max = 36000000). --client_port -Force the client side to bind to a specific port (default = 0). --client_ip -Force the client side to bind to a specific ip address (default = 0). -b --burst -Control the client's number of a messages sent in every burst. --mps -Set number of messages-per-second (default = 10000 - for under-load mode, or max - for ping-pong and throughput modes; for maximum use --mps=max; support --pps for old compatibility). -m --msg-size -Use messages of size bytes (minimum default 14). -r --range -comes with -m , randomly change the messages size in range: +- . --data-integrity -Perform data integrity test. STDERR