aboutsummaryrefslogtreecommitdiffstats
path: root/docs/report/vpp_performance_tests/packet_latency_graphs/vm_vhost.rst
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2017-07-28 13:06:56 +0200
committerPeter Mikus <pmikus@cisco.com>2017-07-31 18:53:40 +0000
commitb6a4757a48254bb23409c96b2a92565ab324aba2 (patch)
tree1e54d81bb3cf96cf4099dc6888fc2150f655ebf7 /docs/report/vpp_performance_tests/packet_latency_graphs/vm_vhost.rst
parent3dce1ef34ab4c43e2f440ffd6b6cb7d60fa0a51e (diff)
CSIT-618 Add LaTeX support to release report
- Add option to generate PDF from release report. - Conditional content - Static plot conversion Change-Id: I7c4f0b41898791d1cab446d0fc3b07220380e1b8 Signed-off-by: Peter Mikus <pmikus@cisco.com> (cherry picked from commit 196ed0599148d6c8ed0e2ca82ad03e129e26428a)
Diffstat (limited to 'docs/report/vpp_performance_tests/packet_latency_graphs/vm_vhost.rst')
-rw-r--r--docs/report/vpp_performance_tests/packet_latency_graphs/vm_vhost.rst62
1 files changed, 58 insertions, 4 deletions
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 3987e8c86e..82eb37b3a9 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,6 +14,15 @@ VPP packet latency in 1t1c setup (1thread, 1core) is presented in the graph belo
<iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-1t1c-vhost-sel1-ndrdisc-lat50.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-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 (ipv4).*
@@ -21,14 +30,32 @@ vhost-user selected TCs (ipv4).*
<iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-1t1c-vhost-sel2-ndrdisc-lat50.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-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 (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,6 +63,15 @@ VPP packet latency in 2t2c setup (2thread, 2core) is presented in the graph belo
<iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-2t2c-vhost-sel1-ndrdisc-lat50.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-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 (ipv4).*
@@ -43,11 +79,29 @@ vhost-user selected TCs (ipv4).*
<iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-2t2c-vhost-sel2-ndrdisc-lat50.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-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 (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" *