37ac157f90f4d61b0165cd5183820104822be3ac
[csit.git] / docs / report / vpp_performance_tests / packet_throughput_graphs / l2.rst
1 L2 Ethernet Switching
2 =====================
3
4 Following sections include summary graphs of VPP Phy-to-Phy performance
5 with L2 Ethernet switching, including NDR throughput (zero packet loss)
6 and PDR throughput (<0.5% packet loss). Performance is reported for VPP
7 running in multiple configurations of VPP worker thread(s), a.k.a. VPP
8 data plane thread(s), and their physical CPU core(s) placement.
9
10 NDR Throughput
11 ~~~~~~~~~~~~~~
12
13 VPP NDR 64B packet throughput in 1t1c setup (1thread, 1core) is presented
14 in the graph below.
15
16 .. raw:: html
17
18     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-1t1c-l2-ndrdisc.html"></iframe>
19
20 *Figure 1. VPP 1thread 1core - NDR Throughput for Phy-to-Phy L2 Ethernet
21 Switching.*
22
23 CSIT source code for the test cases used for above plots can be found in CSIT
24 git repository:
25
26 .. 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" *
27    :shell:
28
29 VPP NDR 64B packet throughput in 2t2c setup (2thread, 2core) is presented
30 in the graph below.
31
32 .. raw:: html
33
34     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-2t2c-l2-ndrdisc.html"></iframe>
35
36 *Figure 2. VPP 2threads 2cores - NDR Throughput for Phy-to-Phy L2 Ethernet
37 Switching.*
38
39 CSIT source code for the test cases used for above plots can be found in CSIT
40 git repository:
41
42 .. program-output:: cd ../../ && set -x && cd tests/vpp/perf/l2 && grep -E "64B-2t2c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-(iacl50-state(ful|less)-flows10k.*|oacl50-state(ful|less)-flows10k.*|eth.*)*ndrdisc" *
43    :shell:
44
45 PDR Throughput
46 ~~~~~~~~~~~~~~
47
48 VPP PDR 64B packet throughput in 1t1c setup (1thread, 1core) is presented
49 in the graph below. PDR measured for 0.5% packet loss ratio.
50
51 .. raw:: html
52
53     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-1t1c-l2-pdrdisc.html"></iframe>
54
55 *Figure 3. VPP 1thread 1core - PDR Throughput for Phy-to-Phy L2 Ethernet
56 Switching.*
57
58 CSIT source code for the test cases used for above plots can be found in CSIT
59 git repository:
60
61 .. 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.*)*pdrdisc" *
62    :shell:
63
64 VPP PDR 64B packet throughput in 2t2c setup (2thread, 2core) is presented
65 in the graph below. PDR measured for 0.5% packet loss ratio.
66
67 .. raw:: html
68
69     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-2t2c-l2-pdrdisc.html"></iframe>
70
71 *Figure 4. VPP 2thread 2core - PDR Throughput for Phy-to-Phy L2 Ethernet
72 Switching.*
73
74 CSIT source code for the test cases used for above plots can be found in CSIT
75 git repository:
76
77 .. program-output:: cd ../../ && set -x && cd tests/vpp/perf/l2 && grep -E "64B-2t2c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-(iacl50-state(ful|less)-flows10k.*|oacl50-state(ful|less)-flows10k.*|eth.*)*pdrdisc" *
78    :shell: