Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Report from the field. (slightly OT)

Author: Will Singleton

Date: 17:51:27 02/09/02

Go up one level in this thread


On February 09, 2002 at 05:02:58, Hristo wrote:

>Here is a report from the field.
>Exactly one week ago I bought a Mac. My very first Mac.
>A dual 1GHz G4 + 1GRam and all the other normal stuff.
>I’m absolutely impressed!!! After the initial shock of everything being new and
>different I must admit that this is the easiest “thing” to use, administer,
>configure and it is by far the prettiest interface and hardware out there. I
>still have the AMD and Intel boxez (indeed) but they have not seen much use
>lately. The only drawback, which to me is significant, is that linux+XWindows
>doesn’t run on this Mac (yet). The video card ... again, other than that
>Yellowdog linux boots just fine.
>
>The interesting thing is that the G4-1GHz outperforms the PIII-1GHz, P4-1.8GHz
>and Xeon 1.7GHz. My test was an FFT routine (class) I use at work. The code is
>not optimized in any shape or form for the G4. The worst case is when doing
>64K-samples FFT (using floats).
>
>G4 - 18 fft/sec
>Xeon 1.7 - 6.04 fft/sec
>P4 1.8 - 5.93 fft/sec
>pIII 1 - 5 fft/sec
>
>Yes ... the cache got the best out of the Intel Chipsen. ;-)
>Until this point the G4 was still better than the rest of them. All of the CPUs
>scaled “n log(n)” in the range of 1K-...-32K samples.
>
>If interested I can send you the source code to test yourself.
>
>It, almost, seems that one can write a chess program using “float” instead of
>“int” and still get the same performance.
>
>BTW
>Does anyone have test(s) you would like to try on a G4?! If reasonable I might
>do it.
>
>Regards.
>hristo

Your email address seems invalid.  Here's my message:

Interesting fp test.  I'd be interested to see how my program runs on your
machine.  Would you mind running it?  (If you're using os x, mine won't work.
You would need to run it in classic mode.)

As far as using floats to get a speed-up, I'm not sure how to go about that.  If
I just declared certain often-used vars as floats, it might show something.  But
most of my ints do a lot of bit-wise operations, so floats wouldn't work there.

Any suggestions?  Let me know if you want to run my prog, and I'll email the
executable.

Will



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.