CSIT-1332: Proposal of new layout of all graphs
[csit.git] / docs / report / vpp_performance_tests / throughput_speedup_multi_core / ipsec.rst
index 3c7e3a6..f62c910 100644 (file)
@@ -3,6 +3,31 @@
 
     \clearpage
 
 
     \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>
+
 IPSec IPv4 Routing
 ==================
 
 IPSec IPv4 Routing
 ==================
 
@@ -17,24 +42,130 @@ 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
 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/vpp/perf/crypto?h=rls1807>`_.
+`CSIT git repository <https://git.fd.io/csit/tree/tests/vpp/perf/crypto?h=rls1810>`_.
+
+.. raw:: latex
+
+    \clearpage
 
 3n-hsw-xl710
 ~~~~~~~~~~~~
 
 
 3n-hsw-xl710
 ~~~~~~~~~~~~
 
-64b-base_and_scale
-------------------
+64b-hw-base
+-----------
+
+.. raw:: html
+
+    <center><b>
+
+:index:`Speedup Multi-core: ipsec-3n-hsw-xl710-64b-base-ndr`
+
+.. raw:: html
+
+    </b>
+    <iframe id="ifrm01" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/ipsec-3n-hsw-xl710-64b-base-ndr-tsa.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]{ipsec-3n-hsw-xl710-64b-base-ndr-tsa}
+            \label{fig:ipsec-3n-hsw-xl710-64b-base-ndr-tsa}
+    \end{figure}
+
+.. raw:: html
+
+    <center><b>
+
+.. raw:: latex
+
+    \clearpage
+
+:index:`Speedup Multi-core: ipsec-3n-hsw-xl710-64b-base-pdr`
+
+.. raw:: html
+
+    </b>
+    <iframe id="ifrm02" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/ipsec-3n-hsw-xl710-64b-base-pdr-tsa.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]{ipsec-3n-hsw-xl710-64b-base-pdr-tsa}
+            \label{fig:ipsec-3n-hsw-xl710-64b-base-pdr-tsa}
+    \end{figure}
+
+64b-hw-scale
+------------
+
+.. raw:: html
+
+    <center><b>
+
+:index:`Speedup Multi-core: ipsec-3n-hsw-xl710-64b-scale-ndr`
+
+.. raw:: html
+
+    </b>
+    <iframe id="ifrm03" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/ipsec-3n-hsw-xl710-64b-scale-ndr-tsa.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]{ipsec-3n-hsw-xl710-64b-scale-ndr-tsa}
+            \label{fig:ipsec-3n-hsw-xl710-64b-scale-ndr-tsa}
+    \end{figure}
+
+.. raw:: html
+
+    <center><b>
+
+.. raw:: latex
+
+    \clearpage
+
+:index:`Speedup Multi-core: ipsec-3n-hsw-xl710-64b-scale-pdr`
+
+.. raw:: html
+
+    </b>
+    <iframe id="ifrm04" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/ipsec-3n-hsw-xl710-64b-scale-pdr-tsa.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]{ipsec-3n-hsw-xl710-64b-scale-pdr-tsa}
+            \label{fig:ipsec-3n-hsw-xl710-64b-scale-pdr-tsa}
+    \end{figure}
+
+64b-sw-base
+-----------
 
 .. raw:: html
 
     <center><b>
 
 
 .. raw:: html
 
     <center><b>
 
-:index:`Speedup: ipsec-3n-hsw-xl710-64b-base_and_scale-ndr`
+:index:`Speedup Multi-core: ipsec-3n-hsw-xl710-64b-sw-base-ndr`
 
 .. raw:: html
 
     </b>
 
 .. raw:: html
 
     </b>
-    <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/ipsec-3n-hsw-xl710-64b-base_and_scale-ndr-tsa.html"></iframe>
+    <iframe id="ifrm05" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/ipsec-3n-hsw-xl710-64b-sw-ndr-tsa.html"></iframe>
     <p><br><br></p>
     </center>
 
     <p><br><br></p>
     </center>
 
@@ -43,8 +174,8 @@ CSIT source code for the test cases used for plots can be found in
     \begin{figure}[H]
         \centering
             \graphicspath{{../_build/_static/vpp/}}
     \begin{figure}[H]
         \centering
             \graphicspath{{../_build/_static/vpp/}}
-            \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{ipsec-3n-hsw-xl710-64b-base_and_scale-ndr-tsa}
-            \label{fig:ipsec-3n-hsw-xl710-64b-base_and_scale-ndr-tsa}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{ipsec-3n-hsw-xl710-64b-sw-ndr-tsa}
+            \label{fig:ipsec-3n-hsw-xl710-64b-sw-ndr-tsa}
     \end{figure}
 
 .. raw:: html
     \end{figure}
 
 .. raw:: html
@@ -55,12 +186,12 @@ CSIT source code for the test cases used for plots can be found in
 
     \clearpage
 
 
     \clearpage
 
-:index:`Speedup: ipsec-3n-hsw-xl710-64b-base_and_scale-pdr`
+:index:`Speedup Multi-core: ipsec-3n-hsw-xl710-64b-sw-base-pdr`
 
 .. raw:: html
 
     </b>
 
 .. raw:: html
 
     </b>
-    <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/ipsec-3n-hsw-xl710-64b-base_and_scale-pdr-tsa.html"></iframe>
+    <iframe id="ifrm06" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/ipsec-3n-hsw-xl710-64b-sw-pdr-tsa.html"></iframe>
     <p><br><br></p>
     </center>
 
     <p><br><br></p>
     </center>
 
@@ -69,6 +200,6 @@ CSIT source code for the test cases used for plots can be found in
     \begin{figure}[H]
         \centering
             \graphicspath{{../_build/_static/vpp/}}
     \begin{figure}[H]
         \centering
             \graphicspath{{../_build/_static/vpp/}}
-            \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{ipsec-3n-hsw-xl710-64b-base_and_scale-pdr-tsa}
-            \label{fig:ipsec-3n-hsw-xl710-64b-base_and_scale-pdr-tsa}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{ipsec-3n-hsw-xl710-64b-sw-pdr-tsa}
+            \label{fig:ipsec-3n-hsw-xl710-64b-sw-pdr-tsa}
     \end{figure}
     \end{figure}