X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=docs%2Freport%2Fvpp_performance_tests%2Fpacket_throughput_graphs%2Fvm_vhost.rst;h=528a26cc19e557b60815ae1ef39fa4f5e2ad57c7;hb=089d0c870a6d5165fa172377bc96adb0be57f2e3;hp=f080e24d408726b5747ea212c0514cf803633b24;hpb=be82f49dda573dfc7010a56d6f76f8e161beac16;p=csit.git diff --git a/docs/report/vpp_performance_tests/packet_throughput_graphs/vm_vhost.rst b/docs/report/vpp_performance_tests/packet_throughput_graphs/vm_vhost.rst index f080e24d40..528a26cc19 100644 --- a/docs/report/vpp_performance_tests/packet_throughput_graphs/vm_vhost.rst +++ b/docs/report/vpp_performance_tests/packet_throughput_graphs/vm_vhost.rst @@ -16,32 +16,100 @@ in the graph below. .. raw:: html - + -*Figure 1. VPP 1thread 1core - NDR Throughput for Phy-to-VM-to-Phy VM vhost-user -vhost-user.* +.. 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} + \label{fig:64B-1t1c-vhost-sel1-ndrdisc} + \end{figure} + +*Figure 1a. VPP 1thread 1core - NDR Throughput for Phy-to-VM-to-Phy VM vhost-user +selected TCs.* + +.. raw:: html + + + +.. 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} + \label{fig:64B-1t1c-vhost-sel2-ndrdisc} + \end{figure} + +*Figure 1b. VPP 1thread 1core - NDR Throughput for Phy-to-VM-to-Phy VM +vhost-user selected TCs.* 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 NDR 64B packet throughput in 2t2c setup (2thread, 2core) is presented in the graph below. .. raw:: html - + -*Figure 2. VPP 2threads 2cores - NDR Throughput for Phy-to-VM-to-Phy VM vhost-user -vhost-user.* +.. 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} + \label{fig:64B-2t2c-vhost-sel1-ndrdisc} + \end{figure} + +*Figure 2a. VPP 2threads 2cores - NDR Throughput for Phy-to-VM-to-Phy VM +vhost-user selected TCs.* + +.. raw:: html + + + +.. 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} + \label{fig:64B-2t2c-vhost-sel2-ndrdisc} + \end{figure} + +*Figure 2b. VPP 2threads 2cores - NDR Throughput for Phy-to-VM-to-Phy VM +vhost-user selected TCs.* 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" * PDR Throughput ~~~~~~~~~~~~~~ @@ -51,29 +119,97 @@ in the graph below. PDR measured for 0.5% packet loss ratio. .. raw:: html - + -*Figure 3. VPP 1thread 1core - PDR Throughput for Phy-to-VM-to-Phy VM vhost-user -vhost-user.* +.. 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-pdrdisc} + \label{fig:64B-1t1c-vhost-sel1-pdrdisc} + \end{figure} + +*Figure 3a. VPP 1thread 1core - PDR Throughput for Phy-to-VM-to-Phy VM +vhost-user selected TCs.* + +.. raw:: html + + + +.. 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-pdrdisc} + \label{fig:64B-1t1c-vhost-sel2-pdrdisc} + \end{figure} + +*Figure 3b. VPP 1thread 1core - PDR Throughput for Phy-to-VM-to-Phy VM +vhost-user selected TCs.* 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.*-pdrdisc" * - :shell: +.. only:: html + + .. program-output:: cd ../../../../../ && set -x && cd tests/vpp/perf/vm_vhost && grep -E "64B-1t1c-.*vhost.*-pdrdisc" * + :shell: + +.. only:: latex + + .. code-block:: bash + + $ cd tests/vpp/perf/vm_vhost + $ grep -E "64B-1t1c-.*vhost.*-pdrdisc" * VPP PDR 64B packet throughput in 2t2c setup (2thread, 2core) is presented in the graph below. PDR measured for 0.5% packet loss ratio. .. raw:: html - + -*Figure 4. VPP 2thread 2core - PDR Throughput for Phy-to-VM-to-Phy VM vhost-user -vhost-user.* +.. 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-pdrdisc} + \label{fig:64B-2t2c-vhost-sel1-pdrdisc} + \end{figure} + +*Figure 4a. VPP 2thread 2core - PDR Throughput for Phy-to-VM-to-Phy VM +vhost-user selected TCs.* + +.. raw:: html + + + +.. 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-pdrdisc} + \label{fig:64B-2t2c-vhost-sel2-pdrdisc} + \end{figure} + +*Figure 4b. VPP 2thread 2core - PDR Throughput for Phy-to-VM-to-Phy VM +vhost-user selected TCs.* 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.*-pdrdisc" * - :shell: +.. only:: html + + .. program-output:: cd ../../../../../ && set -x && cd tests/vpp/perf/vm_vhost && grep -E "64B-2t2c-.*vhost.*-pdrdisc" * + :shell: + +.. only:: latex + + .. code-block:: bash + + $ cd tests/vpp/perf/vm_vhost + $ grep -E "64B-2t2c-.*vhost.*-pdrdisc" *