diff options
Diffstat (limited to 'docs/report/vpp_performance_tests/packet_throughput_graphs/vts.rst')
-rw-r--r-- | docs/report/vpp_performance_tests/packet_throughput_graphs/vts.rst | 51 |
1 files changed, 38 insertions, 13 deletions
diff --git a/docs/report/vpp_performance_tests/packet_throughput_graphs/vts.rst b/docs/report/vpp_performance_tests/packet_throughput_graphs/vts.rst index 7593612b08..985057d194 100644 --- a/docs/report/vpp_performance_tests/packet_throughput_graphs/vts.rst +++ b/docs/report/vpp_performance_tests/packet_throughput_graphs/vts.rst @@ -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> + VTS === @@ -14,7 +39,7 @@ configurations 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/vpp/perf/vts?h=rls1807>`_. +`CSIT git repository <https://git.fd.io/csit/tree/tests/vpp/perf/vts?h=rls1810>`_. 3n-hsw-x520 ~~~~~~~~~~~ @@ -26,12 +51,12 @@ CSIT source code for the test cases used for plots can be found in <center><b> -:index:`Throughput: vts-3n-hsw-x520-114b-1t1c-ndr` +:index:`Packet Throughput: vts-3n-hsw-x520-114b-1t1c-ndr` .. raw:: html </b> - <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/vts-3n-hsw-x520-114b-1t1c-ndr.html"></iframe> + <iframe id="ifrm01" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/vts-3n-hsw-x520-114b-1t1c-ndr.html"></iframe> <p><br><br></p> </center> @@ -40,7 +65,7 @@ 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]{vts-3n-hsw-x520-114b-1t1c-ndr} + \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{vts-3n-hsw-x520-114b-1t1c-ndr} \label{fig:vts-3n-hsw-x520-114b-1t1c-ndr} \end{figure} @@ -52,12 +77,12 @@ CSIT source code for the test cases used for plots can be found in \clearpage -:index:`Throughput: vts-3n-hsw-x520-114b-1t1c-pdr` +:index:`Packet Throughput: vts-3n-hsw-x520-114b-1t1c-pdr` .. raw:: html </b> - <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/vts-3n-hsw-x520-114b-1t1c-pdr.html"></iframe> + <iframe id="ifrm02" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/vts-3n-hsw-x520-114b-1t1c-pdr.html"></iframe> <p><br><br></p> </center> @@ -66,7 +91,7 @@ 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]{vts-3n-hsw-x520-114b-1t1c-pdr} + \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{vts-3n-hsw-x520-114b-1t1c-pdr} \label{fig:vts-3n-hsw-x520-114b-1t1c-pdr} \end{figure} @@ -81,12 +106,12 @@ CSIT source code for the test cases used for plots can be found in <center><b> -:index:`Throughput: vts-3n-hsw-x520-114b-2t2c-ndr` +:index:`Packet Throughput: vts-3n-hsw-x520-114b-2t2c-ndr` .. raw:: html </b> - <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/vts-3n-hsw-x520-114b-2t2c-ndr.html"></iframe> + <iframe id="ifrm03" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/vts-3n-hsw-x520-114b-2t2c-ndr.html"></iframe> <p><br><br></p> </center> @@ -95,7 +120,7 @@ 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]{vts-3n-hsw-x520-114b-2t2c-ndr} + \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{vts-3n-hsw-x520-114b-2t2c-ndr} \label{fig:vts-3n-hsw-x520-114b-2t2c-ndr} \end{figure} @@ -107,12 +132,12 @@ CSIT source code for the test cases used for plots can be found in \clearpage -:index:`Throughput: vts-3n-hsw-x520-114b-2t2c-pdr` +:index:`Packet Throughput: vts-3n-hsw-x520-114b-2t2c-pdr` .. raw:: html </b> - <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/vts-3n-hsw-x520-114b-2t2c-pdr.html"></iframe> + <iframe id="ifrm04" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/vts-3n-hsw-x520-114b-2t2c-pdr.html"></iframe> <p><br><br></p> </center> @@ -121,6 +146,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]{vts-3n-hsw-x520-114b-2t2c-pdr} + \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{vts-3n-hsw-x520-114b-2t2c-pdr} \label{fig:vts-3n-hsw-x520-114b-2t2c-pdr} \end{figure} |