TCPDirect test applications can be found in:
/usr/share/doc/tcpdirect/examples/zf_apps
Run the zfudppingpong application on both systems:
[sys-1]# ZF_ATTR="interface=<interface>;ctpio_mode=ct" taskset -c 1 \
zfudppingpong -s <payload> pong <sys-1_ip>:20000 <sys-2_ip>:20000
[sys-2]# ZF_ATTR="interface=<interface>;ctpio_mode=ct" taskset -c 1 \
zfudppingpong -s <payload> ping <sys-2_ip>:20000 <sys-1_ip>:20000
or run the zftcppingpong application on both systems:
[sys-1]# ZF_ATTR="interface=<interface>;ctpio_mode=ct" taskset -c 1 \
zftcppingpong -s <payload> pong <sys-1_ip>:20000
[sys-2]# ZF_ATTR="interface=<interface>;ctpio_mode=ct" taskset -c 1 \
zftcppingpong -s <payload> ping <sys-1_ip>:20000
where:
-
<interface>is the interface to use -
<payload>is the payload size, in bytes -
<sys-1_ip>is the IP address ofsys-1 -
<sys-2_ip>is the IP address ofsys-2.
The output identifies mean RTT, which is halved to give the mean ½ RTT latency.