0017b0ec8ccdad29df9d7746b1a08427e87a5c4b
[csit.git] / docs / report / vpp_performance_tests / packet_latency_graphs / l2.rst
1 L2 Ethernet Switching
2 =====================
3
4 This section includes summary graphs of VPP Phy-to-Phy packet latency
5 with L2 Ethernet switching measured at 50% of discovered NDR throughput
6 rate. Latency is reported for VPP running in multiple configurations of
7 VPP worker thread(s), a.k.a. VPP data plane thread(s), and their
8 physical CPU core(s) placement.
9
10 VPP packet latency in 1t1c setup (1thread, 1core) is presented in the graph below.
11
12 .. raw:: html
13
14     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-1t1c-l2-sel1-ndrdisc-lat50.html"></iframe>
15
16 .. raw:: latex
17
18     \begin{figure}[H]
19         \centering
20             \graphicspath{{../_build/_static/vpp/}}
21             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-1t1c-l2-sel1-ndrdisc-lat50}
22             \label{fig:64B-1t1c-l2-sel1-ndrdisc-lat50}
23     \end{figure}
24
25 *Figure 1a. VPP 1thread 1core - packet latency for Phy-to-Phy L2 Ethernet
26 Switching (base).*
27
28 .. raw:: html
29
30     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-1t1c-l2-sel2-ndrdisc-lat50.html"></iframe>
31
32 .. raw:: latex
33
34     \begin{figure}[H]
35         \centering
36             \graphicspath{{../_build/_static/vpp/}}
37             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-1t1c-l2-sel2-ndrdisc-lat50}
38             \label{fig:64B-1t1c-l2-sel2-ndrdisc-lat50.html}
39     \end{figure}
40
41 *Figure 1b. VPP 1thread 1core - packet latency for Phy-to-Phy L2 Ethernet
42 Switching (feature).*
43
44 CSIT source code for the test cases used for above plots can be found in CSIT
45 git repository:
46
47 .. only:: html
48
49    .. 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" *
50       :shell:
51
52 .. only:: latex
53
54    .. code-block:: bash
55
56       $ cd tests/vpp/perf/l2
57       $ grep -E "64B-1t1c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-(iacl50-state(ful|less)-flows10k.*|oacl50-state(ful|less)-flows10k.*|eth.*)*ndrdisc" *
58
59 VPP packet latency in 2t2c setup (2thread, 2core) is presented in the graph below.
60
61 .. raw:: html
62
63     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-2t2c-l2-sel1-ndrdisc-lat50.html"></iframe>
64
65 .. raw:: latex
66
67     \begin{figure}[H]
68         \centering
69             \graphicspath{{../_build/_static/vpp/}}
70             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-2t2c-l2-sel1-ndrdisc-lat50}
71             \label{fig:64B-2t2c-l2-sel1-ndrdisc-lat50}
72     \end{figure}
73
74 *Figure 2a. VPP 2threads 2cores - packet latency for Phy-to-Phy L2 Ethernet
75 Switching (base).*
76
77 .. raw:: html
78
79     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-2t2c-l2-sel2-ndrdisc-lat50.html"></iframe>
80
81 .. raw:: latex
82
83     \begin{figure}[H]
84         \centering
85             \graphicspath{{../_build/_static/vpp/}}
86             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-2t2c-l2-sel2-ndrdisc-lat50}
87             \label{fig:64B-2t2c-l2-sel2-ndrdisc-lat50}
88     \end{figure}
89
90 *Figure 2b. VPP 2threads 2cores - packet latency for Phy-to-Phy L2 Ethernet
91 Switching (feature).*
92
93 CSIT source code for the test cases used for above plots can be found in CSIT
94 git repository:
95
96 .. only:: html
97
98    .. 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" *
99       :shell:
100
101 .. only:: latex
102
103    .. code-block:: bash
104
105       $ cd tests/vpp/perf/l2
106       $ grep -E "64B-1t1c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-(iacl50-state(ful|less)-flows10k.*|oacl50-state(ful|less)-flows10k.*|eth.*)*ndrdisc" *