2 title: "Packet Latency"
8 TRex Traffic Generator (TG) is used for measuring one-way latency in
9 2-Node and 3-Node physical testbed topologies. TRex integrates
10 [High Dynamic Range Histogram (HDRH)](http://hdrhistogram.org/)
11 functionality and reports per packet latency distribution for latency
12 streams sent in parallel to the main load packet streams.
14 Following methodology is used:
16 - Only NDRPDR test type measures latency and only after NDR and PDR
17 values are determined. Other test types do not involve latency
20 - Latency is measured at different background load packet rates:
22 - No-Load: latency streams only.
23 - Low-Load: at 10% PDR.
24 - Mid-Load: at 50% PDR.
25 - High-Load: at 90% PDR.
27 - Latency is measured for all tested packet sizes except IMIX due to
30 - TG sends dedicated latency streams, one per direction, each at the
31 rate of 9 kpps at the prescribed packet size; these are sent in
32 addition to the main load streams.
34 - TG reports Min/Avg/Max and HDRH latency values distribution per stream
35 direction, hence two sets of latency values are reported per test case
36 (marked as E-W and W-E).
38 - +/- 1 usec is the measurement accuracy of TRex TG and the data in HDRH
39 latency values distribution is rounded to microseconds.
41 - TRex TG introduces a (background) always-on Tx + Rx latency bias of 4
42 usec on average per direction resulting from TRex software writing and
43 reading packet timestamps on CPU cores. Quoted values are based on TG
44 back-to-back latency measurements.
46 - Latency graphs are not smoothed, each latency value has its own
47 horizontal line across corresponding packet percentiles.
49 - Percentiles are shown on X-axis using a logarithmic scale, so the
50 maximal latency value (ending at 100% percentile) would be in
51 infinity. The graphs are cut at 99.9999% (hover information still