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