fe4d4deb6b8e35cabae05fbcfc889d1f0e9c7c63
[csit.git] / docs / report / vpp_performance_tests / throughput_speedup_multi_core / vm_vhost.rst
1 VM vhost Connections
2 ====================
3 Following sections include Throughput Speedup Analysis for VPP multi-
4 core multi-thread configurations with no Hyper-Threading, specifically
5 for tested 2t2c (2threads, 2cores) and 4t4c scenarios. 1t1c throughput
6 results are used as a reference for reported speedup ratio. Input data
7 used for the graphs comes from Phy-to-Phy 64B performance tests with
8 VM vhost-user, including NDR throughput (zero packet loss) and
9 PDR throughput (<0.5% packet loss).
10
11 NDR Throughput
12 --------------
13
14 VPP NDR 64B packet throughput speedup ratio is presented in the graphs
15 below for 10ge2p1x520, 10ge2p1x710 and 40ge2p1xl710 network interface cards.
16
17 NIC 10ge2p1x520
18 ~~~~~~~~~~~~~~~
19
20 .. raw:: html
21
22     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/10ge2p1x520-64B-vhost-sel1-tsa-ndrdisc.html"></iframe>
23
24 .. raw:: latex
25
26     \begin{figure}[H]
27         \centering
28             \graphicspath{{../_build/_static/vpp/}}
29             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{10ge2p1x520-64B-vhost-sel1-tsa-ndrdisc}
30             \label{fig:10ge2p1x520-64B-vhost-sel1-tsa-ndrdisc}
31     \end{figure}
32
33 *Figure 1a. Throughput Speedup Analysis - Multi-Core Speedup Ratio - Normalized
34 NDR Throughput for Phy-to-Phy VM vhost-user selected TCs.*
35
36 .. raw:: html
37
38     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/10ge2p1x520-64B-vhost-sel2-tsa-ndrdisc.html"></iframe>
39
40 .. raw:: latex
41
42     \begin{figure}[H]
43         \centering
44             \graphicspath{{../_build/_static/vpp/}}
45             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{10ge2p1x520-64B-vhost-sel2-tsa-ndrdisc}
46             \label{fig:10ge2p1x520-64B-vhost-sel2-tsa-ndrdisc}
47     \end{figure}
48
49 *Figure 1b. Throughput Speedup Analysis - Multi-Core Speedup Ratio - Normalized
50 NDR Throughput for Phy-to-Phy VM vhost-user selected TCs.*
51
52 CSIT source code for the test cases used for above plots can be found in CSIT
53 git repository:
54
55 .. only:: html
56
57    .. program-output:: cd ../../../../../ && set +x && cd tests/vpp/perf/vm_vhost && grep -E "64B-(1t1c|2t2c|4t4c)-(eth|ethip4)-.*vhost.*-ndrdisc" 10ge2p1x520*-ndrpdrdisc.robot
58       :shell:
59
60 .. only:: latex
61
62    .. code-block:: bash
63
64       $ cd tests/vpp/perf/vm_vhost
65       $ grep -E "grep -E "64B-(1t1c|2t2c|4t4c)-(eth|ethip4)-.*vhost.*-ndrdisc" 10ge2p1x520*-ndrpdrdisc.robot
66
67 NIC 10ge2p1x710
68 ~~~~~~~~~~~~~~~
69
70 .. raw:: html
71
72     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/10ge2p1x710-64B-vhost-sel2-tsa-ndrdisc.html"></iframe>
73
74 .. raw:: latex
75
76     \begin{figure}[H]
77         \centering
78             \graphicspath{{../_build/_static/vpp/}}
79             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{10ge2p1x710-64B-vhost-sel2-tsa-ndrdisc}
80             \label{fig:10ge2p1x710-64B-vhost-sel2-tsa-ndrdisc}
81     \end{figure}
82
83 *Figure 2. Throughput Speedup Analysis - Multi-Core Speedup Ratio - Normalized
84 NDR Throughput for Phy-to-Phy VM vhost-user selected TCs.*
85
86 CSIT source code for the test cases used for above plots can be found in CSIT
87 git repository:
88
89 .. only:: html
90
91    .. program-output:: cd ../../../../../ && set +x && cd tests/vpp/perf/vm_vhost && grep -E "64B-(1t1c|2t2c|4t4c)-.*vhost.*-ndrdisc" 10ge2p1x710*
92       :shell:
93
94 .. only:: latex
95
96    .. code-block:: bash
97
98       $ cd tests/vpp/perf/vm_vhost
99       $ grep -E "64B-(1t1c|2t2c|4t4c)-.*vhost.*-ndrdisc" 10ge2p1x710*
100
101 NIC 40ge2p1xl710
102 ~~~~~~~~~~~~~~~~
103
104 .. raw:: html
105
106     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/40ge2p1xl710-64B-vhost-sel1-tsa-ndrdisc.html"></iframe>
107
108 .. raw:: latex
109
110     \begin{figure}[H]
111         \centering
112             \graphicspath{{../_build/_static/vpp/}}
113             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{40ge2p1xl710-64B-vhost-sel1-tsa-ndrdisc}
114             \label{fig:40ge2p1xl710-64B-vhost-sel1-tsa-ndrdisc}
115     \end{figure}
116
117 *Figure 3a. Throughput Speedup Analysis - Multi-Core Speedup Ratio - Normalized
118 NDR Throughput for Phy-to-Phy VM vhost-user selected TCs.*
119
120 .. raw:: html
121
122     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/40ge2p1xl710-64B-vhost-sel2-tsa-ndrdisc.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]{40ge2p1xl710-64B-vhost-sel2-tsa-ndrdisc}
130             \label{fig:40ge2p1xl710-64B-vhost-sel2-tsa-ndrdisc}
131     \end{figure}
132
133 *Figure 3b. Throughput Speedup Analysis - Multi-Core Speedup Ratio - Normalized
134 NDR Throughput for Phy-to-Phy VM vhost-user selected TCs.*
135
136 CSIT source code for the test cases used for above plots can be found in CSIT
137 git repository:
138
139 .. only:: html
140
141    .. program-output:: cd ../../../../../ && set +x && cd tests/vpp/perf/vm_vhost && grep -E "64B-(1t1c|2t2c|4t4c)-.*vhost.*-ndrdisc" 40ge2p1xl710*
142       :shell:
143
144 .. only:: latex
145
146    .. code-block:: bash
147
148       $ cd tests/vpp/perf/vm_vhost
149       $ grep -E "64B-(1t1c|2t2c|4t4c)-.*vhost.*-ndrdisc" 40ge2p1xl710*
150
151 PDR Throughput
152 --------------
153
154 VPP PDR 64B packet throughput speedup ratio is presented in the graphs
155 below for 10ge2p1x520, 10ge2p1x710 and 40ge2p1xl710 network interface cards.
156
157 NIC 10ge2p1x520
158 ~~~~~~~~~~~~~~~
159
160 .. raw:: html
161
162     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/10ge2p1x520-64B-vhost-sel1-tsa-pdrdisc.html"></iframe>
163
164 .. raw:: latex
165
166     \begin{figure}[H]
167         \centering
168             \graphicspath{{../_build/_static/vpp/}}
169             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{10ge2p1x520-64B-vhost-sel1-tsa-pdrdisc}
170             \label{fig:10ge2p1x520-64B-vhost-sel1-tsa-pdrdisc}
171     \end{figure}
172
173 *Figure 4a. Throughput Speedup Analysis - Multi-Core Speedup Ratio - Normalized
174 PDR Throughput for Phy-to-Phy VM vhost-user selected TCs.*
175
176 .. raw:: html
177
178     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/10ge2p1x520-64B-vhost-sel2-tsa-pdrdisc.html"></iframe>
179
180 .. raw:: latex
181
182     \begin{figure}[H]
183         \centering
184             \graphicspath{{../_build/_static/vpp/}}
185             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{10ge2p1x520-64B-vhost-sel2-tsa-pdrdisc}
186             \label{fig:10ge2p1x520-64B-vhost-sel2-tsa-pdrdisc}
187     \end{figure}
188
189 *Figure 4b. Throughput Speedup Analysis - Multi-Core Speedup Ratio - Normalized
190 PDR Throughput for Phy-to-Phy VM vhost-user selected TCs.*
191
192 CSIT source code for the test cases used for above plots can be found in CSIT
193 git repository:
194
195 .. only:: html
196
197    .. program-output:: cd ../../../../../ && set +x && cd tests/vpp/perf/vm_vhost && grep -E "64B-(1t1c|2t2c|4t4c)-(eth|ethip4)-.*vhost.*-pdrdisc" 10ge2p1x520*-ndrpdrdisc.robot
198       :shell:
199
200 .. only:: latex
201
202    .. code-block:: bash
203
204       $ cd tests/vpp/perf/vm_vhost
205       $ grep -E "grep -E "64B-(1t1c|2t2c|4t4c)-(eth|ethip4)-.*vhost.*-pdrdisc" 10ge2p1x520*-ndrpdrdisc.robot
206
207 NIC 10ge2p1x710
208 ~~~~~~~~~~~~~~~
209
210 .. raw:: html
211
212     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/10ge2p1x710-64B-vhost-sel2-tsa-pdrdisc.html"></iframe>
213
214 .. raw:: latex
215
216     \begin{figure}[H]
217         \centering
218             \graphicspath{{../_build/_static/vpp/}}
219             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{10ge2p1x710-64B-vhost-sel2-tsa-pdrdisc}
220             \label{fig:10ge2p1x710-64B-vhost-sel2-tsa-pdrdisc}
221     \end{figure}
222
223 *Figure 5. Throughput Speedup Analysis - Multi-Core Speedup Ratio - Normalized
224 PDR Throughput for Phy-to-Phy VM vhost-user selected TCs.*
225
226 CSIT source code for the test cases used for above plots can be found in CSIT
227 git repository:
228
229 .. only:: html
230
231    .. program-output:: cd ../../../../../ && set +x && cd tests/vpp/perf/vm_vhost && grep -E "64B-(1t1c|2t2c|4t4c)-.*vhost.*-pdrdisc" 10ge2p1x710*
232       :shell:
233
234 .. only:: latex
235
236    .. code-block:: bash
237
238       $ cd tests/vpp/perf/vm_vhost
239       $ grep -E "64B-(1t1c|2t2c|4t4c)-.*vhost.*-pdrdisc" 10ge2p1x710*
240
241 NIC 40ge2p1xl710
242 ~~~~~~~~~~~~~~~~
243
244 .. raw:: html
245
246     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/40ge2p1xl710-64B-vhost-sel1-tsa-pdrdisc.html"></iframe>
247
248 .. raw:: latex
249
250     \begin{figure}[H]
251         \centering
252             \graphicspath{{../_build/_static/vpp/}}
253             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{40ge2p1xl710-64B-vhost-sel1-tsa-pdrdisc}
254             \label{fig:40ge2p1xl710-64B-vhost-sel1-tsa-pdrdisc}
255     \end{figure}
256
257 *Figure 6a. Throughput Speedup Analysis - Multi-Core Speedup Ratio - Normalized
258 PDR Throughput for Phy-to-Phy VM vhost-user selected TCs.*
259
260 .. raw:: html
261
262     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/40ge2p1xl710-64B-vhost-sel2-tsa-pdrdisc.html"></iframe>
263
264 .. raw:: latex
265
266     \begin{figure}[H]
267         \centering
268             \graphicspath{{../_build/_static/vpp/}}
269             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{40ge2p1xl710-64B-vhost-sel2-tsa-pdrdisc}
270             \label{fig:40ge2p1xl710-64B-vhost-sel2-tsa-pdrdisc}
271     \end{figure}
272
273 *Figure 6b. Throughput Speedup Analysis - Multi-Core Speedup Ratio - Normalized
274 PDR Throughput for Phy-to-Phy VM vhost-user selected TCs.*
275
276 CSIT source code for the test cases used for above plots can be found in CSIT
277 git repository:
278
279 .. only:: html
280
281    .. program-output:: cd ../../../../../ && set +x && cd tests/vpp/perf/vm_vhost && grep -E "64B-(1t1c|2t2c|4t4c)-.*vhost.*-pdrdisc" 40ge2p1xl710*
282       :shell:
283
284 .. only:: latex
285
286    .. code-block:: bash
287
288       $ cd tests/vpp/perf/vm_vhost
289       $ grep -E "64B-(1t1c|2t2c|4t4c)-.*vhost.*-pdrdisc" 40ge2p1xl710*