6bdb86da92c504e8e225e4ac697ff78846391af7
[csit.git] / docs / report / dpdk_performance_tests / packet_latency_graphs / l2.rst
1 L2 Ethernet Interface Loop
2 ==========================
3
4 This section includes summary graphs of Testpmd Phy-to-Phy packet
5 latency with L2 Ethernet Interface Loop measured at 50% of discovered
6 NDR throughput rate. Latency is reported for Testpmd running in multiple
7 configurations of Testpmd pmd thread(s), a.k.a. Testpmd data plane
8 thread(s), and their physical CPU core(s) placement.
9
10 Testpmd packet latency - running in configuration of **one worker thread (1t) on one
11 physical core (1c)** - is presented in the figure below.
12
13 .. raw:: html
14
15     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/dpdk/64B-1t1c-l2-ndrdisc-lat50.html"></iframe>
16
17 .. raw:: latex
18
19     \begin{figure}[H]
20         \centering
21             \graphicspath{{../_build/_static/dpdk/}}
22             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-1t1c-l2-ndrdisc-lat50}
23             \label{fig:64B-1t1c-l2-ndrdisc-lat50-dpdk}
24     \end{figure}
25
26 *Figure 1. Testpmd 1thread 1core - packet latency for Phy-to-Phy L2 Ethernet Looping.*
27
28 CSIT test cases used to generate results presented above can be found in CSIT
29 git repository by filtering with specified regex as follows:
30
31 .. only:: html
32
33    .. program-output:: cd ../../../../../ && set -x && cd tests/dpdk/perf && grep -P '64B-1t1c-eth-l2xcbase-testpmd-ndrdisc' *
34       :shell:
35
36 .. only:: latex
37
38    .. code-block:: bash
39
40       $ cd tests/dpdk/perf
41       $ grep -P '64B-1t1c-eth-l2xcbase-testpmd-ndrdisc' *
42
43 Testpmd packet latency - running in configuration of **two worker threads (2t)
44 on two physical cores (2c)** - is presented in the figure below.
45
46 .. raw:: html
47
48     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/dpdk/64B-2t2c-l2-ndrdisc-lat50.html"></iframe>
49
50 .. raw:: latex
51
52     \begin{figure}[H]
53         \centering
54             \graphicspath{{../_build/_static/dpdk/}}
55             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-2t2c-l2-ndrdisc-lat50}
56             \label{fig:64B-2t2c-l2-ndrdisc-lat50-dpdk}
57     \end{figure}
58
59 *Figure 2. Testpmd 2thread 2core - packet latency for Phy-to-Phy L2 Ethernet Looping.*
60
61 CSIT test cases used to generate results presented above can be found in CSIT
62 git repository by filtering with specified regex as follows:
63
64 .. only:: html
65
66    .. program-output:: cd ../../../../../ && set -x && cd tests/dpdk/perf && grep -P '64B-2t2c-eth-l2xcbase-testpmd-ndrdisc' *
67       :shell:
68
69 .. only:: latex
70
71    .. code-block:: bash
72
73       $ cd tests/dpdk/perf
74       $ grep -P '64B-2t2c-eth-l2xcbase-testpmd-ndrdisc' *