Fix: Report vhost and testpmd plots
[csit.git] / docs / report / testpmd_performance_tests / packet_latency_graphs / l2.rst
1 L2 Ethernet Switching
2 =====================
3
4 This section provides a summary of Testpmd Phy-to-Phy L2 Ethernet looping
5 performance illustrating packet latency measured at 50% of discovered NDR
6 throughput rate. Latency is reported for Testpmd running in multiple
7 configurations of Testpmd worker thread(s), a.k.a. Testpmd data plane thread
8 (s), and their physical CPU core(s) placement.
9
10 *Title of each graph* is a regex (regular expression) matching all plotted
11 latency test cases, *X-axis labels* are indeces of csit-dpdk-perf-1704 jobs
12 that created result output files used as data sources for the graph,
13 *Y-axis labels* are measured packet Latency [uSec] values, and the *graph
14 legend* identifes the plotted test suites.
15
16 .. note::
17
18     Data sources for reported test results: i) FD.io test executor jobs
19     `csit-dpdk-perf-1704-all <https://jenkins.fd.io/view/csit/job/csit-dpdk-perf-1704-all/>`_ ,
20     ii) archived FD.io jobs test result output files
21     `csit-dpdk-perf-1704-all#job-number <https://nexus.fd.io/link>`_.
22
23 Testpmd packet latency - running in configuration of **one worker thread (1t) on one
24 physical core (1c)** - is presented in the figure below.
25
26 .. raw:: html
27
28     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/testpmd/64B-1t1c-l2-ndrdisc-lat50.html"></iframe>
29
30 *Figure 1. Testpmd 1thread 1core - packet latency for Phy-to-Phy L2 Ethernet Looping.*
31
32 CSIT test cases used to generate results presented above can be found in CSIT
33 git repository by filtering with specified regex as follows:
34
35 .. code-block:: bash
36
37     $ csit/tests/perf
38     $ grep -E "64B-1t1c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-ndrdisc" *
39
40     10ge2p1x520-eth-l2xcbase-ndrdisc.robot:| tc01-64B-1t1c-eth-l2xcbase-ndrdisc
41
42 Testpmd packet latency - running in configuration of **two worker threads (2t)
43 on two physical cores (2c)** - is presented in the figure below.
44
45 .. raw:: html
46
47     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/testpmd/64B-2t2c-l2-ndrdisc-lat50.html"></iframe>
48
49 *Figure 2. Testpmd 2thread 2core - packet latency for Phy-to-Phy L2 Ethernet Looping.*
50
51 CSIT test cases used to generate results presented above can be found in CSIT
52 git repository by filtering with specified regex as follows:
53
54 .. code-block:: bash
55
56     $ csit/tests/perf
57     $ grep -E "64B-2t2c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-ndrdisc" *
58
59     10ge2p1x520-eth-l2xcbase-ndrdisc.robot:| tc07-64B-2t2c-eth-l2xcbase-ndrdisc
60