diff options
Diffstat (limited to 'docs/report/dpdk_performance_tests/packet_latency_graphs')
-rw-r--r-- | docs/report/dpdk_performance_tests/packet_latency_graphs/ip4.rst | 44 | ||||
-rw-r--r-- | docs/report/dpdk_performance_tests/packet_latency_graphs/l2.rst | 44 |
2 files changed, 80 insertions, 8 deletions
diff --git a/docs/report/dpdk_performance_tests/packet_latency_graphs/ip4.rst b/docs/report/dpdk_performance_tests/packet_latency_graphs/ip4.rst index 70a2f7ee1b..4449785436 100644 --- a/docs/report/dpdk_performance_tests/packet_latency_graphs/ip4.rst +++ b/docs/report/dpdk_performance_tests/packet_latency_graphs/ip4.rst @@ -13,13 +13,31 @@ physical core (1c)** - is presented in the figure below. <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/dpdk/64B-1t1c-ipv4-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-ipv4-ndrdisc-lat50} + \label{fig:64B-1t1c-ipv4-ndrdisc-lat50-dpdk} + \end{figure} + *Figure 1. L3FWD 1thread 1core - packet latency for Phy-to-Phy IPv4 Routed-Forwarding.* 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 -E '64B-1t1c-ethip4-ip4base-l3fwd-ndrdisc' * - :shell: +.. only:: html + + .. program-output:: cd ../../ && set -x && cd tests/dpdk/perf && grep -E '64B-1t1c-ethip4-ip4base-l3fwd-ndrdisc' * + :shell: + +.. only:: latex + + .. code-block:: bash + + $ cd tests/dpdk/perf + $ grep -E '64B-1t1c-ethip4-ip4base-l3fwd-ndrdisc' * Testpmd packet latency - running in configuration of **two worker threads (2t) on two physical cores (2c)** - is presented in the figure below. @@ -28,10 +46,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-ipv4-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-ipv4-ndrdisc-lat50} + \label{fig:64B-2t2c-ipv4-ndrdisc-lat50-dpdk} + \end{figure} + *Figure 2. L3FWD 2thread 2core - packet latency for Phy-to-Phy IPv4 Routed-Forwarding.* 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 -E '64B-2t2c-ethip4-ip4base-l3fwd-ndrdisc' * - :shell: +.. only:: html + + .. program-output:: cd ../../ && set -x && cd tests/dpdk/perf && grep -E '64B-2t2c-ethip4-ip4base-l3fwd-ndrdisc' * + :shell: + +.. only:: latex + + .. code-block:: bash + + $ cd tests/dpdk/perf + $ grep -E '64B-2t2c-ethip4-ip4base-l3fwd-ndrdisc' * 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' * |