Bill Allombert on Thu, 10 Jul 2003 16:34:07 +0200

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Performance question

On Wed, Jul 09, 2003 at 02:31:56PM -0700, wrote:
> Hi, all,
> There may be something obvious that I'm overlooking, but I am seeing a 
> performance difference between two machines that seems 
> counter-intuitive.
> I have gp on two Mac OS X systems (10.2.6 and, um, another one).  
> 10.2.6 is on a 450Mhz G4, while the other one is on a 300Mhz G3.  When 
> I ran 'make bench' on the G3, it seemed to do much better than on the 
> G4.

> parisize = 4000000, primelimit = 500000
> ============================================================
> FWIW, gcc on the G4 is 3.1, and on the G3 is 3.3.

Care to try with the same compiler on both machines ?

Most probably the difference come from the compiler. The other
possibility is the assembly kernel that can be faster on one CPU than on
the other but I doubt it.