CSIT-618 Add LaTeX support to release report
[csit.git] / docs / report / dpdk_performance_tests / packet_throughput_graphs / l2.rst
1 L2 Ethernet Interface Loop
2 ==========================
3
4 Following sections include summary graphs of DPDK Testpmd Phy-to-Phy performance
5 with L2 Ethernet Interface Loop, including NDR throughput (zero packet loss)
6 and PDR throughput (<0.5% packet loss). Performance is reported for Testpmd
7 running in multiple configurations of Testpmd pmd thread(s), a.k.a. Testpmd
8 data plane thread(s), and their physical CPU core(s) placement.
9
10 NDR Throughput
11 ~~~~~~~~~~~~~~
12
13 Testpmd NDR 64B packet throughput in 1t1c setup (1thread, 1core) is presented
14 in the graph below.
15
16 .. raw:: html
17
18     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/dpdk/64B-1t1c-l2-ndrdisc.html"></iframe>
19
20 .. raw:: latex
21
22     \begin{figure}[H]
23         \centering
24             \graphicspath{{../_build/_static/dpdk/}}
25             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-1t1c-l2-ndrdisc}
26             \label{fig:64B-1t1c-l2-ndrdisc-dpdk}
27     \end{figure}
28
29 *Figure 1. Testpmd 1thread 1core - NDR Throughput for Phy-to-Phy L2 Ethernet
30 Looping.*
31
32 CSIT source code for the test cases used for above plots can be found in CSIT
33 git repository:
34
35 .. only:: html
36
37    .. program-output:: cd ../../ && set -x && cd tests/dpdk/perf && grep -P '64B-1t1c-eth-l2xcbase-testpmd-ndrdisc' *
38       :shell:
39
40 .. only:: latex
41
42    .. code-block:: bash
43
44       $ cd tests/dpdk/perf
45       $ grep -P '64B-1t1c-eth-l2xcbase-testpmd-ndrdisc' *
46
47 Testpmd NDR 64B packet throughput in 2t2c setup (2thread, 2core) is presented
48 in the graph below.
49
50 .. raw:: html
51
52     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/dpdk/64B-2t2c-l2-ndrdisc.html"></iframe>
53
54 .. raw:: latex
55
56     \begin{figure}[H]
57         \centering
58             \graphicspath{{../_build/_static/dpdk/}}
59             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-2t2c-l2-ndrdisc}
60             \label{fig:64B-2t2c-l2-ndrdisc-dpdk}
61     \end{figure}
62
63 *Figure 2. Testpmd 2threads 2cores - NDR Throughput for Phy-to-Phy L2 Ethernet
64 Looping.*
65
66 CSIT source code for the test cases used for above plots can be found in CSIT
67 git repository:
68
69 .. only:: html
70
71    .. program-output:: cd ../../ && set -x && cd tests/dpdk/perf && grep -P '64B-2t2c-eth-l2xcbase-testpmd-ndrdisc' *
72       :shell:
73
74 .. only:: latex
75
76    .. code-block:: bash
77
78       $ cd tests/dpdk/perf
79       $ grep -P '64B-2t2c-eth-l2xcbase-testpmd-ndrdisc' *
80
81 PDR Throughput
82 ~~~~~~~~~~~~~~
83
84 Testpmd PDR 64B packet throughput in 1t1c setup (1thread, 1core) is presented
85 in the graph below. PDR measured for 0.5% packet loss ratio.
86
87 .. raw:: html
88
89     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/dpdk/64B-1t1c-l2-pdrdisc.html"></iframe>
90
91 .. raw:: latex
92
93     \begin{figure}[H]
94         \centering
95             \graphicspath{{../_build/_static/dpdk/}}
96             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-1t1c-l2-pdrdisc}
97             \label{fig:64B-1t1c-l2-pdrdisc-dpdk}
98     \end{figure}
99
100 *Figure 3. Testpmd 1thread 1core - PDR Throughput for Phy-to-Phy L2 Ethernet
101 Looping.*
102
103 CSIT source code for the test cases used for above plots can be found in CSIT
104 git repository:
105
106 .. only:: html
107
108    .. program-output:: cd ../../ && set -x && cd tests/dpdk/perf && grep -P '64B-1t1c-eth-l2xcbase-testpmd-pdrdisc' *
109       :shell:
110
111 .. only:: latex
112
113    .. code-block:: bash
114
115       $ cd tests/dpdk/perf
116       $ grep -P '64B-1t1c-eth-l2xcbase-testpmd-pdrdisc' *
117
118 Testpmd PDR 64B packet throughput in 2t2c setup (2thread, 2core) is presented
119 in the graph below. PDR measured for 0.5% packet loss ratio.
120
121 .. raw:: html
122
123     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/dpdk/64B-2t2c-l2-pdrdisc.html"></iframe>
124
125 .. raw:: latex
126
127     \begin{figure}[H]
128         \centering
129             \graphicspath{{../_build/_static/dpdk/}}
130             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-2t2c-l2-pdrdisc}
131             \label{fig:64B-2t2c-l2-pdrdisc-dpdk}
132     \end{figure}
133
134 *Figure 4. Testpmd 2thread 2core - PDR Throughput for Phy-to-Phy L2 Ethernet
135 Looping.*
136
137 CSIT source code for the test cases used for above plots can be found in CSIT
138 git repository:
139
140 .. only:: html
141
142    .. program-output:: cd ../../ && set -x && cd tests/dpdk/perf && grep -P '64B-2t2c-eth-l2xcbase-testpmd-pdrdisc' *
143       :shell:
144
145 .. only:: latex
146
147    .. code-block:: bash
148
149       $ cd tests/dpdk/perf
150       $ grep -P '64B-2t2c-eth-l2xcbase-testpmd-pdrdisc' *