NASA publishes first 3rd party benches of Apple G5 machine vs. P4.

Page 7 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

Eug

Lifer
Mar 11, 2000
24,169
1,812
126
Hmmm... I guess this message from January explains why the author likes to use PPC/Altivec for his fluid dynamics work. It seems that it's easier for him to optimize vector code for the G4, for a bigger oomph than doing the same for the Pentium 4. A fair assessment I'm thinking. ie. FOR HIS PURPOSES, a dual G4 (or dual G5) is great, but for other purposes a Pentium 4 is great. And Cray is great too. :)

Date: Mon, 13 Jan 2003 23:29:38 -0500
From: Craig Hunter
Subject: G4 vs. P4 performance

I have been following the discussion of Rob Galbraith's benchmarks with much interest, as I have spent a good deal of time testing, optimizing, and benchmarking software for the G4 (OS X) and P4 (Linux).

The first thing to realize is that there are numerous benchmarks that show the P4 is faster, and there are numerous benchmarks that show the G4 is faster. What matters? Well, probably the benchmarks that apply to the kind of work you do. For people doing photo processing with the software Rob tested, his results are extremely relevant. But, someone working with a program optimized for AltiVec and dual processors might have a completely opposite experience.

Just to give an example of a benchmark that goes the other way, see this chart.

(You're welcome to mirror this benchmark image, since my web site may not handle a lot of traffic). These real-world results come from the Jet3D computational fluid dynamics noise prediction software, which I developed for my doctoral thesis and currently use in my work at NASA. Jet3D is written in a combination of FORTRAN 77, FORTRAN 90, and C, and is optimized for AltiVec and dual processors on G4 hardware. When compiled on Linux using Intel's ifc compiler tools, Jet3D also becomes optimized for the P4 (using the various SIMD extensions available on the P4).

As you can see, the G4 does quite well here. A dual processor 1.25GHz G4 system is more than 3.5X faster than a single processor 2GHz P4 system. Though it's not shown on the chart, a single 1.25GHz G4 processor benchmarks at about 1589 MFLOPS, 1.9X faster than the P4. If you look at MFLOPS per MHz for a single processor, the G4 comes in at 1.27 MFLOPS/MHz, while the P4 comes in at 0.42 MFLOPS/MHz. If you want a good example of the MHz myth, look at the Cray, which comes in at 1.78 MFLOPS/MHz with only a 500MHz processor, beating both the G4 and P4.

Without AltiVec, the Jet3D benchmark would be about 794 MFLOPS on the dual-1.25GHz G4, which erases the performance lead over the P4. And then, using only a single processor, the 1.25GHz G4 benchmarks at about 418 MFLOPS, which is about half as fast as the P4. And all of a sudden, the G4 doesn't look very compelling. For the Jet3D benchmark, AltiVec and dual processors are key (AltiVec more so than dual procs). This is true for most benchmarks I have looked at; thus numerically intensive applications that can't use AltiVec and/or dual processors are likely to suffer on the G4.

In the case of Jet3D, it was easy to optimize for AltiVec. I was able to hand-vectorize about 10 lines of code within the guts of the FORTRAN algorithm and convert the computations to C for easy access to AltiVec hardware instructions. It had a huge effect for not a lot of work. For other more complicated cases, it may be possible to use the VAST compiler tools to automatically vectorize and tie in with AltiVec (VAST has parallel tools also). But in some cases, vectorization is not possible or feasible. In those instances, you're stuck with the processor's scalar performance, and the P4 generally has better scalar performance than the G4 in my experience. One final note: these are my personal views, and do not represent the views of NASA Langley Research Center, NASA, or the United States Government, nor do they constitute an endorsement by NASA Langley Research Center, NASA, or the United States Government
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
Originally posted by: NFS4
All that stuff you mentioned up above I either don't care about or just have no use for. Web services, encryption, scripts, etc. I don't need any of that crap. I use my machine for News posting, gaming (mmmm, BF1942, Desert Combat, GTR 2002, drool:p), web browsing, HTML work, Photoshop stuff, etc.
EXACTLY. What EVERYONE need to realize is:

1. Different people have different needs and wants
2. There is no perfect computer that does everything for everyone
3. Other people are not bad or stupid for using different computers, although they might be stupid. That will happen. There are lots of stupid people.
4. STFU already!

You couldn't get me to buy a single machine at dell, for a lot of reasons -- however, lots of people are perfectly happy with a dell. People are just different. Doesn't everyone realize that yet?

As for desktops, I prefer my clean layout:

http://www4.ncsu.edu/~bahill2/desktop.jpg

I don't see how that is clean.

I just counted roughly sixty-three little icons and whatnot, that is ridiculous in my opinion. How is that clean?

You have a 3 dimensional space filled with windows, varying in size, shape, placement, and stacking. For whatever reason, someone thought it was a good idea to hide all of that pertinent information and shove these windows into a two dimensional list of boxes on a toolbar, with only a little icon and a tiny bit of text for you to look at. I have never heard a good explanation for this seemingly braindead "taskbar" method of hiding windows, but then again it seems that no one takes time to think about it either, so I'm not sure I ever will receive a good explanation. And those are just my gripes about the windows gui's cleanliness, I could go on forever about other braindead ui decisions in there :)

This is a pretty clean desktop, in my opinion. :)
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
Originally posted by: shuttleteam
EDIT: Finally found the RIGHT damn file!!! :Q

Open files? I just had an irc session showing in that one, and I thoroughly checked it for sensitive data before throwing it out onto the wild internet. ;)
 

Eug

Lifer
Mar 11, 2000
24,169
1,812
126
Hannibal Stokes from Ars weighs in:

I think the whole thing has been blown way out of proportion. When I was first watching the keynote live, I thought that Apple had stacked the deck, and I still entertain the possibility that they did so deliberately. But who cares? It's a keynote, and it's their biggest hardware introduction since the original G4, so they're going to make it look really good at all costs--there's just too much at stake for them. I mean, I hate to sound like an Apple apologist, but any deck-stacking that was done was extremely tame and forgivable in the notoriously underhanded world of competitive benchmarking

-snip-

The bottom line is this: no, Apple and IBM didn't "cheat" in any sense of the word that I would acknowledge, but they did set up a fair contest that they knew they could win. The hardware will be out soon enough, though, and then we can all test it ourselves under whatever conditions we like.
 

Dexion

Golden Member
Apr 30, 2000
1,591
0
76
EXACTLY. What EVERYONE need to realize is:

1. Different people have different needs and wants
2. There is no perfect computer that does everything for everyone
3. Other people are not bad or stupid for using different computers, although they might be stupid. That will happen. There are lots of stupid people.
4. STFU already!

You couldn't get me to buy a single machine at dell, for a lot of reasons -- however, lots of people are perfectly happy with a dell. People are just different. Doesn't everyone realize that yet?

Right. Not everyone realizes that there's a difference between what people NEED and WANT:

I believe that this "WANT" is what is fueling this thread. The want to find out the fastest computer.

It's a futile attempt to figure out which platform is faster despite having different operating systems and software to test it on. And even though they do manage to measure the speeds, it's completely irrelevant as to which is faster on XXX Benchmark and in no way really show the real world benchmark as to what is faster. Reality is, software these days cannot measure how fast a computer is to one another. Mix that with a complicated mixture of different optimizable technologies ie: SSE2, HyperThreading, 3Dnow, OSX.. etc.

I really don't see a point, use a fast computer and be happy. If your not happy buy a different one. One thing for sure, nobody can claim that they've used their computer to the fullest happy or not.
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
Originally posted by: Dexion

Right. Not everyone realizes that there's a difference between what people NEED and WANT:

I believe that this "WANT" is what is fueling this thread. The want to find out the fastest computer.

Well, there also very different extremes of "want." There "want" as in "I really want a lamborghini and a billion dollars", which is totally ludicrous and obviously an unrealistic fantasy, and then there is the other extreme of "want" disguised as a "need"; e.g. "I need to buy some new socks."

It's kind of hard to draw a concrete line of where need ends and want begins. In today's society, socks are a necessity, you really do need them -- however, if you went without socks, what would happen? Your feet would stink, you might look a little trashy, etc -- but you sure wouldn't die. So the concept of "needing" a computer vs. "wanting" a dual G5 is even a little unrealistic; you don't need a computer at all.

I realize this is a really vague post, and it's hard to tell what the hell I'm trying to get at, but I am not arguing with what you said, I am just trying to elaborate. :) (and ramble ;))
 

Acanthus

Lifer
Aug 28, 2001
19,915
2
76
ostif.org
Originally posted by: EdipisReks
Originally posted by: Murr
Would someone mind telling some specific reasons OSX is better? I'm not a PC fanboy or anything trying to argue, I always buy whats good for the price. But frankly, it sometimes seems that everyone who says Windows sucks is just a Linux or Mac user who's pissed off about MS's dominance.

I've had limited experience with Macs at school, and thats it.

i'm not pissed of about MS's dominance. i've been using PC's for nearly 20 years. OS X has a better filing system, better TCP/IP implemntation, rarely crashes (i've gotten win2000 to crash 3 times this week), has better software integration, comes with much better default software, and looks prettier. OS X basically makes using a computer less of a chore. after building and maintaining tons of PC's over the years, digging around in the registry to fix somes stupid problem has lost its charm. and even if i wanted to dig around, i could do a much more thorough job of it by using the terminal. some of the differences take time to notice. however, after having this PowerBook for the last couple months, i feel that there is basically nothing that i can do on PC that i can't do better and more easily on my Mac. it just works.

My Server running 2k Pro has been up 7 months without crashing once. I restarted it for the 1st time in 7 months when i put on SP4.
 

Eug

Lifer
Mar 11, 2000
24,169
1,812
126
Originally posted by: martind1
wait I lost track of these posts.
What were the results? Macs are inferior to everything?:D
Actually, in scalar code the 2.0 GHz G5 was the same speed of a 2.66 GHz P4.

However, the SIMD speed was a bazillion times faster. ie. Screams on the G5. He couldn't get the code working on the P4 though with SIMD optimizations with the Intel compiler.
 

Eug

Lifer
Mar 11, 2000
24,169
1,812
126
Since there is all this debate about the GNU and Intel compilers I should make note that it would seem that IBM's xlf compiler is helping the G5 a lot. The NASA guy is saying that he gets MUCH faster numbers with xlf. Also, see this thread about PyMol.

It should be interesting once SPECfp is rerun on the G5 using IBM's XL compilers. I'm guessing the SPECfp score of the (single) 2.0 will be in the 1150-1200 range. For reference, a 3.2 GHz P4 with PC3200 gets 1285 with ifc.