ps3ベンチマーク nbench on ubuntu::ps3::cell

補助プロセッサなしでのベンチマーク
まずまず。ppu-gccでPen3と同等程度。

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

cat /proc/cpuinfo
processor       : 0
cpu             : Cell Broadband Engine, altivec supported
clock           : 3192.000000MHz
revision        : 16.0 (pvr 0070 1000)

processor       : 1
cpu             : Cell Broadband Engine, altivec supported
clock           : 3192.000000MHz
revision        : 16.0 (pvr 0070 1000)

timebase        : 79800000
platform        : PS3
  • gcc -s -static -Wall -O3
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        :          591.52  :      15.17  :       4.98
STRING SORT         :          16.237  :       7.25  :       1.12
BITFIELD            :       7.211e+07  :      12.37  :       2.58
FP EMULATION        :          70.555  :      33.86  :       7.81
FOURIER             :          5806.2  :       6.60  :       3.71
ASSIGNMENT          :          7.8081  :      29.71  :       7.71
IDEA                :          2052.6  :      31.39  :       9.32
HUFFMAN             :          765.65  :      21.23  :       6.78
NEURAL NET          :          12.734  :      20.46  :       8.60
LU DECOMPOSITION    :          363.16  :      18.81  :      13.59
==========================ORIGINAL BYTEMARK RESULTS==========================
INTEGER INDEX       : 19.057
FLOATING-POINT INDEX: 13.646
Baseline (MSDOS*)   : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0
==============================LINUX DATA BELOW===============================
CPU                 : Dual
L2 Cache            :
OS                  : Linux 2.6.25-2-powerpc64-smp
C compiler          : gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu12)
libc                : libc-2.8.90.so
MEMORY INDEX        : 2.817
INTEGER INDEX       : 7.042
FLOATING-POINT INDEX: 7.569
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.

sudo apt-get install cell-programming-primer cell-sdk cell-gcc-testsuite

  • ppu-gcc -s -static -Wall -O3
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        :           529.2  :      13.57  :       4.46
STRING SORT         :          27.004  :      12.07  :       1.87
BITFIELD            :      1.1353e+08  :      19.47  :       4.07
FP EMULATION        :          77.578  :      37.23  :       8.59
FOURIER             :          5876.3  :       6.68  :       3.75
ASSIGNMENT          :          8.4021  :      31.97  :       8.29
IDEA                :          1413.8  :      21.62  :       6.42
HUFFMAN             :           824.5  :      22.86  :       7.30
NEURAL NET          :          13.228  :      21.25  :       8.94
LU DECOMPOSITION    :          393.88  :      20.41  :      14.73
==========================ORIGINAL BYTEMARK RESULTS==========================
INTEGER INDEX       : 21.123
FLOATING-POINT INDEX: 14.256
Baseline (MSDOS*)   : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0
==============================LINUX DATA BELOW===============================
CPU                 : Dual
L2 Cache            :
OS                  : Linux 2.6.25-2-powerpc64-smp
C compiler          : ppu-gcc
libc                : libc-2.8.90.so
MEMORY INDEX        : 3.979
INTEGER INDEX       : 6.509
FLOATING-POINT INDEX: 7.907
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.