CSIT-1332: Proposal of new layout of all graphs
[csit.git] / docs / report / vpp_performance_tests / throughput_speedup_multi_core / l2.rst
1
2 .. raw:: latex
3
4     \clearpage
5
6 .. raw:: html
7
8     <script type="text/javascript">
9
10         function getDocHeight(doc) {
11             doc = doc || document;
12             var body = doc.body, html = doc.documentElement;
13             var height = Math.max( body.scrollHeight, body.offsetHeight,
14                 html.clientHeight, html.scrollHeight, html.offsetHeight );
15             return height;
16         }
17
18         function setIframeHeight(id) {
19             var ifrm = document.getElementById(id);
20             var doc = ifrm.contentDocument? ifrm.contentDocument:
21                 ifrm.contentWindow.document;
22             ifrm.style.visibility = 'hidden';
23             ifrm.style.height = "10px"; // reset to minimal height ...
24             // IE opt. for bing/msn needs a bit added or scrollbar appears
25             ifrm.style.height = getDocHeight( doc ) + 4 + "px";
26             ifrm.style.visibility = 'visible';
27         }
28
29     </script>
30
31 L2 Ethernet Switching
32 =====================
33
34 Following sections include Throughput Speedup Analysis for VPP multi-
35 core multi-thread configurations with no Hyper-Threading, specifically
36 for tested 2t2c (2threads, 2cores) and 4t4c scenarios. 1t1c throughput
37 results are used as a reference for reported speedup ratio. Input data
38 used for the graphs comes from Phy-to-Phy 64B performance tests with VPP
39 L2 Ethernet switching, including NDR throughput (zero packet loss) and
40 PDR throughput (<0.5% packet loss).
41
42 CSIT source code for the test cases used for above plots can be found in
43 `CSIT git repository <https://git.fd.io/csit/tree/tests/vpp/perf/l2?h=rls1810>`_.
44
45 .. raw:: latex
46
47     \clearpage
48
49 3n-hsw-x520
50 ~~~~~~~~~~~
51
52 64b-base_and_scale
53 ------------------
54
55 .. raw:: html
56
57     <center><b>
58
59 :index:`Speedup Multi-core: l2sw-3n-hsw-x520-64b-base_and_scale-ndr`
60
61 .. raw:: html
62
63     </b>
64     <iframe id="ifrm01" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/l2sw-3n-hsw-x520-64b-base_and_scale-ndr-tsa.html"></iframe>
65     <p><br><br></p>
66     </center>
67
68 .. raw:: latex
69
70     \begin{figure}[H]
71         \centering
72             \graphicspath{{../_build/_static/vpp/}}
73             \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{l2sw-3n-hsw-x520-64b-base_and_scale-ndr-tsa}
74             \label{fig:l2sw-3n-hsw-x520-64b-base_and_scale-ndr-tsa}
75     \end{figure}
76
77 .. raw:: html
78
79     <center><b>
80
81 .. raw:: latex
82
83     \clearpage
84
85 :index:`Speedup Multi-core: l2sw-3n-hsw-x520-64b-base_and_scale-pdr`
86
87 .. raw:: html
88
89     </b>
90     <iframe id="ifrm02" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/l2sw-3n-hsw-x520-64b-base_and_scale-pdr-tsa.html"></iframe>
91     <p><br><br></p>
92     </center>
93
94 .. raw:: latex
95
96     \begin{figure}[H]
97         \centering
98             \graphicspath{{../_build/_static/vpp/}}
99             \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{l2sw-3n-hsw-x520-64b-base_and_scale-pdr-tsa}
100             \label{fig:l2sw-3n-hsw-x520-64b-base_and_scale-pdr-tsa}
101     \end{figure}
102
103 .. raw:: latex
104
105     \clearpage
106
107 64b-features
108 ------------
109
110 .. raw:: html
111
112     <center><b>
113
114 :index:`Speedup Multi-core: l2sw-3n-hsw-x520-64b-features-ndr`
115
116 .. raw:: html
117
118     </b>
119     <iframe id="ifrm03" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/l2sw-3n-hsw-x520-64b-features-ndr-tsa.html"></iframe>
120     <p><br><br></p>
121     </center>
122
123 .. raw:: latex
124
125     \begin{figure}[H]
126         \centering
127             \graphicspath{{../_build/_static/vpp/}}
128             \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{l2sw-3n-hsw-x520-64b-features-ndr-tsa}
129             \label{fig:l2sw-3n-hsw-x520-64b-features-ndr-tsa}
130     \end{figure}
131
132 .. raw:: html
133
134     <center><b>
135
136 .. raw:: latex
137
138     \clearpage
139
140 :index:`Speedup Multi-core: l2sw-3n-hsw-x520-64b-features-pdr`
141
142 .. raw:: html
143
144     </b>
145     <iframe id="ifrm04" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/l2sw-3n-hsw-x520-64b-features-pdr-tsa.html"></iframe>
146     <p><br><br></p>
147     </center>
148
149 .. raw:: latex
150
151     \begin{figure}[H]
152         \centering
153             \graphicspath{{../_build/_static/vpp/}}
154             \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{l2sw-3n-hsw-x520-64b-features-pdr-tsa}
155             \label{fig:l2sw-3n-hsw-x520-64b-features-pdr-tsa}
156     \end{figure}
157
158 .. raw:: latex
159
160     \clearpage
161
162 3n-hsw-x710
163 ~~~~~~~~~~~
164
165 64b-base_and_scale
166 ------------------
167
168 .. raw:: html
169
170     <center><b>
171
172 :index:`Speedup Multi-core: l2sw-3n-hsw-x710-64b-base_and_scale-ndr`
173
174 .. raw:: html
175
176     </b>
177     <iframe id="ifrm05" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/l2sw-3n-hsw-x710-64b-base_and_scale-ndr-tsa.html"></iframe>
178     <p><br><br></p>
179     </center>
180
181 .. raw:: latex
182
183     \begin{figure}[H]
184         \centering
185             \graphicspath{{../_build/_static/vpp/}}
186             \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{l2sw-3n-hsw-x710-64b-base_and_scale-ndr-tsa}
187             \label{fig:l2sw-3n-hsw-x710-64b-base_and_scale-ndr-tsa}
188     \end{figure}
189
190 .. raw:: html
191
192     <center><b>
193
194 .. raw:: latex
195
196     \clearpage
197
198 :index:`Speedup Multi-core: l2sw-3n-hsw-x710-64b-base_and_scale-pdr`
199
200 .. raw:: html
201
202     </b>
203     <iframe id="ifrm06" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/l2sw-3n-hsw-x710-64b-base_and_scale-pdr-tsa.html"></iframe>
204     <p><br><br></p>
205     </center>
206
207 .. raw:: latex
208
209     \begin{figure}[H]
210         \centering
211             \graphicspath{{../_build/_static/vpp/}}
212             \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{l2sw-3n-hsw-x710-64b-base_and_scale-pdr-tsa}
213             \label{fig:l2sw-3n-hsw-x710-64b-base_and_scale-pdr-tsa}
214     \end{figure}
215
216 .. raw:: latex
217
218     \clearpage
219
220 64b-features
221 ------------
222
223 .. raw:: html
224
225     <center><b>
226
227 :index:`Speedup Multi-core: l2sw-3n-hsw-x710-64b-features-ndr`
228
229 .. raw:: html
230
231     </b>
232     <iframe id="ifrm07" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/l2sw-3n-hsw-x710-64b-features-ndr-tsa.html"></iframe>
233     <p><br><br></p>
234     </center>
235
236 .. raw:: latex
237
238     \begin{figure}[H]
239         \centering
240             \graphicspath{{../_build/_static/vpp/}}
241             \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{l2sw-3n-hsw-x710-64b-features-ndr-tsa}
242             \label{fig:l2sw-3n-hsw-x710-64b-features-ndr-tsa}
243     \end{figure}
244
245 .. raw:: html
246
247     <center><b>
248
249 .. raw:: latex
250
251     \clearpage
252
253 :index:`Speedup Multi-core: l2sw-3n-hsw-x710-64b-features-pdr`
254
255 .. raw:: html
256
257     </b>
258     <iframe id="ifrm08" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/l2sw-3n-hsw-x710-64b-features-pdr-tsa.html"></iframe>
259     <p><br><br></p>
260     </center>
261
262 .. raw:: latex
263
264     \begin{figure}[H]
265         \centering
266             \graphicspath{{../_build/_static/vpp/}}
267             \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{l2sw-3n-hsw-x710-64b-features-pdr-tsa}
268             \label{fig:l2sw-3n-hsw-x710-64b-features-pdr-tsa}
269     \end{figure}
270
271 .. raw:: latex
272
273     \clearpage
274
275 3n-hsw-xl710
276 ~~~~~~~~~~~~
277
278 64b-base_and_scale
279 ------------------
280
281 .. raw:: html
282
283     <center><b>
284
285 :index:`Speedup Multi-core: l2sw-3n-hsw-xl710-64b-base_and_scale-ndr`
286
287 .. raw:: html
288
289     </b>
290     <iframe id="ifrm09" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/l2sw-3n-hsw-xl710-64b-base_and_scale-ndr-tsa.html"></iframe>
291     <p><br><br></p>
292     </center>
293
294 .. raw:: latex
295
296     \begin{figure}[H]
297         \centering
298             \graphicspath{{../_build/_static/vpp/}}
299             \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{l2sw-3n-hsw-xl710-64b-base_and_scale-ndr-tsa}
300             \label{fig:l2sw-3n-hsw-xl710-64b-base_and_scale-ndr-tsa}
301     \end{figure}
302
303 .. raw:: html
304
305     <center><b>
306
307 .. raw:: latex
308
309     \clearpage
310
311 :index:`Speedup Multi-core: l2sw-3n-hsw-xl710-64b-base_and_scale-pdr`
312
313 .. raw:: html
314
315     </b>
316     <iframe id="ifrm10" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/l2sw-3n-hsw-xl710-64b-base_and_scale-pdr-tsa.html"></iframe>
317     <p><br><br></p>
318     </center>
319
320 .. raw:: latex
321
322     \begin{figure}[H]
323         \centering
324             \graphicspath{{../_build/_static/vpp/}}
325             \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{l2sw-3n-hsw-xl710-64b-base_and_scale-pdr-tsa}
326             \label{fig:l2sw-3n-hsw-xl710-64b-base_and_scale-pdr-tsa}
327     \end{figure}
328
329 .. raw:: latex
330
331     \clearpage
332
333 3n-skx-x710
334 ~~~~~~~~~~~
335
336 64b-base_and_scale
337 ------------------
338
339 .. raw:: html
340
341     <center><b>
342
343 :index:`Speedup Multi-core: l2sw-3n-skx-x710-64b-base_and_scale-ndr`
344
345 .. raw:: html
346
347     </b>
348     <iframe id="ifrm11" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/l2sw-3n-skx-x710-64b-base_and_scale-ndr-tsa.html"></iframe>
349     <p><br><br></p>
350     </center>
351
352 .. raw:: latex
353
354     \begin{figure}[H]
355         \centering
356             \graphicspath{{../_build/_static/vpp/}}
357             \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{l2sw-3n-skx-x710-64b-base_and_scale-ndr-tsa}
358             \label{fig:l2sw-3n-skx-x710-64b-base_and_scale-ndr-tsa}
359     \end{figure}
360
361 .. raw:: html
362
363     <center><b>
364
365 .. raw:: latex
366
367     \clearpage
368
369 :index:`Speedup Multi-core: l2sw-3n-skx-x710-64b-base_and_scale-pdr`
370
371 .. raw:: html
372
373     </b>
374     <iframe id="ifrm12" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/l2sw-3n-skx-x710-64b-base_and_scale-pdr-tsa.html"></iframe>
375     <p><br><br></p>
376     </center>
377
378 .. raw:: latex
379
380     \begin{figure}[H]
381         \centering
382             \graphicspath{{../_build/_static/vpp/}}
383             \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{l2sw-3n-skx-x710-64b-base_and_scale-pdr-tsa}
384             \label{fig:l2sw-3n-skx-x710-64b-base_and_scale-pdr-tsa}
385     \end{figure}
386
387 .. raw:: latex
388
389     \clearpage
390
391 64b-features
392 ------------
393
394 .. raw:: html
395
396     <center><b>
397
398 :index:`Speedup Multi-core: l2sw-3n-skx-x710-64b-features-ndr`
399
400 .. raw:: html
401
402     </b>
403     <iframe id="ifrm13" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/l2sw-3n-skx-x710-64b-features-ndr-tsa.html"></iframe>
404     <p><br><br></p>
405     </center>
406
407 .. raw:: latex
408
409     \begin{figure}[H]
410         \centering
411             \graphicspath{{../_build/_static/vpp/}}
412             \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{l2sw-3n-skx-x710-64b-features-ndr-tsa}
413             \label{fig:l2sw-3n-skx-x710-64b-features-ndr-tsa}
414     \end{figure}
415
416 .. raw:: html
417
418     <center><b>
419
420 .. raw:: latex
421
422     \clearpage
423
424 :index:`Speedup Multi-core: l2sw-3n-skx-x710-64b-features-pdr`
425
426 .. raw:: html
427
428     </b>
429     <iframe id="ifrm14" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/l2sw-3n-skx-x710-64b-features-pdr-tsa.html"></iframe>
430     <p><br><br></p>
431     </center>
432
433 .. raw:: latex
434
435     \begin{figure}[H]
436         \centering
437             \graphicspath{{../_build/_static/vpp/}}
438             \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{l2sw-3n-skx-x710-64b-features-pdr-tsa}
439             \label{fig:l2sw-3n-skx-x710-64b-features-pdr-tsa}
440     \end{figure}
441
442 .. raw:: latex
443
444     \clearpage
445
446 3n-skx-xxv710
447 ~~~~~~~~~~~~~
448
449 64b-base_and_scale
450 ------------------
451
452 .. raw:: html
453
454     <center><b>
455
456 :index:`Speedup Multi-core: l2sw-3n-skx-xxv710-64b-base_and_scale-ndr`
457
458 .. raw:: html
459
460     </b>
461     <iframe id="ifrm15" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/l2sw-3n-skx-xxv710-64b-base_and_scale-ndr-tsa.html"></iframe>
462     <p><br><br></p>
463     </center>
464
465 .. raw:: latex
466
467     \begin{figure}[H]
468         \centering
469             \graphicspath{{../_build/_static/vpp/}}
470             \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{l2sw-3n-skx-xxv710-64b-base_and_scale-ndr-tsa}
471             \label{fig:l2sw-3n-skx-xxv710-64b-base_and_scale-ndr-tsa}
472     \end{figure}
473
474 .. raw:: html
475
476     <center><b>
477
478 .. raw:: latex
479
480     \clearpage
481
482 :index:`Speedup Multi-core: l2sw-3n-skx-xxv710-64b-base_and_scale-pdr`
483
484 .. raw:: html
485
486     </b>
487     <iframe id="ifrm16" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/l2sw-3n-skx-xxv710-64b-base_and_scale-pdr-tsa.html"></iframe>
488     <p><br><br></p>
489     </center>
490
491 .. raw:: latex
492
493     \begin{figure}[H]
494         \centering
495             \graphicspath{{../_build/_static/vpp/}}
496             \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{l2sw-3n-skx-xxv710-64b-base_and_scale-pdr-tsa}
497             \label{fig:l2sw-3n-skx-xxv710-64b-base_and_scale-pdr-tsa}
498     \end{figure}
499
500 .. raw:: latex
501
502     \clearpage
503
504 2n-skx-x710
505 ~~~~~~~~~~~
506
507 64b-base_and_scale
508 ------------------
509
510 .. raw:: html
511
512     <center><b>
513
514 :index:`Speedup Multi-core: l2sw-2n-skx-x710-64b-base_and_scale-ndr`
515
516 .. raw:: html
517
518     </b>
519     <iframe id="ifrm17" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/l2sw-2n-skx-x710-64b-base_and_scale-ndr-tsa.html"></iframe>
520     <p><br><br></p>
521     </center>
522
523 .. raw:: latex
524
525     \begin{figure}[H]
526         \centering
527             \graphicspath{{../_build/_static/vpp/}}
528             \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{l2sw-2n-skx-x710-64b-base_and_scale-ndr-tsa}
529             \label{fig:l2sw-2n-skx-x710-64b-base_and_scale-ndr-tsa}
530     \end{figure}
531
532 .. raw:: html
533
534     <center><b>
535
536 .. raw:: latex
537
538     \clearpage
539
540 :index:`Speedup Multi-core: l2sw-2n-skx-x710-64b-base_and_scale-pdr`
541
542 .. raw:: html
543
544     </b>
545     <iframe id="ifrm18" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/l2sw-2n-skx-x710-64b-base_and_scale-pdr-tsa.html"></iframe>
546     <p><br><br></p>
547     </center>
548
549 .. raw:: latex
550
551     \begin{figure}[H]
552         \centering
553             \graphicspath{{../_build/_static/vpp/}}
554             \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{l2sw-2n-skx-x710-64b-base_and_scale-pdr-tsa}
555             \label{fig:l2sw-2n-skx-x710-64b-base_and_scale-pdr-tsa}
556     \end{figure}
557
558 .. raw:: latex
559
560     \clearpage
561
562 2n-skx-xxv710
563 ~~~~~~~~~~~~~
564
565 64b-base_and_scale
566 ------------------
567
568 .. raw:: html
569
570     <center><b>
571
572 :index:`Speedup Multi-core: l2sw-2n-skx-xxv710-64b-base_and_scale-ndr`
573
574 .. raw:: html
575
576     </b>
577     <iframe id="ifrm19" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/l2sw-2n-skx-xxv710-64b-base_and_scale-ndr-tsa.html"></iframe>
578     <p><br><br></p>
579     </center>
580
581 .. raw:: latex
582
583     \begin{figure}[H]
584         \centering
585             \graphicspath{{../_build/_static/vpp/}}
586             \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{l2sw-2n-skx-xxv710-64b-base_and_scale-ndr-tsa}
587             \label{fig:l2sw-2n-skx-xxv710-64b-base_and_scale-ndr-tsa}
588     \end{figure}
589
590 .. raw:: html
591
592     <center><b>
593
594 .. raw:: latex
595
596     \clearpage
597
598 :index:`Speedup Multi-core: l2sw-2n-skx-xxv710-64b-base_and_scale-pdr`
599
600 .. raw:: html
601
602     </b>
603     <iframe id="ifrm20" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/l2sw-2n-skx-xxv710-64b-base_and_scale-pdr-tsa.html"></iframe>
604     <p><br><br></p>
605     </center>
606
607 .. raw:: latex
608
609     \begin{figure}[H]
610         \centering
611             \graphicspath{{../_build/_static/vpp/}}
612             \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{l2sw-2n-skx-xxv710-64b-base_and_scale-pdr-tsa}
613             \label{fig:l2sw-2n-skx-xxv710-64b-base_and_scale-pdr-tsa}
614     \end{figure}