The big Mac story making the rounds today is NASA’s evaluation of the G5 for use with their computational fluid dynamics software. They pit a dual 2GHz G5 (using one CPU only, though) against a G4 and a P4 2.66GHz on a round of floating-point scalar benchmarks. There are some graphs and such that are worth checking out, but here are the conclusions:
The primary purpose of this test was to determine how G5 scalar floating point performance compares to G4 performance in CFD applications. As a secondary part of this test, G4 and G5 benchmark results were compared to similar results obtained on Pentium 4 systems. Overall, the scalar floating point performance of G5 systems is much improved over G4 systems due to better per clock cycle efficiency combined with higher clock speeds. Based on preliminary testing with an existing version of Jet3D (not recompiled or optimized for the G5), it appears that the G5 has about 22% better scalar floating point performance per clock cycle than the G4 systems tested and 32% better floating point performance per clock cycle than the P4 systems tested. Based on raw scalar floating point performance in Jet3D, a 2GHz G5 system can match a 2.66GHz P4 system, and this is a dramatic improvement from earlier tests where G4 systems lagged behind higher clock speed P4 systems. Based on an extrapolation of current P4 results, the 2GHz G5 would lag newly announced 3.2GHz P4 systems in Jet3D scalar floating point performance by about 20%, but this kind of comparison is best deferred until G5-aware compiler tools become available (since a 20% performance gain is well within the potential of compiler optimization).
These benchmarks and their attendant conclusions will obviously instigate a new round of bickering, flaming, and allegations between pro-Apple and anti-Apple partisans. So let me get my shot in, here. As many will no doubt point out, SSE optimizations (along with the -O2 compiler flag) were turned off for the PC. The NASA guys claim that the SSE and -02 optimizations actually made their code slower with the P4 compiler they were using, so in the absence of third party verification we’ll have to take their word for this.