CSIT-618 Add LaTeX support to release report
[csit.git] / docs / report / vpp_performance_tests / packet_throughput_graphs / l2.rst
1 L2 Ethernet Switching
2 =====================
3
4 Following sections include summary graphs of VPP Phy-to-Phy performance
5 with L2 Ethernet switching, including NDR throughput (zero packet loss)
6 and PDR throughput (<0.5% packet loss). Performance is reported for VPP
7 running in multiple configurations of VPP worker thread(s), a.k.a. VPP
8 data plane thread(s), and their physical CPU core(s) placement.
9
10 NDR Throughput
11 ~~~~~~~~~~~~~~
12
13 VPP 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/vpp/64B-1t1c-l2-sel1-ndrdisc.html"></iframe>
19
20 .. raw:: latex
21
22     \begin{figure}[H]
23         \centering
24             \graphicspath{{../_build/_static/vpp/}}
25             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-1t1c-l2-sel1-ndrdisc}
26             \label{fig:64B-1t1c-l2-sel1-ndrdisc}
27     \end{figure}
28
29 *Figure 1a. VPP 1thread 1core - NDR Throughput for Phy-to-Phy L2 Ethernet
30 Switching (base).*
31
32 .. raw:: html
33
34     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-1t1c-l2-sel2-ndrdisc.html"></iframe>
35
36 .. raw:: latex
37
38     \begin{figure}[H]
39         \centering
40             \graphicspath{{../_build/_static/vpp/}}
41             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-1t1c-l2-sel2-ndrdisc}
42             \label{fig:64B-1t1c-l2-sel2-ndrdisc}
43     \end{figure}
44
45 *Figure 1b. VPP 1thread 1core - NDR Throughput for Phy-to-Phy L2 Ethernet
46 Switching (feature).*
47
48 CSIT source code for the test cases used for above plots can be found in CSIT
49 git repository:
50
51 .. only:: html
52
53    .. program-output:: cd ../../ && set -x && cd tests/vpp/perf/l2 && grep -E "64B-1t1c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-(iacl50-state(ful|less)-flows10k.*|oacl50-state(ful|less)-flows10k.*|eth.*)*ndrdisc" *
54       :shell:
55
56 .. only:: latex
57
58    .. code-block:: bash
59
60       $ cd tests/vpp/perf/l2
61       $ grep -E "64B-1t1c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-(iacl50-state(ful|less)-flows10k.*|oacl50-state(ful|less)-flows10k.*|eth.*)*ndrdisc" *
62
63 VPP NDR 64B packet throughput in 2t2c setup (2thread, 2core) is presented
64 in the graph below.
65
66 .. raw:: html
67
68     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-2t2c-l2-sel1-ndrdisc.html"></iframe>
69
70 .. raw:: latex
71
72     \begin{figure}[H]
73         \centering
74             \graphicspath{{../_build/_static/vpp/}}
75             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-2t2c-l2-sel1-ndrdisc}
76             \label{fig:64B-2t2c-l2-sel1-ndrdisc}
77     \end{figure}
78
79 *Figure 2a. VPP 2threads 2cores - NDR Throughput for Phy-to-Phy L2 Ethernet
80 Switching (base).*
81
82 .. raw:: html
83
84     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-2t2c-l2-sel2-ndrdisc.html"></iframe>
85
86 .. raw:: latex
87
88     \begin{figure}[H]
89         \centering
90             \graphicspath{{../_build/_static/vpp/}}
91             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-2t2c-l2-sel2-ndrdisc}
92             \label{fig:64B-2t2c-l2-sel2-ndrdisc}
93     \end{figure}
94
95 *Figure 2b. VPP 2threads 2cores - NDR Throughput for Phy-to-Phy L2 Ethernet
96 Switching (feature).*
97
98 CSIT source code for the test cases used for above plots can be found in CSIT
99 git repository:
100
101 .. only:: html
102
103    .. program-output:: cd ../../ && set -x && cd tests/vpp/perf/l2 && grep -E "64B-2t2c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-(iacl50-state(ful|less)-flows10k.*|oacl50-state(ful|less)-flows10k.*|eth.*)*ndrdisc" *
104       :shell:
105
106 .. only:: latex
107
108    .. code-block:: bash
109
110       $ cd tests/vpp/perf/l2
111       $ grep -E "64B-2t2c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-(iacl50-state(ful|less)-flows10k.*|oacl50-state(ful|less)-flows10k.*|eth.*)*ndrdisc" *
112
113
114 PDR Throughput
115 ~~~~~~~~~~~~~~
116
117 VPP PDR 64B packet throughput in 1t1c setup (1thread, 1core) is presented
118 in the graph below. PDR measured for 0.5% packet loss ratio.
119
120 .. raw:: html
121
122     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-1t1c-l2-sel1-pdrdisc.html"></iframe>
123
124 .. raw:: latex
125
126     \begin{figure}[H]
127         \centering
128             \graphicspath{{../_build/_static/vpp/}}
129             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-1t1c-l2-sel1-pdrdisc}
130             \label{fig:64B-1t1c-l2-sel1-pdrdisc}
131     \end{figure}
132
133 *Figure 3a. VPP 1thread 1core - PDR Throughput for Phy-to-Phy L2 Ethernet
134 Switching (base).*
135
136 .. raw:: html
137
138     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-1t1c-l2-sel2-pdrdisc.html"></iframe>
139
140 .. raw:: latex
141
142     \begin{figure}[H]
143         \centering
144             \graphicspath{{../_build/_static/vpp/}}
145             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-1t1c-l2-sel2-pdrdisc}
146             \label{fig:64B-1t1c-l2-sel2-pdrdisc}
147     \end{figure}
148
149 *Figure 3b. VPP 1thread 1core - PDR Throughput for Phy-to-Phy L2 Ethernet
150 Switching (feature).*
151
152 CSIT source code for the test cases used for above plots can be found in CSIT
153 git repository:
154
155 .. only:: html
156
157    .. program-output:: cd ../../ && set -x && cd tests/vpp/perf/l2 && grep -E "64B-1t1c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-(iacl50-state(ful|less)-flows10k.*|oacl50-state(ful|less)-flows10k.*|eth.*)*pdrdisc" *
158       :shell:
159
160 .. only:: latex
161
162    .. code-block:: bash
163
164       $ cd tests/vpp/perf/l2
165       $ grep -E "64B-1t1c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-(iacl50-state(ful|less)-flows10k.*|oacl50-state(ful|less)-flows10k.*|eth.*)*pdrdisc" *
166
167 VPP PDR 64B packet throughput in 2t2c setup (2thread, 2core) is presented
168 in the graph below. PDR measured for 0.5% packet loss ratio.
169
170 .. raw:: html
171
172     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-2t2c-l2-sel1-pdrdisc.html"></iframe>
173
174 .. raw:: latex
175
176     \begin{figure}[H]
177         \centering
178             \graphicspath{{../_build/_static/vpp/}}
179             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-2t2c-l2-sel1-pdrdisc}
180             \label{fig:64B-2t2c-l2-sel1-pdrdisc}
181     \end{figure}
182
183 *Figure 4a. VPP 2thread 2core - PDR Throughput for Phy-to-Phy L2 Ethernet
184 Switching (base).*
185
186 .. raw:: html
187
188     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-2t2c-l2-sel2-pdrdisc.html"></iframe>
189
190 .. raw:: latex
191
192     \begin{figure}[H]
193         \centering
194             \graphicspath{{../_build/_static/vpp/}}
195             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-2t2c-l2-sel2-pdrdisc}
196             \label{fig:64B-2t2c-l2-sel2-pdrdisc}
197     \end{figure}
198
199 *Figure 4b. VPP 2thread 2core - PDR Throughput for Phy-to-Phy L2 Ethernet
200 Switching (feature).*