aboutsummaryrefslogtreecommitdiffstats
path: root/docs/report/dpdk_performance_tests/packet_latency_graphs/l2.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/dpdk_performance_tests/packet_latency_graphs/l2.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/dpdk_performance_tests/packet_latency_graphs/l2.rst')
-rw-r--r--docs/report/dpdk_performance_tests/packet_latency_graphs/l2.rst44
1 files changed, 40 insertions, 4 deletions
diff --git a/docs/report/dpdk_performance_tests/packet_latency_graphs/l2.rst b/docs/report/dpdk_performance_tests/packet_latency_graphs/l2.rst
index b333f7985e..f981df9c89 100644
--- a/docs/report/dpdk_performance_tests/packet_latency_graphs/l2.rst
+++ b/docs/report/dpdk_performance_tests/packet_latency_graphs/l2.rst
@@ -14,13 +14,31 @@ physical core (1c)** - is presented in the figure below.
<iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/dpdk/64B-1t1c-l2-ndrdisc-lat50.html"></iframe>
+.. raw:: latex
+
+ \begin{figure}[H]
+ \centering
+ \graphicspath{{../_build/_static/dpdk/}}
+ \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-1t1c-l2-ndrdisc-lat50}
+ \label{fig:64B-1t1c-l2-ndrdisc-lat50-dpdk}
+ \end{figure}
+
*Figure 1. Testpmd 1thread 1core - packet latency for Phy-to-Phy L2 Ethernet Looping.*
CSIT test cases used to generate results presented above can be found in CSIT
git repository by filtering with specified regex as follows:
-.. program-output:: cd ../../ && set -x && cd tests/dpdk/perf && grep -P '64B-1t1c-eth-l2xcbase-testpmd-ndrdisc' *
- :shell:
+.. only:: html
+
+ .. program-output:: cd ../../ && set -x && cd tests/dpdk/perf && grep -P '64B-1t1c-eth-l2xcbase-testpmd-ndrdisc' *
+ :shell:
+
+.. only:: latex
+
+ .. code-block:: bash
+
+ $ cd tests/dpdk/perf
+ $ grep -P '64B-1t1c-eth-l2xcbase-testpmd-ndrdisc' *
Testpmd packet latency - running in configuration of **two worker threads (2t)
on two physical cores (2c)** - is presented in the figure below.
@@ -29,10 +47,28 @@ on two physical cores (2c)** - is presented in the figure below.
<iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/dpdk/64B-2t2c-l2-ndrdisc-lat50.html"></iframe>
+.. raw:: latex
+
+ \begin{figure}[H]
+ \centering
+ \graphicspath{{../_build/_static/dpdk/}}
+ \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-2t2c-l2-ndrdisc-lat50}
+ \label{fig:64B-2t2c-l2-ndrdisc-lat50-dpdk}
+ \end{figure}
+
*Figure 2. Testpmd 2thread 2core - packet latency for Phy-to-Phy L2 Ethernet Looping.*
CSIT test cases used to generate results presented above can be found in CSIT
git repository by filtering with specified regex as follows:
-.. program-output:: cd ../../ && set -x && cd tests/dpdk/perf && grep -P '64B-2t2c-eth-l2xcbase-testpmd-ndrdisc' *
- :shell:
+.. only:: html
+
+ .. program-output:: cd ../../ && set -x && cd tests/dpdk/perf && grep -P '64B-2t2c-eth-l2xcbase-testpmd-ndrdisc' *
+ :shell:
+
+.. only:: latex
+
+ .. code-block:: bash
+
+ $ cd tests/dpdk/perf
+ $ grep -P '64B-2t2c-eth-l2xcbase-testpmd-ndrdisc' *