You can also measure Onload latency
with the sfnt-pingpong
application.
Note: The latencies measured with
sfnt-pingpong
are almost identical to the latencies
measured with netperf
in Onload Latency with netperf.Run the sfnt-pingpong
application on both systems:
[sys-1]# onload --profile=<profile> taskset -c 1 sfnt-pingpong
[sys-2]# onload --profile=<profile> taskset -c 1 sfnt-pingpong \
--affinity "1;1" <protocol> <sys-1_ip>
where:
-
<profile>
islatency-best
for 10 Gb (which uses cut-through CTPIO), orlatency
for 25 Gb (which uses store and forward (no-poison) CTPIO) -
<protocol>
isudp
ortcp
, as appropriate -
<sys-1_ip>
is the IP address ofsys-1
.
The output identifies mean, minimum, median and maximum (nanosecond) ½ RTT latency for increasing packet sizes, including the 99% percentile and standard deviation for these results.