09.11.2012 Views

Contents - Raspberry PI Community Projects

Contents - Raspberry PI Community Projects

Contents - Raspberry PI Community Projects

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CPU<br />

Linpack<br />

The Arm has been tested using the linpack benchmark from [1] (http://www.netlib.org/<br />

benchmark/linpackc.new) , built with gcc with -O3 (Optimisation level 3). Run with<br />

array size 200.<br />

With software floating point<br />

Source<br />

[2] (http://www.netlib.org/benchmark/linpackc.new)<br />

Compile/Run<br />

cc -O3 -o linpack linpack.c -lm<br />

linpack.c: In function ‘main’:<br />

linpack.c:69: warning: return type of ‘main’ is not ‘int’<br />

./linpack<br />

Enter array size (q to quit) [200]: 200<br />

Results<br />

Crippled<br />

Memory required: 315K.<br />

LINPACK benchmark, Double precision.<br />

Machine precision: 15 digits.<br />

Array size 200 X 200.<br />

Average rolled and unrolled performance:<br />

Reps Time(s) DGEFA DGESL OVERHEAD KFLOPS<br />

2 0.53 92.45% 1.89% 5.66% 5493.333<br />

4 1.07 92.52% 2.80% 4.67% 5385.621<br />

8 2.12 92.45% 2.36% 5.19% 5466.003<br />

16 4.24 92.45% 2.83% 4.72% 5438.944<br />

32 8.49 92.11% 2.71% 5.18% 5459.213<br />

64 16.98 92.05% 2.89% 5.06% 5452.440<br />

Hardware floating point (-mfloat-abi=softfp)<br />

Memory required: 315K.<br />

LINPACK benchmark, Double precision.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!