Report: Add SRv6, fix greps
[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 CSIT source code for the test cases used for above plots can be found in CSIT
29 git repository:
30
31 .. only:: html
32
33    .. program-output:: cd ../../../../../ && set +x && cd tests/vpp/perf/l2/ && grep -E "64B-1t1c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn|l2bdscale.*|l2dbscale.*)-(eth.*)*ndrdisc" *
34       :shell:
35
36 .. only:: latex
37
38    .. code-block:: bash
39
40       $ grep -E "64B-1t1c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn|l2bdscale.*|l2dbscale.*)-(eth.*)*ndrdisc" tests/vpp/perf/l2/*
41
42 .. raw:: html
43
44     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-1t1c-l2-sel2-ndrdisc-lat50.html"></iframe>
45
46 .. raw:: latex
47
48     \begin{figure}[H]
49         \centering
50             \graphicspath{{../_build/_static/vpp/}}
51             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-1t1c-l2-sel2-ndrdisc-lat50}
52             \label{fig:64B-1t1c-l2-sel2-ndrdisc-lat50.html}
53     \end{figure}
54
55 *Figure 1b. VPP 1thread 1core - packet latency for Phy-to-Phy L2 Ethernet
56 Switching (feature).*
57
58 CSIT source code for the test cases used for above plots can be found in CSIT
59 git repository:
60
61 .. only:: html
62
63    .. program-output:: cd ../../../../../ && set +x && cd tests/vpp/perf/l2 && grep -E "64B-1t1c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn).*-(iacl50(-state(ful|less)|sl)-(flows10k.*|10kflows.*)|oacl50-state(ful|less)-flows10k.*)-ndrdisc" *
64       :shell:
65
66 .. only:: latex
67
68    .. code-block:: bash
69
70       $ cd tests/vpp/perf/l2
71       $ grep -E "64B-1t1c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn).*-(iacl50(-state(ful|less)|sl)-(flows10k.*|10kflows.*)|oacl50-state(ful|less)-flows10k.*)-ndrdisc" *
72
73 VPP packet latency in 2t2c setup (2thread, 2core) is presented in the graph below.
74
75 .. raw:: html
76
77     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-2t2c-l2-sel1-ndrdisc-lat50.html"></iframe>
78
79 .. raw:: latex
80
81     \begin{figure}[H]
82         \centering
83             \graphicspath{{../_build/_static/vpp/}}
84             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-2t2c-l2-sel1-ndrdisc-lat50}
85             \label{fig:64B-2t2c-l2-sel1-ndrdisc-lat50}
86     \end{figure}
87
88 *Figure 2a. VPP 2threads 2cores - packet latency for Phy-to-Phy L2 Ethernet
89 Switching (base).*
90
91 CSIT source code for the test cases used for above plots can be found in CSIT
92 git repository:
93
94 .. only:: html
95
96    .. program-output:: cd ../../../../../ && set +x && cd tests/vpp/perf/l2/ && grep -E "64B-2t2c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn|l2bdscale.*|l2dbscale.*)-(eth.*)*ndrdisc" *
97       :shell:
98
99 .. only:: latex
100
101    .. code-block:: bash
102
103       $ grep -E "64B-2t2c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn|l2bdscale.*|l2dbscale.*)-(eth.*)*ndrdisc" tests/vpp/perf/l2/*
104
105 .. raw:: html
106
107     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-2t2c-l2-sel2-ndrdisc-lat50.html"></iframe>
108
109 .. raw:: latex
110
111     \begin{figure}[H]
112         \centering
113             \graphicspath{{../_build/_static/vpp/}}
114             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-2t2c-l2-sel2-ndrdisc-lat50}
115             \label{fig:64B-2t2c-l2-sel2-ndrdisc-lat50}
116     \end{figure}
117
118 *Figure 2b. VPP 2threads 2cores - packet latency for Phy-to-Phy L2 Ethernet
119 Switching (feature).*
120
121 CSIT source code for the test cases used for above plots can be found in CSIT
122 git repository:
123
124 .. only:: html
125
126    .. program-output:: cd ../../../../../ && set +x && cd tests/vpp/perf/l2 && grep -E "64B-2t2c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn).*-(iacl50(-state(ful|less)|sl)-(flows10k.*|10kflows.*)|oacl50-state(ful|less)-flows10k.*)-ndrdisc" *
127       :shell:
128
129 .. only:: latex
130
131    .. code-block:: bash
132
133       $ cd tests/vpp/perf/l2
134       $ grep -E "64B-2t2c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn).*-(iacl50(-state(ful|less)|sl)-(flows10k.*|10kflows.*)|oacl50-state(ful|less)-flows10k.*)-ndrdisc" *