TBird/Duron Poor SETI Performance Explained?

Status
Not open for further replies.

Hat Monster

Ars Legatus Legionis
47,680
Subscriptor
From Tom's Hardware Guide:
AMD also removed a serializing algorithm of the TLBs that had a bad impact on the performance of very large data base software.
That's from the article on Palomino. Note he said "data base" and not "database", meaning that he was writing about software that uses large amounts of data. Doesn't that strike as being S@H or am I just blowing smoke?

H@
 

Zaphod

Ars Legatus Legionis
16,905
Subscriptor
I don't know about that, but I suppose there could be something to it.

I have a 1G Tbird that can barely stay ahead of my PIII/600e, and a Duron 700 that is measurably (like 40%) slower than the same 600e. I have been told that the i386 client is "optimized" for SSE instructions, and that 3Dnow CPUs don't fare as well with SETI. If that is really the case, then someone should recompile the CLI to create a version for AMD chips.
 

Zaphod

Ars Legatus Legionis
16,905
Subscriptor
I would be very interested to hear. I was discussing this topic elsewhere, and it quickly egenerated into a bashing session. I just want the best out of the machines I run, and a good idea of what to expect from machines I get in the future. I am a bit disappointed in the Tbird; it is my fastest machine, but not by a very big margin. I have done a bit of tweaking and improved it a little but it is pretty funny to think that my mature BX based machines are still holding up well today.
 
Well, in Linux, at least, there is a "686" as well as a "386" version. I run the former and it presumably uses better floating point math. I've never actually checked what its advantage is on my P II 350 where I used to run it (before I put the box on Genome).

I presume that it could have an advantage even for the Athlon stuff.

IIRC, at least on 2.4, one place where the AMD stuff got hurt was the cache technology. This is a smaller factor in 3.03, but hasn't gone away. It may be, for instance, that the split I and D cache Intel uses remains an advantage. And, there's the magnitude differences I haven't kept up with.

I don't think it is 3DNow versus SSE2.
 

sam black

Ars Scholae Palatinae
842
This isn't SETI bashing, but try a comparison of the CPUs using the folding client. See how your times on WUs compare there and then you will have an idea if the performance difference is coming from client optimization or a system problem. It is well known that the folding client is better suited for AMD processors than Intel. Give it a try. If you don't want to lose SETI production you can rotate you machines through one at a time. The hit to SETI will be minimal.
 

sam black

Ars Scholae Palatinae
842
I was merely suggesting an approach to determine if there was some other reason for the poor performance of his T-bird and Duron. I didn't think that there were examples of that extreme a performance difference between AMD and Intel, since that T-bird should be a kick-ass performer. I was not suggesting a direct comparison, merely a way to check that the T-bird can work fast in a situation that it is a known good performer.

Zaphod, I'm a researcher at ESF. It's always nice to hear about Arsians nearby.
 
Well, I don't think that there is that big a difference between PIII's and Tbirds/Durons for SETI@home. With the V2 clients the Athlon's 64 byte cache lines really hurt it but it isn't a great issue with the V3 clients. If you look at the TLC V3.03 benchmark table you'll see that TBirds are a bit less efficient than PIII's but not that much. I tried to find some comparable figures for PIII, TBird and Duron for non-overclocked processors (to avoid unfair bus speed advantages).

PIII 933/133MHz times range from 6:11 to 8:40

TBird 900/100MHz times range from 6:45 to 7:29

Duron 900/100MHz times range from 7:19 to 7:49

Even if you go by only the lowest time in each range the Tbird is only about 7% slower, or about 3% after correcting for the slightly different clock speeds.

There's still the question of why the TBird/Duron's more powerful core doesn't make them faster than the PIII. The slower time of the Duron shows that L2 cache is an issue. The PIII Coppermines have a 256 bit data path between L1 and L2 cache which means that the PIII can access its L2 cache much faster than the Tbird can. Also the fastest PIII times typically come from systems using low latency Intel chipsets like BX. Unfortunately such chipsets are simply not available for Athlons.

As regards TLBs, these are used for translating virtual to physical memory addresses. The normal page size for x86 procssors is 4K (there are also 2 or 4MB pages but current OSs don't use these). The TLB can get thrashed if the program has a memory access pattern that repeatedly jumps between lots of different 4K pages in memory. That might have happened to some extent with the FFT code in V2 clients but in V3 clients memory access has good page locality so this isn't an issue.
 
The Coppermine's L2 architecture is far from aging, it is a leading edge design. Intel were probably well along the road to designing it for the P4 and were able to adapt it for the PIII, possibly in response to the original Athlon.

AMD went down a different route, the Tbird's cache works well for applications that need more that a 256K working set. The PIII's cache happens to work well for SETI@home. Basically the Tbird's cache gets a better hit rate but the PIII is faster when a hit occurs. It is swings and roundabouts to some extent although I do view the PIII's L2 cache as superior, and the P4's L2 cache is simply amazing. It can transfer 32 bytes every clock cycle giving a theoretical bandwidth for a 1.5GHz processor of 45GB/sec.
Don't compare apples with oranges. Have a look at clock speed.
But you are cmparing apples and apples if you compare the fastest PIII against the fastest Tbird, or PIII's and Tbirds at the same price point. Tbirds are designed to be able to clock faster than PIIIs for a particular manufacturing process, that is part of their advantage. It is also an advantage of the P4 over the Tbird, and rather important for the viability of the P4 since it doesn't have many other advantages. ;)
 
From the first Athlon 4 benchmark that Roelof posted here:

http://episteme.arstechnica.com/6/ubb.x?q=Y&a=tpc&s=50009562&f=122097561&m=2900997771

It appears that The Athlon 4 is going to be hard to beat in Seti. The P4's IPC performance is already well below Tbird. Improve Tbird by 20% and it looks like the A4 should be the champ for at least a while. If there aren't some performance impovements to the P3 when Intel does the 130nm shrink, the A4 should be able to handle the .13 P3 as well. We'll see before too long...

Actually Tbirds seem to be doing pretty well as it is:

http://www.teamlambchop.com/bench/303results.htm

Far and away the best performance per dollar. Lets not even talk about folding, genome or RC5; all of which the Tbird rules regardless of price.
 
Status
Not open for further replies.