X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=docs%2Freport%2Fvpp_performance_tests%2Fpacket_latency_graphs%2Fvm_vhost.rst;h=4a9aa6c9fb339ea0d620caa0931f0347135b4348;hb=e82babd2345f1c499278b71a891b23ddb002ec87;hp=351b748d8f00f87610b2b37ed70a9a62d311f75c;hpb=0956f4f87140b878a3a4da2e192dddd2c9ecc975;p=csit.git
diff --git a/docs/report/vpp_performance_tests/packet_latency_graphs/vm_vhost.rst b/docs/report/vpp_performance_tests/packet_latency_graphs/vm_vhost.rst
index 351b748d8f..4a9aa6c9fb 100644
--- a/docs/report/vpp_performance_tests/packet_latency_graphs/vm_vhost.rst
+++ b/docs/report/vpp_performance_tests/packet_latency_graphs/vm_vhost.rst
@@ -14,21 +14,48 @@ VPP packet latency in 1t1c setup (1thread, 1core) is presented in the graph belo
+.. raw:: latex
+
+ \begin{figure}[H]
+ \centering
+ \graphicspath{{../_build/_static/vpp/}}
+ \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-1t1c-vhost-sel1-ndrdisc-lat50}
+ \label{fig:64B-1t1c-vhost-sel1-ndrdisc-lat50}
+ \end{figure}
+
*Figure 1a. VPP 1thread 1core - packet latency for Phy-to-VM-to-Phy VM
-vhost-user selected TCs.*
+vhost-user selected TCs (ipv4).*
.. raw:: html
+.. raw:: latex
+
+ \begin{figure}[H]
+ \centering
+ \graphicspath{{../_build/_static/vpp/}}
+ \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-1t1c-vhost-sel2-ndrdisc-lat50}
+ \label{fig:64B-1t1c-vhost-sel2-ndrdisc-lat50}
+ \end{figure}
+
*Figure 1b. VPP 1thread 1core - packet latency for Phy-to-VM-to-Phy VM
-vhost-user selected TCs.*
+vhost-user selected TCs (l2).*
CSIT source code for the test cases used for above plots can be found in CSIT
git repository:
-.. program-output:: cd ../../ && set -x && cd tests/vpp/perf/vm_vhost && grep -E "64B-1t1c-.*vhost.*-ndrdisc" *
- :shell:
+.. only:: html
+
+ .. program-output:: cd ../../../../../ && set +x && cd tests/vpp/perf/vm_vhost && grep -E "64B-1t1c-.*vhost.*-ndrdisc" *
+ :shell:
+
+.. only:: latex
+
+ .. code-block:: bash
+
+ $ cd tests/vpp/perf/vm_vhost
+ $ grep -E "64B-1t1c-.*vhost.*-ndrdisc" *
VPP packet latency in 2t2c setup (2thread, 2core) is presented in the graph below.
@@ -36,18 +63,45 @@ VPP packet latency in 2t2c setup (2thread, 2core) is presented in the graph belo
+.. raw:: latex
+
+ \begin{figure}[H]
+ \centering
+ \graphicspath{{../_build/_static/vpp/}}
+ \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-2t2c-vhost-sel1-ndrdisc-lat50}
+ \label{fig:64B-2t2c-vhost-sel1-ndrdisc-lat50}
+ \end{figure}
+
*Figure 2a. VPP 2threads 2cores - packet latency for Phy-to-VM-to-Phy VM
-vhost-user selected TCs.*
+vhost-user selected TCs (ipv4).*
.. raw:: html
+.. raw:: latex
+
+ \begin{figure}[H]
+ \centering
+ \graphicspath{{../_build/_static/vpp/}}
+ \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-2t2c-vhost-sel2-ndrdisc-lat50}
+ \label{fig:64B-2t2c-vhost-sel2-ndrdisc-lat50}
+ \end{figure}
+
*Figure 2b. VPP 2threads 2cores - packet latency for Phy-to-VM-to-Phy VM
-vhost-user selected TCs.*
+vhost-user selected TCs (l2).*
CSIT source code for the test cases used for above plots can be found in CSIT
git repository:
-.. program-output:: cd ../../ && set -x && cd tests/vpp/perf/vm_vhost && grep -E "64B-2t2c-.*vhost.*-ndrdisc" *
- :shell:
+.. only:: html
+
+ .. program-output:: cd ../../../../../ && set +x && cd tests/vpp/perf/vm_vhost && grep -E "64B-2t2c-.*vhost.*-ndrdisc" *
+ :shell:
+
+.. only:: latex
+
+ .. code-block:: bash
+
+ $ cd tests/vpp/perf/vm_vhost
+ $ grep -E "64B-2t2c-.*vhost.*-ndrdisc" *