5f2e7d2824abcf972949b105e946b0eed17edc06
[csit.git] / docs / report / vpp_performance_tests / throughput_speedup_multi_core / ip4.rst
1 IPv4 Routed-Forwarding
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 IPv4 Routed-Forwarding, 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-ip4-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-ip4-tsa-ndrdisc}
31             \label{fig:10ge2p1x520-64B-ip4-tsa-ndrdisc}
32     \end{figure}
33
34 *Figure 1. Throughput Speedup Analysis - Multi-Core Speedup Ratio - Normalized
35 NDR Throughput for Phy-to-Phy IPv4 Routed-Forwarding.*
36
37 CSIT source code for the test cases used for above plots can be found in CSIT
38 git repository:
39
40 .. only:: html
41
42    .. program-output:: cd ../../../../../ && set +x && cd tests/vpp/perf/ip4 && grep -E '64B-(1t1c|2t2c|4t4c)-ethip4-ip4(base|scale[a-z0-9]*)*-ndrdisc' 10ge2p1x520*
43       :shell:
44
45 .. only:: latex
46
47    .. code-block:: bash
48
49       $ cd tests/vpp/perf/ip4
50       $ grep -E '64B-(1t1c|2t2c|4t4c)-ethip4-ip4(base|scale[a-z0-9]*)*-ndrdisc' 10ge2p1x520*
51
52 NIC 40ge2p1xl710
53 ~~~~~~~~~~~~~~~~
54
55 .. raw:: html
56
57     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/40ge2p1xl710-64B-ip4-tsa-ndrdisc.html"></iframe>
58
59 .. raw:: latex
60
61     \begin{figure}[H]
62         \centering
63             \graphicspath{{../_build/_static/vpp/}}
64             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{40ge2p1xl710-64B-ip4-tsa-ndrdisc}
65             \label{fig:40ge2p1xl710-64B-ip4-tsa-ndrdisc}
66     \end{figure}
67
68 *Figure 2. Throughput Speedup Analysis - Multi-Core Speedup Ratio - Normalized
69 NDR Throughput for Phy-to-Phy IPv4 Routed-Forwarding.*
70
71 CSIT source code for the test cases used for above plots can be found in CSIT
72 git repository:
73
74 .. only:: html
75
76    .. program-output:: cd ../../../../../ && set +x && cd tests/vpp/perf/ip4 && grep -P '64B-(1t1c|2t2c|4t4c)-ethip4-ip4(base|scale[a-z0-9]*)*-ndrdisc' 40ge2p1xl710*
77       :shell:
78
79 .. only:: latex
80
81    .. code-block:: bash
82
83       $ cd tests/vpp/perf/ip4
84       $ grep -P '64B-(1t1c|2t2c|4t4c)-ethip4-ip4(base|scale[a-z0-9]*)*-ndrdisc' 40ge2p1xl710*
85
86 PDR Throughput
87 --------------
88
89 VPP PDR 64B packet throughput speedup ratio is presented in the graphs
90 below for 10ge2p1x520 and 40ge2p1xl710 network interface cards. PDR
91 measured for 0.5% packet loss ratio.
92
93 NIC 10ge2p1x520
94 ~~~~~~~~~~~~~~~
95
96 .. raw:: html
97
98     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/10ge2p1x520-64B-ip4-tsa-pdrdisc.html"></iframe>
99
100 .. raw:: latex
101
102     \begin{figure}[H]
103         \centering
104             \graphicspath{{../_build/_static/vpp/}}
105             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{10ge2p1x520-64B-ip4-tsa-pdrdisc}
106             \label{fig:10ge2p1x520-64B-ip4-tsa-pdrdisc}
107     \end{figure}
108
109 *Figure 3. Throughput Speedup Analysis - Multi-Core Speedup Ratio - Normalized
110 PDR Throughput for Phy-to-Phy IPv4 Routed-Forwarding.*
111
112 CSIT source code for the test cases used for above plots can be found in CSIT
113 git repository:
114
115 .. only:: html
116
117    .. program-output:: cd ../../../../../ && set +x && cd tests/vpp/perf/ip4 && grep -E '64B-(1t1c|2t2c|4t4c)-ethip4-ip4(base|scale[a-z0-9]*)*-ndrdisc' 10ge2p1x520*
118       :shell:
119
120 .. only:: latex
121
122    .. code-block:: bash
123
124       $ cd tests/vpp/perf/ip4
125       $ grep -E '64B-(1t1c|2t2c|4t4c)-ethip4-ip4(base|scale[a-z0-9]*)*-ndrdisc' 10ge2p1x520*