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