CSIT-1332: Proposal of new layout of all graphs
[csit.git] / docs / report / vpp_performance_tests / packet_latency_graphs / container_orchestrated.rst
index 134adb4..d746c53 100644 (file)
@@ -3,6 +3,31 @@
 
     \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>
+
 K8s Container Memif
 ===================
 
@@ -13,24 +38,53 @@ of VPP worker thread(s), a.k.a. VPP data plane thread(s), and their
 physical CPU core(s) placement.
 
 CSIT source code for the test cases used for plots can be found in
-`CSIT git repository <https://git.fd.io/csit/tree/tests/kubernetes/perf/container_memif?h=rls1807>`_.
+`CSIT git repository <https://git.fd.io/csit/tree/tests/kubernetes/perf/container_memif?h=rls1810>`_.
 
 3n-hsw-x520
 ~~~~~~~~~~~
 
-64b-1t1c-base_and_scale
------------------------
+64b-1t1c-base_and_scale-l2xc
+----------------------------
+
+.. raw:: html
+
+    <center><b>
+
+:index:`Packet Latency: k8s-memif-3n-hsw-x520-64b-1t1c-base_and_scale-l2xc-ndr`
+
+.. raw:: html
+
+    </b>
+    <iframe id="ifrm01" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/k8s-memif-3n-hsw-x520-64b-1t1c-base_and_scale-l2xc-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]{k8s-memif-3n-hsw-x520-64b-1t1c-base_and_scale-l2xc-ndr-lat}
+            \label{fig:k8s-memif-3n-hsw-x520-64b-1t1c-base_and_scale-l2xc-ndr-lat}
+    \end{figure}
+
+.. raw:: latex
+
+    \clearpage
+
+64b-2t2c-base_and_scale-l2xc
+----------------------------
 
 .. raw:: html
 
     <center><b>
 
-:index:`Latency:  k8s-memif-3n-hsw-x520-64b-1t1c-base_and_scale-ndr`
+:index:`Packet Latency: k8s-memif-3n-hsw-x520-64b-2t2c-base_and_scale-l2xc-ndr`
 
 .. raw:: html
 
     </b>
-    <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/k8s-memif-3n-hsw-x520-64b-1t1c-base_and_scale-ndr-lat.html"></iframe>
+    <iframe id="ifrm02" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/k8s-memif-3n-hsw-x520-64b-2t2c-base_and_scale-l2xc-ndr-lat.html"></iframe>
     <p><br><br></p>
     </center>
 
@@ -39,27 +93,27 @@ CSIT source code for the test cases used for plots can be found in
     \begin{figure}[H]
         \centering
             \graphicspath{{../_build/_static/vpp/}}
-            \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{k8s-memif-3n-hsw-x520-64b-1t1c-base_and_scale-ndr-lat}
-            \label{fig:k8s-memif-3n-hsw-x520-64b-1t1c-base_and_scale-ndr-lat}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{k8s-memif-3n-hsw-x520-64b-2t2c-base_and_scale-l2xc-ndr-lat}
+            \label{fig:k8s-memif-3n-hsw-x520-64b-2t2c-base_and_scale-l2xc-ndr-lat}
     \end{figure}
 
 .. raw:: latex
 
     \clearpage
 
-64b-2t2c-base_and_scale
------------------------
+64b-1t1c-base_and_scale-l2bd
+----------------------------
 
 .. raw:: html
 
     <center><b>
 
-:index:`Latency:  k8s-memif-3n-hsw-x520-64b-2t2c-base_and_scale-ndr`
+:index:`Packet Latency: k8s-memif-3n-hsw-x520-64b-1t1c-base_and_scale-l2bd-ndr`
 
 .. raw:: html
 
     </b>
-    <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/k8s-memif-3n-hsw-x520-64b-2t2c-base_and_scale-ndr-lat.html"></iframe>
+    <iframe id="ifrm03" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/k8s-memif-3n-hsw-x520-64b-1t1c-base_and_scale-l2bd-ndr-lat.html"></iframe>
     <p><br><br></p>
     </center>
 
@@ -68,8 +122,37 @@ CSIT source code for the test cases used for plots can be found in
     \begin{figure}[H]
         \centering
             \graphicspath{{../_build/_static/vpp/}}
-            \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{k8s-memif-3n-hsw-x520-64b-2t2c-base_and_scale-ndr-lat}
-            \label{fig:k8s-memif-3n-hsw-x520-64b-2t2c-base_and_scale-ndr-lat}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{k8s-memif-3n-hsw-x520-64b-1t1c-base_and_scale-l2bd-ndr-lat}
+            \label{fig:k8s-memif-3n-hsw-x520-64b-1t1c-base_and_scale-l2bd-ndr-lat}
+    \end{figure}
+
+.. raw:: latex
+
+    \clearpage
+
+64b-2t2c-base_and_scale-l2bd
+----------------------------
+
+.. raw:: html
+
+    <center><b>
+
+:index:`Packet Latency: k8s-memif-3n-hsw-x520-64b-2t2c-base_and_scale-l2bd-ndr`
+
+.. raw:: html
+
+    </b>
+    <iframe id="ifrm04" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/k8s-memif-3n-hsw-x520-64b-2t2c-base_and_scale-l2bd-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]{k8s-memif-3n-hsw-x520-64b-2t2c-base_and_scale-l2bd-ndr-lat}
+            \label{fig:k8s-memif-3n-hsw-x520-64b-2t2c-base_and_scale-l2bd-ndr-lat}
     \end{figure}
 
 .. raw:: latex
@@ -79,19 +162,73 @@ CSIT source code for the test cases used for plots can be found in
 3n-hsw-x710
 ~~~~~~~~~~~
 
-64b-1t1c-base_and_scale
------------------------
+64b-1t1c-base_and_scale-l2xc
+----------------------------
+
+.. raw:: html
+
+    <center><b>
+
+:index:`Packet Latency: k8s-memif-3n-hsw-x710-64b-1t1c-base_and_scale-l2xc-ndr`
+
+.. raw:: html
+
+    </b>
+    <iframe id="ifrm05" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/k8s-memif-3n-hsw-x710-64b-1t1c-base_and_scale-l2xc-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]{k8s-memif-3n-hsw-x710-64b-1t1c-base_and_scale-l2xc-ndr-lat}
+            \label{fig:k8s-memif-3n-hsw-x710-64b-1t1c-base_and_scale-l2xc-ndr-lat}
+    \end{figure}
+
+.. raw:: latex
+
+    \clearpage
+
+64b-2t2c-base_and_scale-l2xc
+----------------------------
+
+.. raw:: html
+
+    <center><b>
+
+:index:`Packet Latency: k8s-memif-3n-hsw-x710-64b-2t2c-base_and_scale-l2xc-ndr`
+
+.. raw:: html
+
+    </b>
+    <iframe id="ifrm06" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/k8s-memif-3n-hsw-x710-64b-2t2c-base_and_scale-l2xc-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]{k8s-memif-3n-hsw-x710-64b-2t2c-base_and_scale-l2xc-ndr-lat}
+            \label{fig:k8s-memif-3n-hsw-x710-64b-2t2c-base_and_scale-l2xc-ndr-lat}
+    \end{figure}
+
+64b-1t1c-base_and_scale-l2bd
+----------------------------
 
 .. raw:: html
 
     <center><b>
 
-:index:`Latency:  k8s-memif-3n-hsw-x710-64b-1t1c-base_and_scale-ndr`
+:index:`Packet Latency: k8s-memif-3n-hsw-x710-64b-1t1c-base_and_scale-l2bd-ndr`
 
 .. raw:: html
 
     </b>
-    <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/k8s-memif-3n-hsw-x710-64b-1t1c-base_and_scale-ndr-lat.html"></iframe>
+    <iframe id="ifrm07" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/k8s-memif-3n-hsw-x710-64b-1t1c-base_and_scale-l2bd-ndr-lat.html"></iframe>
     <p><br><br></p>
     </center>
 
@@ -100,27 +237,27 @@ CSIT source code for the test cases used for plots can be found in
     \begin{figure}[H]
         \centering
             \graphicspath{{../_build/_static/vpp/}}
-            \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{k8s-memif-3n-hsw-x710-64b-1t1c-base_and_scale-ndr-lat}
-            \label{fig:k8s-memif-3n-hsw-x710-64b-1t1c-base_and_scale-ndr-lat}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{k8s-memif-3n-hsw-x710-64b-1t1c-base_and_scale-l2bd-ndr-lat}
+            \label{fig:k8s-memif-3n-hsw-x710-64b-1t1c-base_and_scale-l2bd-ndr-lat}
     \end{figure}
 
 .. raw:: latex
 
     \clearpage
 
-64b-2t2c-base_and_scale
------------------------
+64b-2t2c-base_and_scale-l2bd
+----------------------------
 
 .. raw:: html
 
     <center><b>
 
-:index:`Latency:  k8s-memif-3n-hsw-x710-64b-2t2c-base_and_scale-ndr`
+:index:`Packet Latency: k8s-memif-3n-hsw-x710-64b-2t2c-base_and_scale-l2bd-ndr`
 
 .. raw:: html
 
     </b>
-    <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/k8s-memif-3n-hsw-x710-64b-2t2c-base_and_scale-ndr-lat.html"></iframe>
+    <iframe id="ifrm08" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/k8s-memif-3n-hsw-x710-64b-2t2c-base_and_scale-l2bd-ndr-lat.html"></iframe>
     <p><br><br></p>
     </center>
 
@@ -129,6 +266,6 @@ CSIT source code for the test cases used for plots can be found in
     \begin{figure}[H]
         \centering
             \graphicspath{{../_build/_static/vpp/}}
-            \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{k8s-memif-3n-hsw-x710-64b-2t2c-base_and_scale-ndr-lat}
-            \label{fig:k8s-memif-3n-hsw-x710-64b-2t2c-base_and_scale-ndr-lat}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{k8s-memif-3n-hsw-x710-64b-2t2c-base_and_scale-l2bd-ndr-lat}
+            \label{fig:k8s-memif-3n-hsw-x710-64b-2t2c-base_and_scale-l2bd-ndr-lat}
     \end{figure}