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