X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=docs%2Freport%2Fdpdk_performance_tests%2Fpacket_throughput_graphs%2Fip4.rst;h=1ad08992bc3e834362e5d972f1da9451d9851767;hp=7a0bc043286d0510f69c52a9628c0bafb4f5efa6;hb=f12e62b5d43bdc3765b167a17887e2e441e902eb;hpb=be82f49dda573dfc7010a56d6f76f8e161beac16 diff --git a/docs/report/dpdk_performance_tests/packet_throughput_graphs/ip4.rst b/docs/report/dpdk_performance_tests/packet_throughput_graphs/ip4.rst index 7a0bc04328..1ad08992bc 100644 --- a/docs/report/dpdk_performance_tests/packet_throughput_graphs/ip4.rst +++ b/docs/report/dpdk_performance_tests/packet_throughput_graphs/ip4.rst @@ -17,14 +17,32 @@ in the graph 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} + \label{fig:64B-1t1c-ipv4-ndrdisc-dpdk} + \end{figure} + *Figure 1. L3FWD 1thread 1core - NDR Throughput for Phy-to-Phy IPv4 Routed-Forwarding Looping.* 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/dpdk/perf && grep -P '64B-1t1c-ethip4-ip4base-l3fwd-ndrdisc' * - :shell: +.. only:: html + + .. program-output:: cd ../../../../../ && set +x && cd tests/dpdk/perf && grep -P '64B-1t1c-ethip4-ip4base-l3fwd-ndrdisc' * + :shell: + +.. only:: latex + + .. code-block:: bash + + $ cd tests/dpdk/perf + $ grep -P '64B-1t1c-ethip4-ip4base-l3fwd-ndrdisc' * Testpmd NDR 64B packet throughput in 2t2c setup (2thread, 2core) is presented in the graph below. @@ -33,14 +51,32 @@ in the graph 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} + \label{fig:64B-2t2c-ipv4-ndrdisc-dpdk} + \end{figure} + *Figure 2. L3FWD 2threads 2cores - NDR Throughput for Phy-to-Phy IPv4 Routed-Forwarding Looping.* 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/dpdk/perf && grep -P '64B-2t2c-ethip4-ip4base-l3fwd-ndrdisc' * - :shell: +.. only:: html + + .. program-output:: cd ../../../../../ && set +x && cd tests/dpdk/perf && grep -P '64B-2t2c-ethip4-ip4base-l3fwd-ndrdisc' * + :shell: + +.. only:: latex + + .. code-block:: bash + + $ cd tests/dpdk/perf + $ grep -P '64B-2t2c-ethip4-ip4base-l3fwd-ndrdisc' * PDR Throughput ~~~~~~~~~~~~~~ @@ -52,14 +88,32 @@ in the graph below. PDR measured for 0.5% packet loss ratio. +.. raw:: latex + + \begin{figure}[H] + \centering + \graphicspath{{../_build/_static/dpdk/}} + \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-1t1c-ipv4-pdrdisc} + \label{fig:64B-1t1c-ipv4-pdrdisc-dpdk} + \end{figure} + *Figure 3. L3FWD 1thread 1core - PDR Throughput for Phy-to-Phy IPv4 Routed-Forwarding Looping.* 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/dpdk/perf && grep -P '64B-1t1c-ethip4-ip4base-l3fwd-pdrdisc' * - :shell: +.. only:: html + + .. program-output:: cd ../../../../../ && set +x && cd tests/dpdk/perf && grep -P '64B-1t1c-ethip4-ip4base-l3fwd-pdrdisc' * + :shell: + +.. only:: latex + + .. code-block:: bash + + $ cd tests/dpdk/perf + $ grep -P '64B-1t1c-ethip4-ip4base-l3fwd-pdrdisc' * L3FWD PDR 64B packet throughput in 2t2c setup (2thread, 2core) is presented in the graph below. PDR measured for 0.5% packet loss ratio. @@ -68,11 +122,29 @@ in the graph below. PDR measured for 0.5% packet loss ratio. +.. raw:: latex + + \begin{figure}[H] + \centering + \graphicspath{{../_build/_static/dpdk/}} + \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-2t2c-ipv4-pdrdisc} + \label{fig:64B-2t2c-ipv4-pdrdisc-dpdk} + \end{figure} + *Figure 4. L3FWD 2thread 2core - PDR Throughput for Phy-to-Phy IPv4 Routed-Forwarding Looping.* 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/dpdk/perf && grep -P '64B-2t2c-ethip4-ip4base-l3fwd-pdrdisc' * - :shell: +.. only:: html + + .. program-output:: cd ../../../../../ && set +x && cd tests/dpdk/perf && grep -P '64B-2t2c-ethip4-ip4base-l3fwd-pdrdisc' * + :shell: + +.. only:: latex + + .. code-block:: bash + + $ cd tests/dpdk/perf + $ grep -P '64B-2t2c-ethip4-ip4base-l3fwd-pdrdisc' *