CSIT-1332: Proposal of new layout of all graphs
[csit.git] / docs / report / vpp_performance_tests / packet_latency_graphs / container_memif.rst
index 3ac7da6..4c27c89 100644 (file)
-Container memif Connections
-===========================
+
+.. raw:: latex
+
+    \clearpage
+
+.. raw:: html
+
+    <script type="text/javascript">
+
+        function getDocHeight(doc) {
+            doc = doc || document;
+            var body = doc.body, html = doc.documentElement;
+            var height = Math.max( body.scrollHeight, body.offsetHeight,
+                html.clientHeight, html.scrollHeight, html.offsetHeight );
+            return height;
+        }
+
+        function setIframeHeight(id) {
+            var ifrm = document.getElementById(id);
+            var doc = ifrm.contentDocument? ifrm.contentDocument:
+                ifrm.contentWindow.document;
+            ifrm.style.visibility = 'hidden';
+            ifrm.style.height = "10px"; // reset to minimal height ...
+            // IE opt. for bing/msn needs a bit added or scrollbar appears
+            ifrm.style.height = getDocHeight( doc ) + 4 + "px";
+            ifrm.style.visibility = 'visible';
+        }
+
+    </script>
+
+LXC/DRC Container Memif
+=======================
 
 This section includes summary graphs of VPP Phy-to-Phy packet latency
 
 This section includes summary graphs of VPP Phy-to-Phy packet latency
-with Container memif Connections measured at 50% of discovered NDR throughput
+with Container memif Connections measured at 100% of discovered NDR throughput
 rate. Latency is reported for VPP running in multiple configurations of
 VPP worker thread(s), a.k.a. VPP data plane thread(s), and their
 physical CPU core(s) placement.
 
 rate. Latency is reported for VPP running in multiple configurations of
 VPP worker thread(s), a.k.a. VPP data plane thread(s), and their
 physical CPU core(s) placement.
 
-VPP packet latency in 1t1c setup (1thread, 1core) is presented in the graph below.
+CSIT source code for the test cases used for plots can be found in
+`CSIT git repository <https://git.fd.io/csit/tree/tests/vpp/perf/container_memif?h=rls1810>`_.
+
+3n-hsw-x520
+~~~~~~~~~~~
+
+64b-1t1c-base_and_scale
+-----------------------
+
+.. raw:: html
+
+    <center><b>
+
+:index:`Packet Latency: memif-3n-hsw-x520-64b-1t1c-base_and_scale-ndr`
+
+.. raw:: html
+
+    </b>
+    <iframe id="ifrm01" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/memif-3n-hsw-x520-64b-1t1c-base_and_scale-ndr-lat.html"></iframe>
+    <p><br><br></p>
+    </center>
+
+.. raw:: latex
+
+    \begin{figure}[H]
+        \centering
+            \graphicspath{{../_build/_static/vpp/}}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{memif-3n-hsw-x520-64b-1t1c-base_and_scale-ndr-lat}
+            \label{fig:memif-3n-hsw-x520-64b-1t1c-base_and_scale-ndr-lat}
+    \end{figure}
+
+.. raw:: latex
+
+    \clearpage
+
+64b-2t2c-base_and_scale
+-----------------------
+
+.. raw:: html
+
+    <center><b>
+
+:index:`Packet Latency: memif-3n-hsw-x520-64b-2t2c-base_and_scale-ndr`
+
+.. raw:: html
+
+    </b>
+    <iframe id="ifrm02" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/memif-3n-hsw-x520-64b-2t2c-base_and_scale-ndr-lat.html"></iframe>
+    <p><br><br></p>
+    </center>
+
+.. raw:: latex
+
+    \begin{figure}[H]
+        \centering
+            \graphicspath{{../_build/_static/vpp/}}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{memif-3n-hsw-x520-64b-2t2c-base_and_scale-ndr-lat}
+            \label{fig:memif-3n-hsw-x520-64b-2t2c-base_and_scale-ndr-lat}
+    \end{figure}
+
+.. raw:: latex
+
+    \clearpage
+
+3n-hsw-x710
+~~~~~~~~~~~
+
+64b-1t1c-base_and_scale
+-----------------------
+
+.. raw:: html
+
+    <center><b>
+
+:index:`Packet Latency: memif-3n-hsw-x710-64b-1t1c-base_and_scale-ndr`
+
+.. raw:: html
+
+    </b>
+    <iframe id="ifrm03" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/memif-3n-hsw-x710-64b-1t1c-base_and_scale-ndr-lat.html"></iframe>
+    <p><br><br></p>
+    </center>
+
+.. raw:: latex
+
+    \begin{figure}[H]
+        \centering
+            \graphicspath{{../_build/_static/vpp/}}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{memif-3n-hsw-x710-64b-1t1c-base_and_scale-ndr-lat}
+            \label{fig:memif-3n-hsw-x710-64b-1t1c-base_and_scale-ndr-lat}
+    \end{figure}
+
+.. raw:: latex
+
+    \clearpage
+
+64b-2t2c-base_and_scale
+-----------------------
+
+.. raw:: html
+
+    <center><b>
+
+:index:`Packet Latency: memif-3n-hsw-x710-64b-2t2c-base_and_scale-ndr`
+
+.. raw:: html
+
+    </b>
+    <iframe id="ifrm04" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/memif-3n-hsw-x710-64b-2t2c-base_and_scale-ndr-lat.html"></iframe>
+    <p><br><br></p>
+    </center>
+
+.. raw:: latex
+
+    \begin{figure}[H]
+        \centering
+            \graphicspath{{../_build/_static/vpp/}}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{memif-3n-hsw-x710-64b-2t2c-base_and_scale-ndr-lat}
+            \label{fig:memif-3n-hsw-x710-64b-2t2c-base_and_scale-ndr-lat}
+    \end{figure}
+
+.. raw:: latex
+
+    \clearpage
+
+3n-hsw-xl710
+~~~~~~~~~~~~
+
+64b-1t1c-base_and_scale
+-----------------------
+
+.. raw:: html
+
+    <center><b>
+
+:index:`Packet Latency: memif-3n-hsw-xl710-64b-1t1c-base_and_scale-ndr`
+
+.. raw:: html
+
+    </b>
+    <iframe id="ifrm05" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/memif-3n-hsw-xl710-64b-1t1c-base_and_scale-ndr-lat.html"></iframe>
+    <p><br><br></p>
+    </center>
+
+.. raw:: latex
+
+    \begin{figure}[H]
+        \centering
+            \graphicspath{{../_build/_static/vpp/}}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{memif-3n-hsw-xl710-64b-1t1c-base_and_scale-ndr-lat}
+            \label{fig:memif-3n-hsw-xl710-64b-1t1c-base_and_scale-ndr-lat}
+    \end{figure}
+
+.. raw:: latex
+
+    \clearpage
+
+64b-2t2c-base_and_scale
+-----------------------
+
+.. raw:: html
+
+    <center><b>
+
+:index:`Packet Latency: memif-3n-hsw-xl710-64b-2t2c-base_and_scale-ndr`
+
+.. raw:: html
+
+    </b>
+    <iframe id="ifrm06" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/memif-3n-hsw-xl710-64b-2t2c-base_and_scale-ndr-lat.html"></iframe>
+    <p><br><br></p>
+    </center>
+
+.. raw:: latex
+
+    \begin{figure}[H]
+        \centering
+            \graphicspath{{../_build/_static/vpp/}}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{memif-3n-hsw-xl710-64b-2t2c-base_and_scale-ndr-lat}
+            \label{fig:memif-3n-hsw-xl710-64b-2t2c-base_and_scale-ndr-lat}
+    \end{figure}
+
+.. raw:: latex
+
+    \clearpage
+
+3n-skx-x710
+~~~~~~~~~~~
+
+64b-2t1c-base_and_scale
+-----------------------
+
+.. raw:: html
+
+    <center><b>
+
+:index:`Packet Latency: memif-3n-skx-x710-64b-2t1c-base_and_scale-ndr`
+
+.. raw:: html
+
+    </b>
+    <iframe id="ifrm07" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/memif-3n-skx-x710-64b-2t1c-base_and_scale-ndr-lat.html"></iframe>
+    <p><br><br></p>
+    </center>
+
+.. raw:: latex
+
+    \begin{figure}[H]
+        \centering
+            \graphicspath{{../_build/_static/vpp/}}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{memif-3n-skx-x710-64b-2t1c-base_and_scale-ndr-lat}
+            \label{fig:memif-3n-skx-x710-64b-2t1c-base_and_scale-ndr-lat}
+    \end{figure}
+
+.. raw:: latex
+
+    \clearpage
+
+64b-4t2c-base_and_scale
+-----------------------
 
 .. raw:: html
 
 
 .. raw:: html
 
-    <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-1t1c-container_memif-ndrdisc-lat50.html"></iframe>
+    <center><b>
+
+:index:`Packet Latency: memif-3n-skx-x710-64b-4t2c-base_and_scale-ndr`
+
+.. raw:: html
+
+    </b>
+    <iframe id="ifrm08" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/memif-3n-skx-x710-64b-4t2c-base_and_scale-ndr-lat.html"></iframe>
+    <p><br><br></p>
+    </center>
 
 .. raw:: latex
 
     \begin{figure}[H]
         \centering
             \graphicspath{{../_build/_static/vpp/}}
 
 .. raw:: latex
 
     \begin{figure}[H]
         \centering
             \graphicspath{{../_build/_static/vpp/}}
-            \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-1t1c-container_memif-ndrdisc-lat50}
-            \label{fig:64B-1t1c-container_memif-ndrdisc-lat50}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{memif-3n-skx-x710-64b-4t2c-base_and_scale-ndr-lat}
+            \label{fig:memif-3n-skx-x710-64b-4t2c-base_and_scale-ndr-lat}
     \end{figure}
 
     \end{figure}
 
-*Figure 1. VPP 1thread 1core - packet latency for Phy-to-Phy L2 Ethernet
-Switching (base).*
+2n-skx-x710
+~~~~~~~~~~~
+
+64b-2t1c-base_and_scale
+-----------------------
+
+.. raw:: html
+
+    <center><b>
+
+:index:`Packet Latency: memif-2n-skx-x710-64b-2t1c-base_and_scale-ndr`
+
+.. raw:: html
+
+    </b>
+    <iframe id="ifrm09" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/memif-2n-skx-x710-64b-2t1c-base_and_scale-ndr-lat.html"></iframe>
+    <p><br><br></p>
+    </center>
 
 
-CSIT source code for the test cases used for above plots can be found in CSIT
-git repository:
+.. raw:: latex
+
+    \begin{figure}[H]
+        \centering
+            \graphicspath{{../_build/_static/vpp/}}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{memif-2n-skx-x710-64b-2t1c-base_and_scale-ndr-lat}
+            \label{fig:memif-2n-skx-x710-64b-2t1c-base_and_scale-ndr-lat}
+    \end{figure}
 
 
-.. only:: html
+.. raw:: latex
 
 
-   .. program-output:: cd ../../../../../ && set -x && cd tests/vpp/perf/container_memif && grep -E "64B-1t1c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-.*ndrdisc" *
-      :shell:
+    \clearpage
 
 
-.. only:: latex
+64b-4t2c-base_and_scale
+-----------------------
 
 
-   .. code-block:: bash
+.. raw:: html
 
 
-      $ cd tests/vpp/perf/container_memif
-      $ grep -E "64B-1t1c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-.*ndrdisc" *
+    <center><b>
 
 
-VPP packet latency in 2t2c setup (2thread, 2core) is presented in the graph below.
+:index:`Packet Latency: memif-2n-skx-x710-64b-4t2c-base_and_scale-ndr`
 
 .. raw:: html
 
 
 .. raw:: html
 
-    <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/64B-2t2c-container_memif-ndrdisc-lat50.html"></iframe>
+    </b>
+    <iframe id="ifrm10" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/memif-2n-skx-x710-64b-4t2c-base_and_scale-ndr-lat.html"></iframe>
+    <p><br><br></p>
+    </center>
 
 .. raw:: latex
 
     \begin{figure}[H]
         \centering
             \graphicspath{{../_build/_static/vpp/}}
 
 .. raw:: latex
 
     \begin{figure}[H]
         \centering
             \graphicspath{{../_build/_static/vpp/}}
-            \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{64B-2t2c-container_memif-ndrdisc-lat50}
-            \label{fig:64B-2t2c-container_memif-ndrdisc-lat50}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{memif-2n-skx-x710-64b-4t2c-base_and_scale-ndr-lat}
+            \label{fig:memif-2n-skx-x710-64b-4t2c-base_and_scale-ndr-lat}
     \end{figure}
 
     \end{figure}
 
-*Figure 2. VPP 2threads 2cores - packet latency for Phy-to-Phy L2 Ethernet
-Switching (base).*
+2n-skx-xxv710
+~~~~~~~~~~~~~
+
+64b-2t1c-base_and_scale
+-----------------------
 
 
-CSIT source code for the test cases used for above plots can be found in CSIT
-git repository:
+.. raw:: html
 
 
-.. only:: html
+    <center><b>
 
 
-   .. program-output:: cd ../../../../../ && set -x && cd tests/vpp/perf/container_memif && grep -E "64B-2t2c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-.*ndrdisc" *
-      :shell:
+:index:`Packet Latency: memif-2n-skx-xxv710-64b-2t1c-base_and_scale-ndr`
 
 
-.. only:: latex
+.. raw:: html
 
 
-   .. code-block:: bash
+    </b>
+    <iframe id="ifrm11" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/memif-2n-skx-xxv710-64b-2t1c-base_and_scale-ndr-lat.html"></iframe>
+    <p><br><br></p>
+    </center>
 
 
-      $ cd tests/vpp/perf/container_memif
-      $ grep -E "64B-2t2c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-.*ndrdisc" *
+.. raw:: latex
+
+    \begin{figure}[H]
+        \centering
+            \graphicspath{{../_build/_static/vpp/}}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{memif-2n-skx-xxv710-64b-2t1c-base_and_scale-ndr-lat}
+            \label{fig:memif-2n-skx-xxv710-64b-2t1c-base_and_scale-ndr-lat}
+    \end{figure}
+
+.. raw:: latex
+
+    \clearpage
+
+64b-4t2c-base_and_scale
+-----------------------
+
+.. raw:: html
+
+    <center><b>
+
+:index:`Packet Latency: memif-2n-skx-xxv710-64b-4t2c-base_and_scale-ndr`
+
+.. raw:: html
+
+    </b>
+    <iframe id="ifrm12" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/memif-2n-skx-xxv710-64b-4t2c-base_and_scale-ndr-lat.html"></iframe>
+    <p><br><br></p>
+    </center>
+
+.. raw:: latex
+
+    \begin{figure}[H]
+        \centering
+            \graphicspath{{../_build/_static/vpp/}}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{memif-2n-skx-xxv710-64b-4t2c-base_and_scale-ndr-lat}
+            \label{fig:memif-2n-skx-xxv710-64b-4t2c-base_and_scale-ndr-lat}
+    \end{figure}