Joshua Root wrote:
Emil Lundberg wrote:
Is there documentation backing up the claim that 64-bit ppc code is slower on 64-bit ppc machines than 32-bit ppc code?
I've seen benchmark numbers that show this. I'll see if I can dig them up.

OK, I found some of the comparisons I was thinking of: a Linux-based one
with several benchmarks[1], and two Darwin-based ones using Geekbench,
on Tiger[2] and Leopard[3].

[1] <http://lixom.net/~olof/64bit-perf.pdf>
[2] <http://www.geekpatrol.ca/2006/09/32-bit-vs-64-bit-performance/>
[3]
<http://www.primatelabs.ca/blog/2007/10/leopard-performance-october-2007/>

I'll have access to a G5 in a few days' time, so if no one beats me to
it, I'll run some other comparisons.

Well, no one beat me to it. ;-)

I've added a use_64_bit variant to the nbench-byte and ubench ports, and run them with and without the variant on a Power Mac G5 and a Mac Pro. Results are attached.

- Josh
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        :          1016.6  :      26.07  :       8.56
STRING SORT         :          336.83  :     150.50  :      23.30
BITFIELD            :       5.578e+08  :      95.68  :      19.99
FP EMULATION        :          131.17  :      62.94  :      14.52
FOURIER             :           34338  :      39.05  :      21.93
ASSIGNMENT          :          39.525  :     150.40  :      39.01
IDEA                :            6300  :      96.36  :      28.61
HUFFMAN             :          2314.7  :      64.19  :      20.50
NEURAL NET          :          47.232  :      75.87  :      31.92
LU DECOMPOSITION    :          1696.5  :      87.89  :      63.46
==========================ORIGINAL BYTEMARK RESULTS==========================
INTEGER INDEX       : 80.539
FLOATING-POINT INDEX: 63.856
Baseline (MSDOS*)   : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0
==============================LINUX DATA BELOW===============================
CPU                 : 
L2 Cache            : 
OS                  : Darwin 9.3.0
C compiler          : /usr/bin/gcc-4.0
libc                : 
MEMORY INDEX        : 26.286
INTEGER INDEX       : 16.433
FLOATING-POINT INDEX: 35.417
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.
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        :          712.54  :      18.27  :       6.00
STRING SORT         :          313.06  :     139.88  :      21.65
BITFIELD            :      1.4698e+08  :      25.21  :       5.27
FP EMULATION        :          77.002  :      36.95  :       8.53
FOURIER             :           21208  :      24.12  :      13.55
ASSIGNMENT          :          14.218  :      54.10  :      14.03
IDEA                :          3299.1  :      50.46  :      14.98
HUFFMAN             :          1082.4  :      30.01  :       9.58
NEURAL NET          :          19.188  :      30.82  :      12.97
LU DECOMPOSITION    :          724.83  :      37.55  :      27.11
==========================ORIGINAL BYTEMARK RESULTS==========================
INTEGER INDEX       : 41.011
FLOATING-POINT INDEX: 30.335
Baseline (MSDOS*)   : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0
==============================LINUX DATA BELOW===============================
CPU                 : 
L2 Cache            : 
OS                  : Darwin 8.11.0
C compiler          : /usr/bin/gcc-4.0
libc                : 
MEMORY INDEX        : 11.696
INTEGER INDEX       : 9.258
FLOATING-POINT INDEX: 16.825
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.
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        :          659.58  :      16.92  :       5.56
STRING SORT         :          314.64  :     140.59  :      21.76
BITFIELD            :      1.3774e+08  :      23.63  :       4.94
FP EMULATION        :          74.505  :      35.75  :       8.25
FOURIER             :           21333  :      24.26  :      13.63
ASSIGNMENT          :          13.964  :      53.14  :      13.78
IDEA                :          2160.9  :      33.05  :       9.81
HUFFMAN             :          991.69  :      27.50  :       8.78
NEURAL NET          :            19.6  :      31.49  :      13.24
LU DECOMPOSITION    :          720.07  :      37.30  :      26.94
==========================ORIGINAL BYTEMARK RESULTS==========================
INTEGER INDEX       : 37.115
FLOATING-POINT INDEX: 30.544
Baseline (MSDOS*)   : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0
==============================LINUX DATA BELOW===============================
CPU                 : 
L2 Cache            : 
OS                  : Darwin 8.11.0
C compiler          : /usr/bin/gcc-4.0
libc                : 
MEMORY INDEX        : 11.396
INTEGER INDEX       : 7.927
FLOATING-POINT INDEX: 16.941
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.
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        :          1194.3  :      30.63  :      10.06
STRING SORT         :          340.05  :     151.95  :      23.52
BITFIELD            :      4.8938e+08  :      83.95  :      17.53
FP EMULATION        :          147.34  :      70.70  :      16.31
FOURIER             :           39643  :      45.09  :      25.32
ASSIGNMENT          :          35.573  :     135.36  :      35.11
IDEA                :          6496.6  :      99.36  :      29.50
HUFFMAN             :            2462  :      68.27  :      21.80
NEURAL NET          :           57.25  :      91.97  :      38.69
LU DECOMPOSITION    :          1802.5  :      93.38  :      67.43
==========================ORIGINAL BYTEMARK RESULTS==========================
INTEGER INDEX       : 82.202
FLOATING-POINT INDEX: 72.882
Baseline (MSDOS*)   : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0
==============================LINUX DATA BELOW===============================
CPU                 : 
L2 Cache            : 
OS                  : Darwin 9.3.0
C compiler          : /usr/bin/gcc-4.0
libc                : 
MEMORY INDEX        : 24.373
INTEGER INDEX       : 18.025
FLOATING-POINT INDEX: 40.423
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.
Unix Benchmark Utility v.0.3
Copyright (C) July, 1999 PhysTech, Inc.
Author: Sergei Viznyuk <[EMAIL PROTECTED]>
http://www.phystech.com/download/ubench.html
Darwin 9.3.0 Darwin Kernel Version 9.3.0: Fri May 23 00:49:16 PDT 2008; 
root:xnu-1228.5.18~1/RELEASE_I386 i386
Ubench CPU:  1275777
Ubench MEM:   574584
--------------------
Ubench AVG:   925180
Unix Benchmark Utility v.0.3
Copyright (C) July, 1999 PhysTech, Inc.
Author: Sergei Viznyuk <[EMAIL PROTECTED]>
http://www.phystech.com/download/ubench.html
Darwin 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; 
root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh
Ubench CPU:   200397
Ubench MEM:   396729
--------------------
Ubench AVG:   298563
Unix Benchmark Utility v.0.3
Copyright (C) July, 1999 PhysTech, Inc.
Author: Sergei Viznyuk <[EMAIL PROTECTED]>
http://www.phystech.com/download/ubench.html
Darwin 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; 
root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh
Ubench CPU:   200783
Ubench MEM:   244881
--------------------
Ubench AVG:   222832
Unix Benchmark Utility v.0.3
Copyright (C) July, 1999 PhysTech, Inc.
Author: Sergei Viznyuk <[EMAIL PROTECTED]>
http://www.phystech.com/download/ubench.html
Darwin 9.3.0 Darwin Kernel Version 9.3.0: Fri May 23 00:49:16 PDT 2008; 
root:xnu-1228.5.18~1/RELEASE_I386 i386
Ubench CPU:  1336511
Ubench MEM:   560924
--------------------
Ubench AVG:   948717
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to