CSIT-618 Add LaTeX support to release report
[csit.git] / docs / report / vpp_performance_tests / packet_throughput_graphs / vm_vhost.rst
index bd1ef79..952e37c 100644 (file)
@@ -18,6 +18,15 @@ in the graph below.
 
     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-1t1c-vhost-sel1-ndrdisc.html"></iframe>
 
 
     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-1t1c-vhost-sel1-ndrdisc.html"></iframe>
 
+.. 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}
+            \label{fig:64B-1t1c-vhost-sel1-ndrdisc}
+    \end{figure}
+
 *Figure 1a. VPP 1thread 1core - NDR Throughput for Phy-to-VM-to-Phy VM vhost-user
 selected TCs.*
 
 *Figure 1a. VPP 1thread 1core - NDR Throughput for Phy-to-VM-to-Phy VM vhost-user
 selected TCs.*
 
@@ -25,14 +34,32 @@ selected TCs.*
 
     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-1t1c-vhost-sel2-ndrdisc.html"></iframe>
 
 
     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-1t1c-vhost-sel2-ndrdisc.html"></iframe>
 
+.. 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}
+            \label{fig:64B-1t1c-vhost-sel2-ndrdisc}
+    \end{figure}
+
 *Figure 1b. VPP 1thread 1core - NDR Throughput for Phy-to-VM-to-Phy VM
 vhost-user selected TCs.*
 
 CSIT source code for the test cases used for above plots can be found in CSIT
 git repository:
 
 *Figure 1b. VPP 1thread 1core - NDR Throughput for Phy-to-VM-to-Phy VM
 vhost-user selected TCs.*
 
 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 NDR 64B packet throughput in 2t2c setup (2thread, 2core) is presented
 in the graph below.
 
 VPP NDR 64B packet throughput in 2t2c setup (2thread, 2core) is presented
 in the graph below.
@@ -41,6 +68,15 @@ in the graph below.
 
     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-2t2c-vhost-sel1-ndrdisc.html"></iframe>
 
 
     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-2t2c-vhost-sel1-ndrdisc.html"></iframe>
 
+.. 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}
+            \label{fig:64B-2t2c-vhost-sel1-ndrdisc}
+    \end{figure}
+
 *Figure 2a. VPP 2threads 2cores - NDR Throughput for Phy-to-VM-to-Phy VM
 vhost-user selected TCs.*
 
 *Figure 2a. VPP 2threads 2cores - NDR Throughput for Phy-to-VM-to-Phy VM
 vhost-user selected TCs.*
 
@@ -48,14 +84,32 @@ vhost-user selected TCs.*
 
     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-2t2c-vhost-sel2-ndrdisc.html"></iframe>
 
 
     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-2t2c-vhost-sel2-ndrdisc.html"></iframe>
 
+.. 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}
+            \label{fig:64B-2t2c-vhost-sel2-ndrdisc}
+    \end{figure}
+
 *Figure 2b. VPP 2threads 2cores - NDR Throughput for Phy-to-VM-to-Phy VM
 vhost-user selected TCs.*
 
 CSIT source code for the test cases used for above plots can be found in CSIT
 git repository:
 
 *Figure 2b. VPP 2threads 2cores - NDR Throughput for Phy-to-VM-to-Phy VM
 vhost-user selected TCs.*
 
 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" *
 
 PDR Throughput
 ~~~~~~~~~~~~~~
 
 PDR Throughput
 ~~~~~~~~~~~~~~
@@ -67,6 +121,15 @@ in the graph below. PDR measured for 0.5% packet loss ratio.
 
     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-1t1c-vhost-sel1-pdrdisc.html"></iframe>
 
 
     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-1t1c-vhost-sel1-pdrdisc.html"></iframe>
 
+.. 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-pdrdisc}
+            \label{fig:64B-1t1c-vhost-sel1-pdrdisc}
+    \end{figure}
+
 *Figure 3a. VPP 1thread 1core - PDR Throughput for Phy-to-VM-to-Phy VM
 vhost-user selected TCs.*
 
 *Figure 3a. VPP 1thread 1core - PDR Throughput for Phy-to-VM-to-Phy VM
 vhost-user selected TCs.*
 
@@ -74,14 +137,32 @@ vhost-user selected TCs.*
 
     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-1t1c-vhost-sel2-pdrdisc.html"></iframe>
 
 
     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-1t1c-vhost-sel2-pdrdisc.html"></iframe>
 
+.. 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-pdrdisc}
+            \label{fig:64B-1t1c-vhost-sel2-pdrdisc}
+    \end{figure}
+
 *Figure 3b. VPP 1thread 1core - PDR Throughput for Phy-to-VM-to-Phy VM
 vhost-user selected TCs.*
 
 CSIT source code for the test cases used for above plots can be found in CSIT
 git repository:
 
 *Figure 3b. VPP 1thread 1core - PDR Throughput for Phy-to-VM-to-Phy VM
 vhost-user selected TCs.*
 
 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.*-pdrdisc" *
-   :shell:
+.. only:: html
+
+   .. program-output:: cd ../../ && set -x && cd tests/vpp/perf/vm_vhost && grep -E "64B-1t1c-.*vhost.*-pdrdisc" *
+      :shell:
+
+.. only:: latex
+
+   .. code-block:: bash
+
+      $ cd tests/vpp/perf/vm_vhost
+      $ grep -E "64B-1t1c-.*vhost.*-pdrdisc" *
 
 VPP PDR 64B packet throughput in 2t2c setup (2thread, 2core) is presented
 in the graph below. PDR measured for 0.5% packet loss ratio.
 
 VPP PDR 64B packet throughput in 2t2c setup (2thread, 2core) is presented
 in the graph below. PDR measured for 0.5% packet loss ratio.
@@ -90,6 +171,15 @@ in the graph below. PDR measured for 0.5% packet loss ratio.
 
     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-2t2c-vhost-sel1-pdrdisc.html"></iframe>
 
 
     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-2t2c-vhost-sel1-pdrdisc.html"></iframe>
 
+.. 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-pdrdisc}
+            \label{fig:64B-2t2c-vhost-sel1-pdrdisc}
+    \end{figure}
+
 *Figure 4a. VPP 2thread 2core - PDR Throughput for Phy-to-VM-to-Phy VM
 vhost-user selected TCs.*
 
 *Figure 4a. VPP 2thread 2core - PDR Throughput for Phy-to-VM-to-Phy VM
 vhost-user selected TCs.*
 
@@ -97,11 +187,29 @@ vhost-user selected TCs.*
 
     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-2t2c-vhost-sel2-pdrdisc.html"></iframe>
 
 
     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-2t2c-vhost-sel2-pdrdisc.html"></iframe>
 
+.. 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-pdrdisc}
+            \label{fig:64B-2t2c-vhost-sel2-pdrdisc}
+    \end{figure}
+
 *Figure 4b. VPP 2thread 2core - PDR Throughput for Phy-to-VM-to-Phy VM
 vhost-user selected TCs.*
 
 CSIT source code for the test cases used for above plots can be found in CSIT
 git repository:
 
 *Figure 4b. VPP 2thread 2core - PDR Throughput for Phy-to-VM-to-Phy VM
 vhost-user selected TCs.*
 
 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.*-pdrdisc" *
-   :shell:
+.. only:: html
+
+   .. program-output:: cd ../../ && set -x && cd tests/vpp/perf/vm_vhost && grep -E "64B-2t2c-.*vhost.*-pdrdisc" *
+      :shell:
+
+.. only:: latex
+
+   .. code-block:: bash
+
+      $ cd tests/vpp/perf/vm_vhost
+      $ grep -E "64B-2t2c-.*vhost.*-pdrdisc" *