Onload Latency with sfnt-pingpong

Onload User Guide (UG1586)

Document ID
UG1586
Release Date
2023-07-31
Revision
1.2 English

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> is latency-best for 10 Gb (which uses cut-through CTPIO), or latency for 25 Gb (which uses store and forward (no-poison) CTPIO)
  • <protocol> is udp or tcp, as appropriate
  • <sys-1_ip> is the IP address of sys-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.