CSIT-891: Add data sources for 1801 report
[csit.git] / docs / report / vpp_performance_tests / impact_meltdown / index.rst
1 Impact of Meltdown Patches
2 ==========================
3
4 Following sections list changes to VPP throughput performance after applying
5 patches addressing security vulnerabilities referred to as Meltdown
6 (Variant3: Rogue Data Cache Load). Incremental kernel patches are
7 applied for Ubuntu 16.04LTS as documented on
8 `Ubuntu SpectreAndMeltdown page <https://wiki.ubuntu.com/SecurityTeam/KnowledgeBase/SpectreAndMeltdown>`_.
9 Detailed listing of used software versions and patches is documented in
10 :ref:`test_environment`.
11
12 NDR and PDR packet throughput results are compared for 1-core/1-thread,
13 2-cores/2-threads and 4-cores/4-threads VPP configurations, with
14 reference performance numbers coming from tests without the Meltdown
15 patches. Tables show test results grouped into Best 20 changes (minimal
16 performance impact), followed by Worst 20 changes (maximal performance
17 impact). All results are also provided in downloadable CSV and pretty
18 ASCII formats.
19
20 NDR Throughput: Best 20 Changes
21 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
22
23 .. only:: html
24
25    .. csv-table::
26       :align: center
27       :file: ../../../../_build/_static/vpp/meltdown-impact-ndr-1t1c-top.csv
28
29 .. only:: latex
30
31    .. raw:: latex
32
33       \makeatletter
34       \csvset{
35         perfimprovements column width/.style={after head=\csv@pretable\begin{longtable}{m{4cm} m{#1} m{#1} m{#1} m{#1} m{#1}}\csv@tablehead},
36       }
37       \makeatother
38
39       {\tiny
40       \csvautobooklongtable[separator=comma,
41         respect all,
42         no check column count,
43         perfimprovements column width=1cm,
44         late after line={\\\hline},
45         late after last line={\end{longtable}}
46         ]{../_build/_static/vpp/meltdown-impact-ndr-1t1c-top.csv}
47       }
48
49 NDR Throughput: Worst 20 Changes
50 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51
52 .. only:: html
53
54    .. csv-table::
55       :align: center
56       :file: ../../../../_build/_static/vpp/meltdown-impact-ndr-1t1c-bottom.csv
57
58 .. only:: latex
59
60    .. raw:: latex
61
62       \makeatletter
63       \csvset{
64         perfimprovements column width/.style={after head=\csv@pretable\begin{longtable}{m{4cm} m{#1} m{#1} m{#1} m{#1} m{#1}}\csv@tablehead},
65       }
66       \makeatother
67
68       {\tiny
69       \csvautobooklongtable[separator=comma,
70         respect all,
71         no check column count,
72         perfimprovements column width=1cm,
73         late after line={\\\hline},
74         late after last line={\end{longtable}}
75         ]{../_build/_static/vpp/meltdown-impact-ndr-1t1c-bottom.csv}
76       }
77
78 .. only:: html
79
80       NDR Throughput: All Changes
81       ~~~~~~~~~~~~~~~~~~~~~~~~~~~
82
83       Complete results for all NDR tests are available in a CSV and pretty
84       ASCII formats:
85
86         - `csv format for 1t1c <../../_static/vpp/meltdown-impact-ndr-1t1c-full.csv>`_,
87         - `csv format for 2t2c <../../_static/vpp/meltdown-impact-ndr-2t2c-full.csv>`_,
88         - `csv format for 4t4c <../../_static/vpp/meltdown-impact-ndr-4t4c-full.csv>`_,
89         - `pretty ASCII format for 1t1c <../../_static/vpp/meltdown-impact-ndr-1t1c-full.txt>`_,
90         - `pretty ASCII format for 2t2c <../../_static/vpp/meltdown-impact-ndr-2t2c-full.txt>`_,
91         - `pretty ASCII format for 4t4c <../../_static/vpp/meltdown-impact-ndr-4t4c-full.txt>`_.
92
93 PDR Throughput: Best 20 Changes
94 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
95
96 .. only:: html
97
98    .. csv-table::
99       :align: center
100       :file: ../../../../_build/_static/vpp/meltdown-impact-pdr-1t1c-top.csv
101
102 .. only:: latex
103
104    .. raw:: latex
105
106       \makeatletter
107       \csvset{
108         perfimprovements column width/.style={after head=\csv@pretable\begin{longtable}{m{4cm} m{#1} m{#1} m{#1} m{#1} m{#1}}\csv@tablehead},
109       }
110       \makeatother
111
112       {\tiny
113       \csvautobooklongtable[separator=comma,
114         respect all,
115         no check column count,
116         perfimprovements column width=1cm,
117         late after line={\\\hline},
118         late after last line={\end{longtable}}
119         ]{../_build/_static/vpp/meltdown-impact-pdr-1t1c-top.csv}
120       }
121
122 PDR Throughput: Worst 20 Changes
123 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
124
125 .. only:: html
126
127    .. csv-table::
128       :align: center
129       :file: ../../../../_build/_static/vpp/meltdown-impact-pdr-1t1c-bottom.csv
130
131 .. only:: latex
132
133    .. raw:: latex
134
135       \makeatletter
136       \csvset{
137         perfimprovements column width/.style={after head=\csv@pretable\begin{longtable}{m{4cm} m{#1} m{#1} m{#1} m{#1} m{#1}}\csv@tablehead},
138       }
139       \makeatother
140
141       {\tiny
142       \csvautobooklongtable[separator=comma,
143         respect all,
144         no check column count,
145         perfimprovements column width=1cm,
146         late after line={\\\hline},
147         late after last line={\end{longtable}}
148         ]{../_build/_static/vpp/meltdown-impact-pdr-1t1c-bottom.csv}
149       }
150
151 .. only:: html
152
153 PDR Throughput: All Changes
154 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
155
156       Complete results for all PDR tests are available in a CSV and pretty
157       ASCII formats:
158
159         - `csv format for 1t1c <../../_static/vpp/meltdown-impact-pdr-1t1c-full.csv>`_,
160         - `csv format for 2t2c <../../_static/vpp/meltdown-impact-pdr-2t2c-full.csv>`_,
161         - `csv format for 4t4c <../../_static/vpp/meltdown-impact-pdr-4t4c-full.csv>`_,
162         - `pretty ASCII format for 1t1c <../../_static/vpp/meltdown-impact-pdr-1t1c-full.txt>`_,
163         - `pretty ASCII format for 2t2c <../../_static/vpp/meltdown-impact-pdr-2t2c-full.txt>`_,
164         - `pretty ASCII format for 4t4c <../../_static/vpp/meltdown-impact-pdr-4t4c-full.txt>`_.

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.