Benchmarks

Linpack
Download this, rename it to linpack.c

Build
root@linaro-alip:~/benchmarks# cc -Ofast -o linpack linpack.c -lm -mcpu=cortex-a8 -march=armv7-a -mfpu=neon -mfloat-abi=hard -funsafe-math-optimizations -fno-fast-math linpack.c: In function ‘main’: linpack.c:78:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]

Results
-mcpu=cortex-a8 -march=armv7-a -mfpu=neon -mfloat-abi=hard -funsafe-math-optimizations -fno-fast-math Memory required: 315K.

LINPACK benchmark, Double precision. Machine precision: 15 digits. Array size 200 X 200. Average rolled and unrolled performance:

Reps Time(s) DGEFA  DGESL  OVERHEAD    KFLOPS

16  0.61  88.52%   6.56%   4.92%  37885.057      32   1.21  85.12%   2.48%  12.40%  41459.119      64   2.43  93.83%   2.47%   3.70%  37561.254     128   4.86  91.77%   2.47%   5.76%  38381.368     256   9.70  92.06%   2.89%   5.05%  38173.000     512  19.41  91.29%   2.47%   6.23%  38634.432 mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -mfpu=neon -mfloat-abi=hard -funsafe-math-optimizations -fomit-frame-pointer -ffast-math -funroll-loops -funsafe-loop-optimizations Memory required: 315K.

LINPACK benchmark, Double precision. Machine precision: 15 digits. Array size 200 X 200. Average rolled and unrolled performance:

Reps Time(s) DGEFA  DGESL  OVERHEAD    KFLOPS

16  0.53  90.57%   1.89%   7.55%  44843.537      32   1.05  90.48%   3.81%   5.71%  44390.572      64   2.13  90.14%   2.35%   7.51%  44615.905     128   4.23  90.54%   3.07%   6.38%  44390.572     256   8.46  90.19%   2.84%   6.97%  44672.596     512  17.03  90.55%   2.76%   6.69%  44250.892

Whetstone/Dhrystone
http://www.roylongbottom.org.uk/linux%20benchmarks.htm (requires )

Building
linaro@linaro-alip:~/tmp$ wget 'http://www.roylongbottom.org.uk/classic_benchmarks.tar.gz' linaro@linaro-alip:~/tmp$ wget 'http://linux-sunxi.org/images/a/a1/Classic_benchmarks.patch' linaro@linaro-alip:~/tmp$ tar -xzf classic_benchmarks.tar.gz linaro@linaro-alip:~/tmp$ patch -p0 < Classic_benchmarks.patch linaro@linaro-alip:~/tmp$ cd classic_benchmarks/source_code/ linaro@linaro-alip:~/tmp/classic_benchmarks/source_code$ make

Results

 * ./whets (gcc-4.7 -static -O3 -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -funroll-loops)

Single Precision C/C++ Whetstone Benchmark

Loop content                  Result              MFLOPS      MOPS   Seconds

N1 floating point     -1.12475013732910156       104.038               0.041 N2 floating point     -1.12274742126464844       105.829               0.282 N3 if then else        1.00000000000000000               14575.397     0.002 N4 fixed point        12.00000000000000000                 418.942     0.167 N5 sin,cos etc.        0.49911010265350342                   3.906     4.729 N6 floating point      0.99999982118606567        98.848               1.211 N7 assignments         3.00000000000000000                2254.666     0.018 N8 exp,sqrt etc.       0.75110864639282227                   2.335     3.537

MWIPS                                            222.285               9.987


 * ./dhry1 (gcc-4.7 -static -O3 -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -funroll-loops)

Microseconds for one run through Dhrystone:        0.22 Dhrystones per Second:                        4518788 VAX MIPS rating =                               2571.88


 * ./dhry2 (gcc-4.7 -static -O3 -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -funroll-loops)

Microseconds for one run through Dhrystone:        0.30 Dhrystones per Second:                        3336166 VAX MIPS rating =                               1898.79

Adding -Ofast and -flto:
 * ./whets (gcc-4.7 -static -Ofast -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -funroll-loops -flto)

Single Precision C/C++ Whetstone Benchmark

Loop content                 Result              MFLOPS      MOPS   Seconds

N1 floating point    -1.12367534637451172       103.565              0.004 N2 floating point    -1.12167263031005859       105.531              0.028 N3 if then else       1.00000000000000000               14852.924    0.000 N4 fixed point       12.00000000000000000                6970.390    0.001 N5 sin,cos etc.       0.49911010265350342                   3.933    0.465 N6 floating point     0.99999982118606567        98.786              0.120 N7 assignments        3.00000000000000000                2211.433    0.002 N8 exp,sqrt etc.      0.75110864639282227                   2.698    0.303

MWIPS                                           238.120              0.924


 * ./dhry1 (gcc-4.7 -static -Ofast -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -funroll-loops -flto)

Microseconds for one run through Dhrystone:        0.19 Dhrystones per Second:                        5185531 VAX MIPS rating =                               2951.36


 * ./dhry2 (gcc-4.7 -static -Ofast -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -funroll-loops)

Microseconds for one run through Dhrystone:        0.19 Dhrystones per Second:                        5262435 VAX MIPS rating =                               2995.13

How to test
run openssl speed

Results
Linaro-alip soft-float OpenSSL 1.0.1 14 Mar 2012 built on: Tue Aug 21 05:35:49 UTC 2012 options:bn(64,32) rc4(ptr,char) des(idx,cisc,16,long) aes(partial) blowfish(ptr) compiler: cc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wa,--noexecstack -Wall -DOPENSSL_NO_TLS1_2_CLIENT -DOPENSSL_MAX_TLS1_2_CIPHER_LENGTH=50 The 'numbers' are in 1000s of bytes per second processed. type            16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes md2                 0.00         0.00         0.00         0.00         0.00 mdc2                0.00         0.00         0.00         0.00         0.00 md4              4539.13k    23584.98k    68988.33k   133520.04k   184363.69k md5              5140.49k    17237.58k    46162.43k    79220.05k   100848.98k hmac(md5)        6296.96k    20580.39k    51788.37k    83395.93k   101282.91k sha1             5056.81k    15672.85k    36537.09k    54699.01k    64102.40k rmd160           4733.01k    14162.58k    31460.95k    45231.10k    51950.93k rc4             67049.00k    74935.98k    78372.86k    79348.39k    79623.51k des cbc         17689.04k    18793.72k    19138.82k    19248.13k    19292.16k des ede3         6748.10k     6951.38k     6998.10k     7015.77k     6950.87k idea cbc            0.00         0.00         0.00         0.00         0.00 seed cbc        20640.20k    21906.09k    22347.52k    22450.52k    22500.69k rc2 cbc         13089.00k    13998.74k    14224.73k    14294.36k    14164.76k rc5-32/12 cbc       0.00         0.00         0.00         0.00         0.00 blowfish cbc    26759.62k    29755.75k    30726.06k    30958.59k    31053.14k cast cbc        25870.12k    28393.51k    29254.23k    29501.78k    29570.39k aes-128 cbc     19582.69k    20855.45k    21258.07k    21348.35k    21392.04k aes-192 cbc     16902.33k    17731.03k    18009.26k    18094.42k    18117.97k aes-256 cbc     14778.66k    15419.55k    15636.82k    15683.58k    15712.26k camellia-128 cbc   26162.67k    28201.17k    28923.31k    29136.90k    28918.58k camellia-192 cbc   20555.46k    22316.52k    22863.19k    22990.17k    23046.83k camellia-256 cbc   20704.67k    22316.39k    22846.72k    23003.48k    23044.10k sha256           4130.87k     9683.05k    17185.11k    21408.43k    23093.25k sha512            804.45k     3218.84k     4525.99k     6147.07k     6873.09k whirlpool        1201.69k     2457.88k     3979.18k     4716.20k     4917.93k aes-128 ige     18517.42k    19858.50k    20280.58k    20406.61k    20838.75k aes-192 ige     15950.20k    17003.69k    17323.18k    17393.32k    17408.00k aes-256 ige     14102.48k    14868.65k    15100.93k    15172.95k    15174.31k ghash           14806.49k    15383.55k    15564.03k    15625.22k    15652.18k sign   verify    sign/s verify/s rsa 512 bits 0.002293s 0.000203s    436.1   4920.6 rsa 1024 bits 0.012441s 0.000617s    80.4   1621.2 rsa 2048 bits 0.075263s 0.002055s    13.3    486.7 rsa 4096 bits 0.499048s 0.007148s     2.0    139.9 sign   verify    sign/s verify/s dsa 512 bits 0.002058s 0.002299s    485.9    435.0 dsa 1024 bits 0.006101s 0.006964s   163.9    143.6 dsa 2048 bits 0.020326s 0.023641s    49.2     42.3 sign   verify    sign/s verify/s 160 bit ecdsa (secp160r1)  0.0010s   0.0045s    977.2    222.1 192 bit ecdsa (nistp192)  0.0011s   0.0046s    950.8    218.4 224 bit ecdsa (nistp224)  0.0014s   0.0062s    739.1    160.2 256 bit ecdsa (nistp256)  0.0016s   0.0079s    613.0    126.5 384 bit ecdsa (nistp384)  0.0036s   0.0184s    281.4     54.3 521 bit ecdsa (nistp521)  0.0096s   0.0510s    103.9     19.6 163 bit ecdsa (nistk163)  0.0021s   0.0080s    473.6    125.3 233 bit ecdsa (nistk233)  0.0044s   0.0155s    228.5     64.3 283 bit ecdsa (nistk283)  0.0067s   0.0286s    150.2     35.0 409 bit ecdsa (nistk409)  0.0178s   0.0667s     56.3     15.0 571 bit ecdsa (nistk571)  0.0426s   0.1538s     23.5      6.5 163 bit ecdsa (nistb163)  0.0021s   0.0086s    472.9    116.0 233 bit ecdsa (nistb233)  0.0043s   0.0173s    230.3     57.9 283 bit ecdsa (nistb283)  0.0067s   0.0320s    149.7     31.2 409 bit ecdsa (nistb409)  0.0178s   0.0759s     56.1     13.2 571 bit ecdsa (nistb571)  0.0428s   0.1760s     23.3      5.7 op     op/s 160 bit ecdh (secp160r1)  0.0038s    264.8 192 bit ecdh (nistp192)  0.0038s    263.9 224 bit ecdh (nistp224)  0.0052s    191.9 256 bit ecdh (nistp256)  0.0066s    151.4 384 bit ecdh (nistp384)  0.0152s     66.0 521 bit ecdh (nistp521)  0.0422s     23.7 163 bit ecdh (nistk163)  0.0040s    253.0 233 bit ecdh (nistk233)  0.0077s    130.0 283 bit ecdh (nistk283)  0.0142s     70.6 409 bit ecdh (nistk409)  0.0331s     30.2 571 bit ecdh (nistk571)  0.0760s     13.2 163 bit ecdh (nistb163)  0.0042s    235.8 233 bit ecdh (nistb233)  0.0085s    117.0 283 bit ecdh (nistb283)  0.0158s     63.1 409 bit ecdh (nistb409)  0.0378s     26.5 571 bit ecdh (nistb571)  0.0879s     11.4 ArchLinux-ARM hard-float OpenSSL 1.0.1c 10 May 2012 built on: Sat May 12 16:58:09 UTC 2012 options:bn(64,32) md2(int) rc4(ptr,char) des(idx,cisc,16,long) aes(partial) idea(int) blowfish(ptr) compiler: gcc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -Wa,--noexecstack -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DOPENSSL_NO_TLS1_2_CLIENT -DTERMIO -O3 -Wall -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -DGHASH_ASM The 'numbers' are in 1000s of bytes per second processed. type            16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes md2              1010.38k     2071.59k     2919.79k     3215.08k     3322.59k mdc2             2238.70k     2724.06k     2915.34k     3063.91k     3044.11k md4              8261.57k    28911.65k    81103.94k   148492.57k   200026.24k md5              6456.03k    20979.84k    54995.08k    89176.35k   111244.43k hmac(md5)        6319.94k    21289.87k    54631.79k    89444.75k   110983.92k sha1             6633.24k    20150.08k    47302.98k    70280.66k    82581.21k rmd160           5493.36k    15627.12k    34127.48k    48159.05k    54297.05k rc4             66233.79k    74331.73k    77396.54k    77693.81k    78829.52k des cbc         18532.54k    19769.99k    20273.26k    20313.14k    20323.82k des ede3         7169.37k     7346.22k     7416.20k     7478.53k     7461.20k idea cbc        15485.30k    16443.47k    16683.46k    16698.54k    16758.24k seed cbc        20667.10k    22857.28k    23349.77k    23677.72k    23609.99k rc2 cbc         13686.09k    14637.63k    14956.66k    15077.94k    14912.37k rc5-32/12 cbc       0.00         0.00         0.00         0.00         0.00 blowfish cbc    27451.80k    30338.11k    31082.36k    31144.23k    31523.17k cast cbc        27317.50k    30075.42k    31215.36k    31145.33k    31403.65k aes-128 cbc     35895.60k    40605.48k    43274.31k    43880.05k    44219.12k aes-192 cbc     30897.64k    35908.66k    37676.55k    38116.09k    38425.23k aes-256 cbc     27594.10k    31650.74k    33180.37k    33427.34k    33498.80k camellia-128 cbc   26308.13k    29661.26k    31114.20k    31346.19k    31582.08k camellia-192 cbc   21422.53k    23395.33k    24418.24k    24554.27k    24599.57k camellia-256 cbc   21457.81k    23333.78k    24369.82k    24582.58k    24617.25k sha256          10078.10k    24314.98k    43970.03k    55573.89k    59677.84k sha512           4133.94k    16576.53k    25365.00k    35504.81k    40002.80k whirlpool        1216.98k     2492.34k     4065.11k     4781.12k     5059.59k aes-128 ige     31316.97k    38357.40k    41833.06k    43101.16k    43264.37k aes-192 ige     27502.07k    34078.09k    36575.95k    37367.50k    37251.58k aes-256 ige     24869.69k    30543.02k    32333.16k    32777.21k    33054.87k ghash           52904.92k    62310.47k    66025.17k    66775.11k    66985.81k sign   verify    sign/s verify/s rsa 512 bits 0.001042s 0.000104s    960.0   9587.7 rsa 1024 bits 0.005983s 0.000327s   167.2   3060.2 rsa 2048 bits 0.038947s 0.001188s    25.7    841.7 rsa 4096 bits 0.280000s 0.004561s     3.6    219.2 sign   verify    sign/s verify/s dsa 512 bits 0.001062s 0.001161s    942.0    861.4 dsa 1024 bits 0.003206s 0.003716s   311.9    269.1 dsa 2048 bits 0.011507s 0.013283s    86.9     75.3 sign   verify    sign/s verify/s 160 bit ecdsa (secp160r1)  0.0006s   0.0023s   1620.6    438.5 192 bit ecdsa (nistp192)  0.0008s   0.0033s   1259.9    304.1 224 bit ecdsa (nistp224)  0.0010s   0.0043s    991.3    232.9 256 bit ecdsa (nistp256)  0.0013s   0.0058s    790.4    173.8 384 bit ecdsa (nistp384)  0.0030s   0.0151s    338.2     66.2 521 bit ecdsa (nistp521)  0.0062s   0.0346s    161.1     28.9 163 bit ecdsa (nistk163)  0.0019s   0.0064s    536.1    157.0 233 bit ecdsa (nistk233)  0.0039s   0.0116s    257.6     85.9 283 bit ecdsa (nistk283)  0.0059s   0.0214s    169.2     46.8 409 bit ecdsa (nistk409)  0.0161s   0.0469s     62.0     21.3 571 bit ecdsa (nistk571)  0.0385s   0.1089s     25.9      9.2 163 bit ecdsa (nistb163)  0.0018s   0.0069s    544.3    145.1 233 bit ecdsa (nistb233)  0.0038s   0.0128s    259.9     78.3 283 bit ecdsa (nistb283)  0.0059s   0.0238s    169.3     42.0 409 bit ecdsa (nistb409)  0.0161s   0.0533s     62.1     18.8 571 bit ecdsa (nistb571)  0.0385s   0.1241s     25.9      8.1 op     op/s 160 bit ecdh (secp160r1)  0.0019s    515.5 192 bit ecdh (nistp192)  0.0027s    374.3 224 bit ecdh (nistp224)  0.0036s    278.7 256 bit ecdh (nistp256)  0.0049s    203.8 384 bit ecdh (nistp384)  0.0126s     79.2 521 bit ecdh (nistp521)  0.0288s     34.7 163 bit ecdh (nistk163)  0.0031s    319.4 233 bit ecdh (nistk233)  0.0057s    176.9 283 bit ecdh (nistk283)  0.0105s     94.9 409 bit ecdh (nistk409)  0.0231s     43.2 571 bit ecdh (nistk571)  0.0538s     18.6 163 bit ecdh (nistb163)  0.0033s    300.7 233 bit ecdh (nistb233)  0.0063s    158.9 283 bit ecdh (nistb283)  0.0118s     85.1 409 bit ecdh (nistb409)  0.0263s     38.1 571 bit ecdh (nistb571)  0.0615s     16.3

Build
wget http://math.nist.gov/scimark2/scimark2_1c.zip unzip -o scimark2_1c.zip -d scimark2_files cd scimark2_files/ g++ -o scimark2 -O *.c -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -mfpu=neon -mfloat-abi=hard -funsafe-math-optimizations -fomit-frame-pointer -ffast-math -funroll-loops -funsafe-loop-optimizations -fno-tree-vectorize ./scimark2 -large

Results
Using      2.00 seconds min time per kenel. Composite Score:          29.32 FFT            Mflops:    13.57    (N=1048576) SOR            Mflops:    48.51    (1000 x 1000) MonteCarlo:    Mflops:    23.30 Sparse matmult Mflops:    34.22    (N=100000, nz=1000000) LU             Mflops:    26.97    (M=1000, N=1000)
 * SciMark2 Numeric Benchmark, see http://math.nist.gov/scimark **
 * for details. (Results can be submitted to pozo@nist.gov)    **
 * for details. (Results can be submitted to pozo@nist.gov)    **

nbench
http://www.tux.org/~mayer/linux/bmark.html

build
linaro@linaro-alip:~/tmp$ wget http://www.tux.org/~mayer/linux/nbench-byte-2.2.3.tar.gz [...] linaro@linaro-alip:~/tmp$ tar -xzf nbench-byte-2.2.3.tar.gz linaro@linaro-alip:~/tmp$ cd nbench-byte-2.2.3 linaro@linaro-alip:~/tmp/nbench-byte-2.2.3$ vi Makefile linaro@linaro-alip:~/tmp/nbench-byte-2.2.3$ make [...] linaro@linaro-alip:~/tmp/nbench-byte-2.2.3$ ./nbench

results

 * CC=gcc-4.7
 * CFLAGS=-s -static -Wall -O3 -mfpu=neon -mcpu=cortex-a8 -mtune=cortex-a8 -fomit-frame-pointer -marm -funroll-loops

BYTEmark* Native Mode Benchmark ver. 2 (10/95) Index-split by Andrew D. Balsa (11/97) Linux/Unix* port by Uwe F. Mayer (12/96,11/97)

TEST               : Iterations/sec. : Old Index  : New Index :                 : Pentium 90* : AMD K6/233* NUMERIC SORT       :          583.28  :      14.96  :       4.91 STRING SORT        :          58.353  :      26.07  :       4.04 BITFIELD           :      2.6754e+08  :      45.89  :       9.59 FP EMULATION       :          108.48  :      52.05  :      12.01 FOURIER            :          1866.1  :       2.12  :       1.19 ASSIGNMENT         :          9.0228  :      34.33  :       8.91 IDEA               :          1226.3  :      18.76  :       5.57 HUFFMAN            :          744.22  :      20.64  :       6.59 NEURAL NET         :            1.96  :       3.15  :       1.32 LU DECOMPOSITION   :          87.325  :       4.52  :       3.27

=
=============ORIGINAL BYTEMARK RESULTS========================== INTEGER INDEX      : 27.658 FLOATING-POINT INDEX: 3.115 Baseline (MSDOS*)  : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0

=
=================LINUX DATA BELOW=============================== CPU                : L2 Cache           : OS                 : Linux 3.4.19-a10-aufs+ C compiler         : gcc-4.7 libc               : libc-2.15.so MEMORY INDEX        : 7.010 INTEGER INDEX      : 6.822 FLOATING-POINT INDEX: 1.728 Baseline (LINUX)   : AMD K6/233*, 512 KB L2-cache, gcc 2.7.2.3, libc-5.4.38
 * Trademarks are property of their respective holder.


 * CC=gcc-4.7
 * CFLAGS=-s -static -Wall -Ofast -mfpu=neon -mcpu=cortex-a8 -mtune=cortex-a8 -fomit-frame-pointer -marm -funroll-loops

BYTEmark* Native Mode Benchmark ver. 2 (10/95) Index-split by Andrew D. Balsa (11/97) Linux/Unix* port by Uwe F. Mayer (12/96,11/97)

TEST               : Iterations/sec. : Old Index  : New Index :                 : Pentium 90* : AMD K6/233* NUMERIC SORT       :          586.72  :      15.05  :       4.94 STRING SORT        :          58.217  :      26.01  :       4.03 BITFIELD           :      2.6871e+08  :      46.09  :       9.63 FP EMULATION       :           108.2  :      51.92  :      11.98 FOURIER            :          1895.2  :       2.16  :       1.21 ASSIGNMENT         :          9.0192  :      34.32  :       8.90 IDEA               :          1226.8  :      18.76  :       5.57 HUFFMAN            :          804.24  :      22.30  :       7.12 NEURAL NET         :          2.0692  :       3.32  :       1.40 LU DECOMPOSITION   :          87.325  :       4.52  :       3.27

=
=============ORIGINAL BYTEMARK RESULTS========================== INTEGER INDEX      : 27.988 FLOATING-POINT INDEX: 3.188 Baseline (MSDOS*)  : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0

=
=================LINUX DATA BELOW=============================== CPU                : L2 Cache           : OS                 : Linux 3.4.19-a10-aufs+ C compiler         : gcc-4.7 libc               : libc-2.15.so MEMORY INDEX        : 7.014 INTEGER INDEX      : 6.962 FLOATING-POINT INDEX: 1.768 Baseline (LINUX)   : AMD K6/233*, 512 KB L2-cache, gcc 2.7.2.3, libc-5.4.38
 * Trademarks are property of their respective holder.

setup
root@debian:~$ wget 'http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.1.tar.bz2' root@debian:~$ md5sum linux-3.1.tar.bz2 8d43453f8159b2332ad410b19d86a931 linux-3.1.tar.bz2 root@debian:~$ tar -xjf linux-3.1.tar.bz2 root@debian:~$ cd linux-3.1 root@debian:~/linux-3.1$ gcc --version gcc (Debian 4.7.2-5) 4.7.2 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

tests
root@debian:~/linux-3.1$ time make -s vexpress_defconfig bzImage [...] real    45m26.121s user   43m6.080s sys    2m8.370s

root@debian:~$ time md5sum linux-3.1.tar.bz2 8d43453f8159b2332ad410b19d86a931 linux-3.1.tar.bz2 real   0m0.797s user   0m0.610s sys    0m0.180s

root@debian:~$ time bzip2 -t linux-3.1.tar.bz2 real   1m47.884s user   1m47.250s sys    0m0.290s

GPU
Results for X11 libraries and framebuffer libraries may differ.

ioquake3
See ioquake3

es2_gears
X11 libraries:
 * 131FPS


 * r3p0: 195-200 FPS
 * r3p0: 58-75 FPS - fullscreen (1024x768)

Framebuffer libraries: ?

glx_gears
X11 libraries + mesa:
 * 117 FPS
 * ~25 FPS - fullscreen (1024x768)

glmark2-es2
X11 libraries:

=
==========================================   glmark2 2012.08

=
==========================================   OpenGL Information GL_VENDOR:    ARM GL_RENDERER:  Mali-400 MP    GL_VERSION:    OpenGL ES 2.0

=
========================================== [build] use-vbo=false: FPS: 48 FrameTime: 20.833 ms [build] use-vbo=true: FPS: 55 FrameTime: 18.182 ms [texture] texture-filter=nearest: FPS: 56 FrameTime: 17.857 ms [texture] texture-filter=linear: FPS: 56 FrameTime: 17.857 ms [texture] texture-filter=mipmap: FPS: 57 FrameTime: 17.544 ms [shading] shading=gouraud: FPS: 50 FrameTime: 20.000 ms [shading] shading=blinn-phong-inf: FPS: 50 FrameTime: 20.000 ms [shading] shading=phong: FPS: 47 FrameTime: 21.277 ms [bump] bump-render=high-poly: FPS: 37 FrameTime: 27.027 ms [bump] bump-render=normals: FPS: 58 FrameTime: 17.241 ms [bump] bump-render=height: FPS: 57 FrameTime: 17.544 ms [effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 30 FrameTime: 33.333 ms [effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 19 FrameTime: 52.632 ms [pulsar] light=false:quads=5:texture=false: FPS: 59 FrameTime: 16.949 ms [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 16 FrameTime: 62.500 ms [desktop] effect=shadow:windows=4: FPS: 43 FrameTime: 23.256 ms Error: Requested MapBuffer VBO update method but GL_OES_mapbuffer is not supported! [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: Unsupported [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 18 FrameTime: 55.556 ms Error: Requested MapBuffer VBO update method but GL_OES_mapbuffer is not supported! [buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: Unsupported [ideas] speed=duration: FPS: 48 FrameTime: 20.833 ms [jellyfish] : FPS: 43 FrameTime: 23.256 ms Error: SceneTerrain requires Vertex Texture Fetch support, but GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS is 0 [terrain] : Unsupported [conditionals] fragment-steps=0:vertex-steps=0: FPS: 59 FrameTime: 16.949 ms [conditionals] fragment-steps=5:vertex-steps=0: FPS: 54 FrameTime: 18.519 ms [conditionals] fragment-steps=0:vertex-steps=5: FPS: 58 FrameTime: 17.241 ms [function] fragment-complexity=low:fragment-steps=5: FPS: 57 FrameTime: 17.544 ms [function] fragment-complexity=medium:fragment-steps=5: FPS: 43 FrameTime: 23.256 ms [loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 56 FrameTime: 17.857 ms [loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 57 FrameTime: 17.544 ms [loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 56 FrameTime: 17.857 ms

=
==========================================                                 glmark2 Score: 47

=
==========================================

Video decoding
See CedarXVideoRenderingChart

SATA
root@debian:~% sudo dd if=/dev/sda of=/dev/null bs=32M count=100 iflag=direct 100+0 records in 100+0 records out 3355443200 bytes (3.4 GB) copied, 15.3565 s, 219 MB/s This may be limited by the comparatively old, cheap SSD being used.

A13 Benchmarks
A13 needs own CPU benchmarks because DDR3 bus is crippled.

A10S Benchmarks
Should be the same as A13.

OpenSSL
OpenSSL 1.0.1c 10 May 2012 built on: Sun May 26 10:09:49 UTC 2013 options:bn(64,32) rc4(ptr,char) des(idx,cisc,16,long) aes(partial) blowfish(ptr) compiler: cc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wa,--noexecstack -Wall -DOPENSSL_NO_TLS1_2_CLIENT -DOPENSSL_MAX_TLS1_2_CIPHER_LENGTH=50 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -DBSAES_ASM -DGHASH_ASM The 'numbers' are in 1000s of bytes per second processed. type            16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes md2                 0.00         0.00         0.00         0.00         0.00 mdc2                0.00         0.00         0.00         0.00         0.00 md4              2536.46k    20273.86k    52285.78k    85916.01k   106042.42k md5              4658.85k    15543.72k    40538.41k    67159.72k    83646.07k hmac(md5)        4977.63k    16353.73k    41931.60k    69000.08k    84975.62k sha1             4701.95k    13683.01k    28788.78k    40693.55k    46074.54k rmd160           3908.94k    10874.84k    22251.01k    30578.56k    34138.79k rc4             48278.43k    54375.70k    56301.51k    57160.09k    53712.21k des cbc         11529.27k    12242.68k    12399.79k    12450.82k    12465.49k des ede3         4163.83k     4113.26k     4434.71k     4462.30k     3923.97k idea cbc            0.00         0.00         0.00         0.00         0.00 seed cbc        15233.77k    16166.74k    16474.46k    16540.33k    16561.49k rc2 cbc          8235.71k     8122.28k     9262.39k     9267.03k     9287.92k rc5-32/12 cbc       0.00         0.00         0.00         0.00         0.00 blowfish cbc    18124.43k    19772.31k    20277.09k    20431.03k    20400.81k cast cbc        17256.97k    17877.53k    20460.48k    20543.36k    20561.92k aes-128 cbc     20783.69k    22336.55k    23158.58k    23271.08k    23328.09k aes-192 cbc     16915.78k    17387.43k    19564.65k    19736.49k    16523.73k aes-256 cbc     16038.03k    17123.52k    15135.01k    16914.49k    17337.45k camellia-128 cbc   17164.96k    18374.83k    18757.21k    18865.92k    18882.56k camellia-192 cbc   13680.37k    14486.59k    14760.33k    14803.97k    14824.79k camellia-256 cbc   13662.32k    14485.67k    14743.13k    14816.15k    14827.52k sha256           5340.42k    12254.95k    21022.63k    25548.63k    27282.68k sha512           2550.36k    10262.62k    15025.92k    20669.44k    23343.09k whirlpool        1401.77k     2917.73k     4762.11k     5679.58k     5982.89k aes-128 ige     18517.31k    18765.50k    21879.30k    22013.26k    22099.22k aes-192 ige     17356.40k    18653.29k    19075.34k    19152.21k    19177.47k aes-256 ige     15542.49k    16533.78k    16846.17k    16933.33k    17005.93k ghash           24851.30k    27019.22k    28001.93k    28195.84k    28265.13k sign   verify    sign/s verify/s rsa 512 bits 0.001276s 0.000122s    783.7   8212.9 rsa 1024 bits 0.006676s 0.000382s   149.8   2617.3 rsa 2048 bits 0.045991s 0.001380s    21.7    724.6 rsa 4096 bits 0.334000s 0.005418s     3.0    184.6 sign   verify    sign/s verify/s dsa 512 bits 0.001230s 0.001300s    813.1    769.2 dsa 1024 bits 0.003737s 0.004349s   267.6    229.9 dsa 2048 bits 0.013634s 0.015876s    73.3     63.0 sign   verify    sign/s verify/s 160 bit ecdsa (secp160r1)  0.0008s   0.0031s   1319.3    322.7 192 bit ecdsa (nistp192)  0.0010s   0.0042s   1010.7    236.5 224 bit ecdsa (nistp224)  0.0013s   0.0056s    797.9    179.9 256 bit ecdsa (nistp256)  0.0016s   0.0074s    637.6    135.0 384 bit ecdsa (nistp384)  0.0035s   0.0178s    287.7     56.1 521 bit ecdsa (nistp521)  0.0073s   0.0393s    136.1     25.4 163 bit ecdsa (nistk163)  0.0025s   0.0094s    402.0    106.5 233 bit ecdsa (nistk233)  0.0055s   0.0163s    183.2     61.3 283 bit ecdsa (nistk283)  0.0085s   0.0316s    117.3     31.7 409 bit ecdsa (nistk409)  0.0209s   0.0644s     47.7     15.5 571 bit ecdsa (nistk571)  0.0539s   0.1527s     18.6      6.5 163 bit ecdsa (nistb163)  0.0026s   0.0096s    378.9    103.9 233 bit ecdsa (nistb233)  0.0056s   0.0192s    178.7     52.2 283 bit ecdsa (nistb283)  0.0088s   0.0336s    113.9     29.7 409 bit ecdsa (nistb409)  0.0223s   0.0772s     44.7     13.0 571 bit ecdsa (nistb571)  0.0538s   0.1719s     18.6      5.8 op     op/s 160 bit ecdh (secp160r1)  0.0026s    385.4 192 bit ecdh (nistp192)  0.0037s    270.4 224 bit ecdh (nistp224)  0.0048s    208.8 256 bit ecdh (nistp256)  0.0062s    162.2 384 bit ecdh (nistp384)  0.0152s     65.9 521 bit ecdh (nistp521)  0.0334s     30.0 163 bit ecdh (nistk163)  0.0044s    226.9 233 bit ecdh (nistk233)  0.0078s    128.5 283 bit ecdh (nistk283)  0.0147s     68.1 409 bit ecdh (nistk409)  0.0321s     31.2 571 bit ecdh (nistk571)  0.0755s     13.2 163 bit ecdh (nistb163)  0.0048s    209.1 233 bit ecdh (nistb233)  0.0088s    113.7 283 bit ecdh (nistb283)  0.0161s     62.2 409 bit ecdh (nistb409)  0.0364s     27.5 571 bit ecdh (nistb571)  0.0858s     11.7

Linpack
Compile: linaro@localhost:~/bench$ cc -Ofast -o linpack linpack.c -lm -mcpu=cortex-a7 -mfpu=vfpv4 -mfloat-abi=hard -funsafe-math-optimizations -fomit-frame-pointer -ffast-math -funroll-loops -funsafe-loop-optimizations Results Enter array size (q to quit) [200]: Memory required: 315K. LINPACK benchmark, Double precision. Machine precision: 15 digits. Array size 200 X 200. Average rolled and unrolled performance: Reps Time(s) DGEFA  DGESL  OVERHEAD    KFLOPS

32  0.73  87.67%   4.11%   8.22%  65592.040      64   1.70  89.41%   2.94%   7.65%  55983.015     128   1.19  90.76%   3.36%   5.88%  156952.381     256   2.36  88.56%   3.39%   8.05%  162015.361     512   5.03  89.86%   2.78%   7.36%  150889.843    1024  10.19  89.99%   2.75%   7.26%  148814.109