X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=docs%2Freport%2Fdpdk_performance_tests%2Fpacket_latency_graphs%2Fip4.rst;h=0bccc4b9202954bbcaba9588d039ac7c8ff2314d;hp=70a2f7ee1bd7560eab0a5c199f7526e93a9c3aba;hb=f12e62b5d43bdc3765b167a17887e2e441e902eb;hpb=be82f49dda573dfc7010a56d6f76f8e161beac16 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..0bccc4b920 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. +.. 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. +.. 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' *