-
Notifications
You must be signed in to change notification settings - Fork 1
/
results-R-Simon.txt
270 lines (195 loc) · 11 KB
/
results-R-Simon.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
Simon Urbanek's R benchmarks (matrix stuff etc.)
http://r.research.att.com/benchmarks/
http://r.research.att.com/benchmarks/R-benchmark-25.R
m5.xlarge
> sessionInfo()
R version 3.2.3 (2015-12-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.3 LTS
> source("R-benchmark-25.R")
Loading required package: SuppDists
R Benchmark 2.5
===============
Number of times each test is run__________________________: 3
$ uname -r
4.14.10-041410-generic
I. Matrix calculation
---------------------
Creation, transp., deformation of a 2500x2500 matrix (sec): 0.947333333333333
2400x2400 normal distributed random matrix ^1000____ (sec): 0.619000000000001
Sorting of 7,000,000 random values__________________ (sec): 0.812
2800x2800 cross-product matrix (b = a' * a)_________ (sec): 21.14
Linear regr. over a 3000x3000 matrix (c = a \ b')___ (sec): 7.16066666666667
--------------------------------------------
Trimmed geom. mean (2 extremes eliminated): 1.76605450086588
II. Matrix functions
--------------------
FFT over 2,400,000 random values____________________ (sec): 0.331999999999998
Eigenvalues of a 640x640 random matrix______________ (sec): 2.25166666666667
Determinant of a 2500x2500 random matrix____________ (sec): 3.08733333333333
Cholesky decomposition of a 3000x3000 matrix________ (sec): 5.81433333333334
Inverse of a 1600x1600 random matrix________________ (sec): 2.60333333333334
--------------------------------------------
Trimmed geom. mean (2 extremes eliminated): 2.62546238125717
III. Programmation
------------------
3,500,000 Fibonacci numbers calculation (vector calc)(sec): 0.561666666666658
Creation of a 3000x3000 Hilbert matrix (matrix calc) (sec): 0.238333333333344
Grand common divisors of 400,000 pairs (recursion)__ (sec): 0.417666666666662
Creation of a 500x500 Toeplitz matrix (loops)_______ (sec): 0.300999999999997
Escoufier's method on a 45x45 matrix (mixed)________ (sec): 0.350999999999999
--------------------------------------------
Trimmed geom. mean (2 extremes eliminated): 0.353373905293229
Total time for all 15 tests_________________________ (sec): 46.6373333333333
Overall mean (sum of I, II and III trimmed means/3)_ (sec): 1.17891219259591
--- End of test ---
$ uname -r
4.14.12-041412-generic
I. Matrix calculation
---------------------
Creation, transp., deformation of a 2500x2500 matrix (sec): 0.924
2400x2400 normal distributed random matrix ^1000____ (sec): 0.617333333333333
Sorting of 7,000,000 random values__________________ (sec): 0.809666666666666
2800x2800 cross-product matrix (b = a' * a)_________ (sec): 21.0436666666667
Linear regr. over a 3000x3000 matrix (c = a \ b')___ (sec): 7.00033333333333
--------------------------------------------
Trimmed geom. mean (2 extremes eliminated): 1.73659674969416
II. Matrix functions
--------------------
FFT over 2,400,000 random values____________________ (sec): 0.293000000000002
Eigenvalues of a 640x640 random matrix______________ (sec): 2.27766666666667
Determinant of a 2500x2500 random matrix____________ (sec): 3.05933333333333
Cholesky decomposition of a 3000x3000 matrix________ (sec): 5.80833333333334
Inverse of a 1600x1600 random matrix________________ (sec): 2.53366666666667
--------------------------------------------
Trimmed geom. mean (2 extremes eliminated): 2.60388708459893
III. Programmation
------------------
3,500,000 Fibonacci numbers calculation (vector calc)(sec): 0.567666666666668
Creation of a 3000x3000 Hilbert matrix (matrix calc) (sec): 0.240333333333325
Grand common divisors of 400,000 pairs (recursion)__ (sec): 0.369333333333335
Creation of a 500x500 Toeplitz matrix (loops)_______ (sec): 0.297666666666667
Escoufier's method on a 45x45 matrix (mixed)________ (sec): 0.335000000000008
--------------------------------------------
Trimmed geom. mean (2 extremes eliminated): 0.332708966784996
Total time for all 15 tests_________________________ (sec): 46.177
Overall mean (sum of I, II and III trimmed means/3)_ (sec): 1.14585204890865
--- End of test ---
$ uname -r
4.4.0-104-generic
I. Matrix calculation
---------------------
Creation, transp., deformation of a 2500x2500 matrix (sec): 0.760333333333334
2400x2400 normal distributed random matrix ^1000____ (sec): 0.574333333333334
Sorting of 7,000,000 random values__________________ (sec): 0.798333333333333
2800x2800 cross-product matrix (b = a' * a)_________ (sec): 21.1776666666667
Linear regr. over a 3000x3000 matrix (c = a \ b')___ (sec): 7.16633333333334
--------------------------------------------
Trimmed geom. mean (2 extremes eliminated): 1.63240694148902
II. Matrix functions
--------------------
FFT over 2,400,000 random values____________________ (sec): 0.282333333333331
Eigenvalues of a 640x640 random matrix______________ (sec): 2.27366666666666
Determinant of a 2500x2500 random matrix____________ (sec): 3.06033333333333
Cholesky decomposition of a 3000x3000 matrix________ (sec): 5.76833333333334
Inverse of a 1600x1600 random matrix________________ (sec): 2.50566666666667
--------------------------------------------
Trimmed geom. mean (2 extremes eliminated): 2.59302243504038
III. Programmation
------------------
3,500,000 Fibonacci numbers calculation (vector calc)(sec): 0.559000000000007
Creation of a 3000x3000 Hilbert matrix (matrix calc) (sec): 0.154666666666676
Grand common divisors of 400,000 pairs (recursion)__ (sec): 0.366666666666665
Creation of a 500x500 Toeplitz matrix (loops)_______ (sec): 0.295333333333322
Escoufier's method on a 45x45 matrix (mixed)________ (sec): 0.335999999999984
--------------------------------------------
Trimmed geom. mean (2 extremes eliminated): 0.331365831885329
Total time for all 15 tests_________________________ (sec): 46.079
Overall mean (sum of I, II and III trimmed means/3)_ (sec): 1.11938842228053
--- End of test ---
--------------------------------------------------
sudo apt-get install libopenblas-base
ii libopenblas-base 0.2.18-1ubuntu1 amd64 Optimized BLAS (linear algebra) library (shared library)
Xenial (16.04) libopenblas-base
Optimized BLAS (linear algebra) library (shared library)
OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.
dpkg -L libopenblas-base
/.
/usr
/usr/lib
/usr/lib/openblas-base
/usr/lib/openblas-base/libblas.so.3
/usr/lib/openblas-base/liblapack.so.3
/usr/lib/libopenblasp-r0.2.18.so
/usr/share
/usr/share/doc
/usr/share/doc/libopenblas-base
/usr/share/doc/libopenblas-base/copyright
/usr/share/doc/libopenblas-base/changelog.Debian.gz
/usr/share/doc/libopenblas-base/README.Debian
/usr/share/doc/libopenblas-base/TODO.Debian
/usr/lib/libopenblas.so.0
$ uname -msr
Linux 4.14.10-041410-generic x86_64
I. Matrix calculation
---------------------
Creation, transp., deformation of a 2500x2500 matrix (sec): 0.938
2400x2400 normal distributed random matrix ^1000____ (sec): 0.614666666666666
Sorting of 7,000,000 random values__________________ (sec): 0.811666666666668
2800x2800 cross-product matrix (b = a' * a)_________ (sec): 0.380666666666668
Linear regr. over a 3000x3000 matrix (c = a \ b')___ (sec): 0.241333333333332
--------------------------------------------
Trimmed geom. mean (2 extremes eliminated): 0.574805269259868
II. Matrix functions
--------------------
FFT over 2,400,000 random values____________________ (sec): 0.350333333333334
Eigenvalues of a 640x640 random matrix______________ (sec): 0.512999999999999
Determinant of a 2500x2500 random matrix____________ (sec): 0.232666666666668
Cholesky decomposition of a 3000x3000 matrix________ (sec): 0.276666666666666
Inverse of a 1600x1600 random matrix________________ (sec): 0.211000000000003
--------------------------------------------
Trimmed geom. mean (2 extremes eliminated): 0.282525393810648
III. Programmation
------------------
3,500,000 Fibonacci numbers calculation (vector calc)(sec): 0.561333333333335
Creation of a 3000x3000 Hilbert matrix (matrix calc) (sec): 0.236333333333332
Grand common divisors of 400,000 pairs (recursion)__ (sec): 0.448666666666668
Creation of a 500x500 Toeplitz matrix (loops)_______ (sec): 0.329666666666668
Escoufier's method on a 45x45 matrix (mixed)________ (sec): 0.319000000000003
--------------------------------------------
Trimmed geom. mean (2 extremes eliminated): 0.361351483235071
Total time for all 15 tests_________________________ (sec): 6.46500000000001
Overall mean (sum of I, II and III trimmed means/3)_ (sec): 0.388599905313583
--- End of test ---
$ uname -msr
Linux 4.14.12-041412-generic x86_64
I. Matrix calculation
---------------------
Creation, transp., deformation of a 2500x2500 matrix (sec): 0.918333333333334
2400x2400 normal distributed random matrix ^1000____ (sec): 0.617000000000001
Sorting of 7,000,000 random values__________________ (sec): 0.808333333333334
2800x2800 cross-product matrix (b = a' * a)_________ (sec): 0.372666666666666
Linear regr. over a 3000x3000 matrix (c = a \ b')___ (sec): 0.235666666666668
--------------------------------------------
Trimmed geom. mean (2 extremes eliminated): 0.570687990891545
II. Matrix functions
--------------------
FFT over 2,400,000 random values____________________ (sec): 0.319333333333333
Eigenvalues of a 640x640 random matrix______________ (sec): 0.498666666666667
Determinant of a 2500x2500 random matrix____________ (sec): 0.227000000000002
Cholesky decomposition of a 3000x3000 matrix________ (sec): 0.277333333333336
Inverse of a 1600x1600 random matrix________________ (sec): 0.201333333333331
--------------------------------------------
Trimmed geom. mean (2 extremes eliminated): 0.271909299503553
III. Programmation
------------------
3,500,000 Fibonacci numbers calculation (vector calc)(sec): 0.560333333333332
Creation of a 3000x3000 Hilbert matrix (matrix calc) (sec): 0.240999999999997
Grand common divisors of 400,000 pairs (recursion)__ (sec): 0.423333333333334
Creation of a 500x500 Toeplitz matrix (loops)_______ (sec): 0.308666666666665
Escoufier's method on a 45x45 matrix (mixed)________ (sec): 0.316000000000003
--------------------------------------------
Trimmed geom. mean (2 extremes eliminated): 0.345636628578202
Total time for all 15 tests_________________________ (sec): 6.325
Overall mean (sum of I, II and III trimmed means/3)_ (sec): 0.377121117125466
--- End of test ---