http://www.talkchess.com/forum/viewtopic.php?t=30952
Since I retained the 10.5.8 system on the machine, I was able to do some comparison testing. I used a clean copy of Crafty-23.1 on each system, and compiled with "make darwin". All I added was -DCPUS=8.
The results are summarized below, as is basic information on my hardware. I am about to do a similar test using Stockfish-1.6.2, to see if this issue is specific to Crafty.
Code: Select all
Leopard System Results
file ./crafty: Mach-O 64-bit executable x86_64
gcc-4.2 -v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc_42/gcc_42-5577~1/src/configure --disable-checking
--enable-werror --prefix=/usr --mandir=/usr/share/man --enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib
--build=i686-apple-darwin9 --with-gxx-include-dir=/usr/include/c++/4.0.0
--host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5577)
./crafty
unable to open book file [./book.bin].
book is disabled
unable to open book file [./books.bin].
Crafty v23.1 (1 cpus)
White(1): bench
Running benchmark. . .
......
Total nodes: 123805390
Raw nodes per second: 2840224
Total elapsed time: 43.59
White(1): quit
./crafty
unable to open book file [./book.bin].
book is disabled
unable to open book file [./books.bin].
Crafty v23.1 (1 cpus)
White(1): mt=8
max threads set to 8.
White(1): bench
Running benchmark. . .
......
Total nodes: 164571163
Raw nodes per second: 13293308
Total elapsed time: 12.38
White(1): quit
---------------------------------------------------------------------------------------
Snow Leopard System Results
file ./crafty: Mach-O 64-bit executable x86_64
gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5646.1~2/src/configure --disable-checking
--enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib
--build=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
--program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5646) (dot 1)
./crafty
unable to open book file [./book.bin].
book is disabled
unable to open book file [./books.bin].
Crafty v23.1 (1 cpus)
White(1): bench
Running benchmark. . .
......
Total nodes: 123805390
Raw nodes per second: 2859246
Total elapsed time: 43.30
White(1): quit
./crafty
unable to open book file [./book.bin].
book is disabled
unable to open book file [./books.bin].
Crafty v23.1 (1 cpus)
White(1): mt=8
max threads set to 8.
White(1): bench
Running benchmark. . .
......
Total nodes: 186142575
Raw nodes per second: 9102326
Total elapsed time: 20.45
White(1): quit
My hardware:
Model Name: Mac Pro
Model Identifier: MacPro4,1
Processor Name: Quad-Core Intel Xeon
Processor Speed: 2.26 GHz
Number Of Processors: 2
Total Number Of Cores: 8
L2 Cache (per processor): 512 KB
L3 Cache: 8 MB
Memory: 6 GB
Processor Interconnect Speed: 5.86 GT/s