diff options
author | Tibor Frank <tifrank@cisco.com> | 2018-10-05 10:44:15 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2018-10-31 13:45:15 +0100 |
commit | 8243ea78854683f2f80da53d8f197f10316e4801 (patch) | |
tree | b67155f4abdd8e8cdec39427ad81d927378e1ec4 /docs/report/vpp_performance_tests/throughput_speedup_multi_core/srv6.rst | |
parent | 810913a6967d080612a01463d39acdefc1e3e640 (diff) |
CSIT-1332: Proposal of new layout of all graphs
Change-Id: Ib5d113fd2071e481bcc5e3d043a43a58947b8da1
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'docs/report/vpp_performance_tests/throughput_speedup_multi_core/srv6.rst')
-rw-r--r-- | docs/report/vpp_performance_tests/throughput_speedup_multi_core/srv6.rst | 43 |
1 files changed, 36 insertions, 7 deletions
diff --git a/docs/report/vpp_performance_tests/throughput_speedup_multi_core/srv6.rst b/docs/report/vpp_performance_tests/throughput_speedup_multi_core/srv6.rst index 6ff898d544..3c50d7d894 100644 --- a/docs/report/vpp_performance_tests/throughput_speedup_multi_core/srv6.rst +++ b/docs/report/vpp_performance_tests/throughput_speedup_multi_core/srv6.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> + SRv6 Routing ============ @@ -15,7 +40,11 @@ SRv6, including NDR throughput (zero packet loss) and PDR throughput (<0.5% packet loss). 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/srv6?h=rls1807>`_. +`CSIT git repository <https://git.fd.io/csit/tree/tests/vpp/perf/srv6?h=rls1810>`_. + +.. raw:: latex + + \clearpage 3n-hsw-x520 ~~~~~~~~~~~ @@ -27,12 +56,12 @@ CSIT source code for the test cases used for plots can be found in <center><b> -:index:`Speedup: srv6-3n-hsw-x520-78b-1t1c-features-ndr` +:index:`Speedup Multi-core: srv6-3n-hsw-x520-78b-1t1c-features-ndr` .. raw:: html </b> - <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/srv6-3n-hsw-x520-78b-features-ndr-tsa.html"></iframe> + <iframe id="ifrm01" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/srv6-3n-hsw-x520-78b-features-ndr-tsa.html"></iframe> <p><br><br></p> </center> @@ -41,7 +70,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]{srv6-3n-hsw-x520-78b-features-ndr-tsa} + \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{srv6-3n-hsw-x520-78b-features-ndr-tsa} \label{fig:srv6-3n-hsw-x520-78b-features-ndr-tsa} \end{figure} @@ -53,12 +82,12 @@ CSIT source code for the test cases used for plots can be found in \clearpage -:index:`Speedup: srv6-3n-hsw-x520-78b-1t1c-features-pdr` +:index:`Speedup Multi-core: srv6-3n-hsw-x520-78b-1t1c-features-pdr` .. raw:: html </b> - <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/srv6-3n-hsw-x520-78b-features-pdr-tsa.html"></iframe> + <iframe id="ifrm02" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/srv6-3n-hsw-x520-78b-features-pdr-tsa.html"></iframe> <p><br><br></p> </center> @@ -67,6 +96,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]{srv6-3n-hsw-x520-78b-features-pdr-tsa} + \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{srv6-3n-hsw-x520-78b-features-pdr-tsa} \label{fig:srv6-3n-hsw-x520-78b-features-pdr-tsa} \end{figure} |