CSIT-901: Throughput Speedup Analysis - Static content
[csit.git] / docs / report / vpp_performance_tests / throughput_speedup_multi_core / l2.rst
1 L2 Ethernet Switching
2 =====================
3
4 Following sections include Throughput Speedup Analysis for VPP multi-
5 core multi-thread configurations with no Hyper-Threading, specifically
6 for tested 2t2c (2threads, 2cores) and 4t4c scenarios. 1t1c throughput
7 results are used as a reference for reported speedup ratio. Input data
8 used for the graphs comes from Phy-to-Phy 64B performance tests with VPP
9 L2 Ethernet switching, including NDR throughput (zero packet loss) and
10 PDR throughput (<0.5% packet loss).
11
12 NDR Throughput
13 --------------
14
15 VPP NDR 64B packet throughput speedup ratio is presented in the graphs
16 below for 10ge2p1x520 and 40ge2p1xl710 network interface cards.
17
18 NIC 10ge2p1x520
19 ~~~~~~~~~~~~~~~
20
21 .. raw:: html
22
23     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/10ge2p1x520-64B-l2-tsa-ndrdisc.html"></iframe>
24
25 .. raw:: latex
26
27     \begin{figure}[H]
28         \centering
29             \graphicspath{{../_build/_static/vpp/}}
30             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{10ge2p1x520-64B-l2-tsa-ndrdisc}
31             \label{fig:10ge2p1x520-64B-l2-tsa-ndrdisc}
32     \end{figure}
33
34 CSIT source code for the test cases used for above plots can be found in CSIT
35 git repository:
36
37 .. only:: html
38
39    .. program-output:: cd ../../../../../ && set +x && cd tests/vpp/perf/l2 && grep -E "64B-(1t1c|2t2c|4t4c)-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn|l2bdscale.*|l2dbscale.*)-(eth.*)*ndrdisc" 10ge2p1x520*
40       :shell:
41
42 .. only:: latex
43
44    .. code-block:: bash
45
46       $ grep -E "64B-(1t1c|2t2c|4t4c)-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn|l2bdscale.*|l2dbscale.*)-(eth.*)*ndrdisc" tests/vpp/perf/l2/10ge2p1x520*
47
48 *Figure 1. Throughput Speedup Analysis - Multi-Core Speedup Ratio - Normalized
49 NDR Throughput for Phy-to-Phy L2 Ethernet Switching.*
50
51 NIC 40ge2p1xl710
52 ~~~~~~~~~~~~~~~~
53
54 .. raw:: html
55
56     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/40ge2p1xl710-64B-l2-tsa-ndrdisc.html"></iframe>
57
58 .. raw:: latex
59
60     \begin{figure}[H]
61         \centering
62             \graphicspath{{../_build/_static/vpp/}}
63             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{40ge2p1xl710-64B-l2-tsa-ndrdisc}
64             \label{fig:40ge2p1xl710-64B-l2-tsa-ndrdisc}
65     \end{figure}
66
67 CSIT source code for the test cases used for above plots can be found in CSIT
68 git repository:
69
70 .. only:: html
71
72    .. program-output:: cd ../../../../../ && set +x && cd tests/vpp/perf/l2 && grep -E "64B-(1t1c|2t2c|4t4c)-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn|l2bdscale.*|l2dbscale.*)-(eth.*)*ndrdisc" 40ge2p1xl710*
73       :shell:
74
75 .. only:: latex
76
77    .. code-block:: bash
78
79       $ grep -E "64B-(1t1c|2t2c|4t4c)-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn|l2bdscale.*|l2dbscale.*)-(eth.*)*ndrdisc" tests/vpp/perf/l2/40ge2p1xl710*
80
81 *Figure 2. Throughput Speedup Analysis - Multi-Core Speedup Ratio - Normalized
82 NDR Throughput for Phy-to-Phy L2 Ethernet Switching.*
83
84 PDR Throughput
85 --------------
86
87 VPP PDR 64B packet throughput speedup ratio is presented in the graphs
88 below for 10ge2p1x520 and 40ge2p1xl710 network interface cards. PDR
89 measured for 0.5% packet loss ratio.
90
91 NIC 10ge2p1x520
92 ~~~~~~~~~~~~~~~
93
94 .. raw:: html
95
96     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/10ge2p1x520-64B-l2-tsa-pdrdisc.html"></iframe>
97
98 .. raw:: latex
99
100     \begin{figure}[H]
101         \centering
102             \graphicspath{{../_build/_static/vpp/}}
103             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{10ge2p1x520-64B-l2-tsa-pdrdisc}
104             \label{fig:10ge2p1x520-64B-l2-tsa-pdrdisc}
105     \end{figure}
106
107 CSIT source code for the test cases used for above plots can be found in CSIT
108 git repository:
109
110 .. only:: html
111
112    .. program-output:: cd ../../../../../ && set +x && cd tests/vpp/perf/l2 && grep -E "64B-(1t1c|2t2c|4t4c)-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn|l2bdscale.*|l2dbscale.*)-(eth.*)*pdrdisc" 10ge2p1x520*
113       :shell:
114
115 .. only:: latex
116
117    .. code-block:: bash
118
119       $ grep -E "64B-(1t1c|2t2c|4t4c)-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn|l2bdscale.*|l2dbscale.*)-(eth.*)*pdrdisc" tests/vpp/perf/l2/10ge2p1x520*
120
121 *Figure 3. Throughput Speedup Analysis - Multi-Core Speedup Ratio - Normalized
122 PDR Throughput for Phy-to-Phy L2 Ethernet Switching.*