Trace: » nBench

nBench

nBench is a port of the BYTEmark benchmark to Linux/Unix platforms. The program measures the performance against a reference system (AMD K6/233, running Linux).

Precompiled Test Programs

Tested Emulators

  • SheepShaver 2.2 CVS (2005/02/09)
  • PearPC 0.3.1

Results Summary

Operating System CPU Speed Mode MEM INT FPU R.MEM R.INT R.FPU
Linux 2.6.8.1 Xeon 3200 64-bit 15.061 13.429 12.327 6.95 6.43 3.48
Linux 2.6.8.1 Xeon 3200 32-bit 13.306 7.709 16.624 6.14 3.69 4.69
MacOS X 10.2.8 G4 400 32-bit 2.994 2.676 3.695 1.38 1.28 1.04
MacOS 9.0.4 [SheepShaver] G4 400 32-bit 2.167 2.090 3.540 1.00 1.00 1.00
MacOS 9.0.4 [SheepShaver] Xeon 3200 64-bit 3.233 2.040 3.305 1.49 1.58 0.93
MacOS 9.0.4 [SheepShaver] Xeon 3200 32-bit 2.858 1.929 1.305 1.32 0.92 0.37
MacOS X 10.2 [PearPC] Xeon 3200 32-bit 1.113 1.258 2.480 0.51 1.19 0.70
  • The current JIT implementation in SheepShaver is very basic and, for example, does not perform any register allocation. Rather, generic code templates are generated for each PowerPC instruction. Still, the CPU emulator on the x86-64 system performs nicely as exceeds the performance obtained on a Powerbook G4 @ 400 MHz by up to 50%.
  • Considering MacOS 9 is running natively under SheepShaver with no CPU emulation, and the testruns are long enough to leverage CPU used for other tasks like interrupt handling and video refreshing, we could explain higher results within MacOS X (by up to 30%) from better compiler optimizations. Reminder: CodeWarrior Pro 5.3 is very old.

Raw Results

TEST                : Iterations/sec.  : Old Index   : New Index
                    :                  : Pentium 90* : AMD K6/233*
--------------------:------------------:-------------:------------
NUMERIC SORT        :            1055  :      27.06  :       8.89
STRING SORT         :          135.72  :      60.64  :       9.39
BITFIELD            :      3.9665e+08  :      68.04  :      14.21
FP EMULATION        :          143.72  :      68.96  :      15.91
FOURIER             :           10932  :      12.43  :       6.98
ASSIGNMENT          :          25.948  :      98.74  :      25.61
IDEA                :          3088.9  :      47.24  :      14.03
HUFFMAN             :          1851.9  :      51.35  :      16.40
NEURAL NET          :           18.29  :      29.38  :      12.36
LU DECOMPOSITION    :           580.2  :      30.06  :      21.70
==============================LINUX DATA BELOW===============================
MEMORY INDEX        : 15.061
INTEGER INDEX       : 13.429
FLOATING-POINT INDEX: 12.327
TEST                : Iterations/sec.  : Old Index   : New Index
                    :                  : Pentium 90* : AMD K6/233*
--------------------:------------------:-------------:------------
NUMERIC SORT        :          796.32  :      20.42  :       6.71
STRING SORT         :          109.76  :      49.04  :       7.59
BITFIELD            :      3.5283e+08  :      60.52  :      12.64
FP EMULATION        :           74.82  :      35.90  :       8.28
FOURIER             :           16939  :      19.26  :      10.82
ASSIGNMENT          :          24.871  :      94.64  :      24.55
IDEA                :          1355.7  :      20.73  :       6.16
HUFFMAN             :          1166.2  :      32.34  :      10.33
NEURAL NET          :          18.427  :      29.60  :      12.45
LU DECOMPOSITION    :          911.52  :      47.22  :      34.10
==============================LINUX DATA BELOW===============================
MEMORY INDEX        : 13.306
INTEGER INDEX       : 7.709
FLOATING-POINT INDEX: 16.624
TEST                : Iterations/sec.  : Old Index   : New Index
                    :                  : Pentium 90* : AMD K6/233*
--------------------:------------------:-------------:------------
NUMERIC SORT        :          231.12  :       5.93  :       1.95
STRING SORT         :          57.019  :      25.48  :       3.94
BITFIELD            :      6.0211e+07  :      10.33  :       2.16
FP EMULATION        :          20.689  :       9.93  :       2.29
FOURIER             :          4163.5  :       4.74  :       2.66
ASSIGNMENT          :          3.1977  :      12.17  :       3.16
IDEA                :          802.14  :      12.27  :       3.64
HUFFMAN             :          356.47  :       9.88  :       3.16
NEURAL NET          :           4.793  :       7.70  :       3.24
LU DECOMPOSITION    :           156.6  :       8.11  :       5.86
==============================LINUX DATA BELOW===============================
MEMORY INDEX        : 2.994
INTEGER INDEX       : 2.676
FLOATING-POINT INDEX: 3.695
TEST                : Iterations/sec.  : Old Index   : New Index
                    :                  : Pentium 90* : AMD K6/233*
--------------------:------------------:-------------:------------
NUMERIC SORT        :          179.02  :       4.59  :       1.51
STRING SORT         :          20.439  :       9.13  :       1.41
BITFIELD            :      7.1318e+07  :      12.23  :       2.56
FP EMULATION        :          16.954  :       8.14  :       1.88
FOURIER             :          4276.4  :       4.86  :       2.73
ASSIGNMENT          :          2.8544  :      10.86  :       2.82
IDEA                :          576.64  :       8.82  :       2.62
HUFFMAN             :          290.58  :       8.06  :       2.57
NEURAL NET          :          4.8263  :       7.75  :       3.26
LU DECOMPOSITION    :           133.1  :       6.90  :       4.98
==============================LINUX DATA BELOW===============================
MEMORY INDEX        : 2.167
INTEGER INDEX       : 2.090
FLOATING-POINT INDEX: 3.540
TEST                : Iterations/sec.  : Old Index   : New Index
                    :                  : Pentium 90* : AMD K6/233*
--------------------:------------------:-------------:------------
NUMERIC SORT        :          214.99  :       5.51  :       1.81
STRING SORT         :          34.705  :      15.51  :       2.40
BITFIELD            :      1.0353e+08  :      17.76  :       3.71
FP EMULATION        :          14.634  :       7.02  :       1.62
FOURIER             :          3563.4  :       4.05  :       2.28
ASSIGNMENT          :          3.8463  :      14.64  :       3.80
IDEA                :          522.01  :       7.98  :       2.37
HUFFMAN             :          281.01  :       7.79  :       2.49
NEURAL NET          :          3.9552  :       6.35  :       2.67
LU DECOMPOSITION    :          158.63  :       8.22  :       5.93
==============================LINUX DATA BELOW===============================
MEMORY INDEX        : 3.233
INTEGER INDEX       : 2.040
FLOATING-POINT INDEX: 3.305
TEST                : Iterations/sec.  : Old Index   : New Index
                    :                  : Pentium 90* : AMD K6/233*
--------------------:------------------:-------------:------------
NUMERIC SORT        :          200.43  :       5.14  :       1.69
STRING SORT         :          32.695  :      14.61  :       2.26
BITFIELD            :      8.4017e+07  :      14.41  :       3.01
FP EMULATION        :          14.432  :       6.93  :       1.60
FOURIER             :          1760.3  :       2.00  :       1.12
ASSIGNMENT          :          3.4764  :      13.23  :       3.43
IDEA                :          507.15  :       7.76  :       2.30
HUFFMAN             :          251.45  :       6.97  :       2.23
NEURAL NET          :          1.3029  :       2.09  :       0.88
LU DECOMPOSITION    :          60.039  :       3.11  :       2.25
==============================LINUX DATA BELOW===============================
MEMORY INDEX        : 2.858
INTEGER INDEX       : 1.929
FLOATING-POINT INDEX: 1.305
TEST                : Iterations/sec.  : Old Index   : New Index
                    :                  : Pentium 90* : AMD K6/233*
--------------------:------------------:-------------:------------
NUMERIC SORT        :          106.49  :       2.73  :       0.90
STRING SORT         :          8.4822  :       3.79  :       0.59
BITFIELD            :       3.478e+07  :       5.97  :       1.25
FP EMULATION        :          8.5679  :       4.11  :       0.95
FOURIER             :          1213.9  :       1.38  :       0.78
ASSIGNMENT          :          1.9096  :       7.27  :       1.88
IDEA                :           566.7  :       8.67  :       2.57
HUFFMAN             :          129.12  :       3.58  :       1.14
NEURAL NET          :          13.956  :      22.42  :       9.43
LU DECOMPOSITION    :          55.759  :       2.89  :       2.09
==============================LINUX DATA BELOW===============================
MEMORY INDEX        : 1.113
INTEGER INDEX       : 1.258
FLOATING-POINT INDEX: 2.480
 
Recent changes RSS feed Creative Commons License Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki