"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."
- Douglas Adams
More pages: 1 2 3
MetaBalls demo updated
Wednesday, October 19, 2005 | Permalink

I just recently got myself a new dual-core Athlon64 3800+, so naturally I had to try taking advantage of this extra processing power. Most of my demos are more GPU limited than CPU though, but MetaBalls is an exception to that rule. So I implemented threading into it to improve performance. Everything couldn't be parallelized though, so the gain is fairly moderate, about 15-20%. Another reason for the moderate increase is that the bottleneck apparently shifted from computations to cache/memory. The gain is larger when running the slower FPU path than the 3DNow path, about 25%.
This CPU also supports SSE3, so naturally I threw in an SSE3 path as well. 3DNow is still a tiny bit faster though.

Name

Comment

Enter the code below



Humus
Saturday, October 22, 2005

It runs at about 145fps with two threads, and about 125fps with one.

Bj�rn
Monday, October 24, 2005

"Your A64 3400+ is an AMD Semron, not an Athlon 64. It was never on-par to ever be able change to underpar status."

No, you are terribly wrong, my CPU is and Athlon 64, it's the ClawHammer in it's s754 package with 1MB L2 cache.

The Sempron you refers to has only 256KB in L2 cache (i.e) and no x64 registers, wich mine have as I'm running Windows XP x64.
( http://www.amd.com/us-en/Processors/ProductInformation/0,,30_118_11599_11604,00.html )
So, please Mr. Anonymous, don't talk "jive" (i.e bullshit) when you don't know for sure :P

Just FIY: http://home.no.net/webfast/Lucifer/x64.jpg

N
Tuesday, October 25, 2005

Of c�rse I k�n!

Robert
Monday, October 31, 2005

I've also got a new dual core but I think I've found that Windows XP and OpenGL does not work well with it.

There's a rogue thread being created in the background, that prevent's the CPU from nicely idling. It's the same with ATI and nVidia drivers.

But DirextX is fine. Also Windows 2000 on dual cores is fine. Must be some sort of bug with XP.

xg-ei8ht
Friday, November 4, 2005

I have older processor.

2800xp barton

I've tried all 3 settings i can use.

fpu- 66fps, sse 67fps, 3dnow 71fps/

Not much diff there.

x-ei8ht
Friday, November 4, 2005

Forgot to say, with any amount of threads, there is no differnce.

James
Thursday, November 24, 2005

Strange, It seems bound to the refresh rate on my screen - just continually shows 85 no matter what settings are used. (3700+/6600gtPCI-ex)

N
Thursday, November 24, 2005

Det kom ett meddelande p� ICQ:n om att du fyller �r imorgon, och en l�nk om att skicka ett grattis-kort.
Har du b�rjat fira f�delsedagar eller???
Hade �nd� inte t�nkt skicka n�got kort! ;-P

More pages: 1 2 3