[Req] optimized builds (POLL)

Feature requests, bug reports and related discussion

What's optimizations do you want?

Poll ended at Sun Mar 18, 2007 6:41 am

SSE
0
No votes
SSE, SSE2
6
25%
SSE, SSE2, 3dnow!
0
No votes
SSE, SSE2, SSE3
6
25%
SSE, SSE2, SSE3, 3dnow!
12
50%
 
Total votes: 24

mrCarnivore
Posts: 517
Joined: Sun Mar 04, 2007 6:20 am
Location: Stuttgart, Germany

[Req] optimized builds (POLL)

Post by mrCarnivore » Tue Mar 13, 2007 3:15 am

Hey, while I'm at it.... (I'm kind of in a requesting-mood :D )

What about some optimized builds for indigo? With blender optimizations like SSE2 lead to a render-speedup of about 25-50%, which would be quite desirable for a lot of people I guess... And with just SSE2 optimizations you wouldn't have to build a specific optimization for each cpu since SSE2 should be suported by all cpus that came out in tha last 3-4 years I guess. (Pls don't hang me if you know a processor, that doesn't support it. It's mainly about the idea of optimized builds.)

EDIT: Oh no... I messed up the poll title and can't change it any more because I already voted... :cry:
Last edited by mrCarnivore on Tue Mar 13, 2007 6:43 am, edited 3 times in total.

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Post by CTZn » Tue Mar 13, 2007 4:16 am

25-50% ? Yummy !!!

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Tue Mar 13, 2007 4:19 am

I'd like to have such optimised Vs too^^

Poll?
(No;
Yes, just SSE2;
Yes; SSE - SSE3)

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Post by dougal2 » Tue Mar 13, 2007 6:07 am

yup,
and a 64bit version too? ;)

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Tue Mar 13, 2007 6:25 am

maybe^^

mrCarnivore
Posts: 517
Joined: Sun Mar 04, 2007 6:20 am
Location: Stuttgart, Germany

Post by mrCarnivore » Tue Mar 13, 2007 6:42 am

Added a poll. So off you go! :D

User avatar
zsouthboy
Posts: 1395
Joined: Fri Oct 13, 2006 5:12 am

Post by zsouthboy » Tue Mar 13, 2007 11:09 am

As a programmer, may I say this:

Premature optimization is the root of all evil.

User avatar
oodmb
Posts: 271
Joined: Thu Oct 26, 2006 5:39 am
Location: USA
Contact:

Post by oodmb » Tue Mar 13, 2007 11:15 am

SSE3 is necessary, while only a few users use it now, intel has plans to convert there whole line to it in a year or two (i dont know how many processors are sse2 and sse3 that they have out now). whatever intel does, AMD is likely to follow. not only that, i have SSE3 now, and compared to all the other SSE2 computers i have used, it kicks ass at even non optimized tasks.
a shiny monkey is a happy monkey

User avatar
zsouthboy
Posts: 1395
Joined: Fri Oct 13, 2006 5:12 am

Post by zsouthboy » Tue Mar 13, 2007 3:24 pm

SSEn, where n=1,2,3 or even 4, isn't some magic processor improvement that makes things faster.

It is a series of additions to the x86 instruction set that allow easier computation of things, that are specifically optimized to USE these new instructions.

SSE and 3DNOW are simply marketing terms, though version n of one isn't directly comparable to n of the other.

The reason "AMD is likely to follow" in the adding of new instructions is the agreement that they and Intel have for sharing technology.

It's the same reason AMD did x86-64 (which also has a few new instructions), and Intel added the same tech to their chips (EMT64). It's not that one was copying another.

User avatar
eman7613
Posts: 597
Joined: Sat Sep 16, 2006 2:52 pm

Post by eman7613 » Tue Mar 13, 2007 5:33 pm

zsouthboy wrote:As a programmer, may I say this:

Premature optimization is the root of all evil.
amen. optimizations should come from one of two things.
1. ALL off the program is completed, there is nothing left to do but imporve speed
2. the optimization is NECISARY to add another function to the program
Yes i know, my spelling sucks

mrCarnivore
Posts: 517
Joined: Sun Mar 04, 2007 6:20 am
Location: Stuttgart, Germany

Post by mrCarnivore » Tue Mar 13, 2007 8:31 pm

eman7613 wrote:optimizations should come from one of two things.
1. ALL off the program is completed, there is nothing left to do but imporve speed
I'm a programmer, too. And I think optimizations via compiler flags is an easy way to get faster code. It's not optimal by any means and you will get even faster by improving the code manually but even only via compiler flags the code will be noticably faster. This is especially true when applying to code that does a lot of graphics stuff like rendering.
eman7613 wrote:2. the optimization is NECISARY to add another function to the program
I totally don't get that comment... In my eyes the one has nothing to do with the other. I don't need to want to add another function to want faster code!

EDIT: But I have to admit optimizing the code MANUALLY has to be the last step during programming. And it has to occur when the code is complete. But as I said: manual optimization and optimization via compiler flags are two totally different things!

peer
Posts: 45
Joined: Wed Jul 26, 2006 8:43 am
Location: Rotterdam, The Netherlands

Post by peer » Tue Mar 13, 2007 8:37 pm

The most usefull optimization would be an OS X native version for me :-)!!

Regards,

Peter
Mac Pro 3GHz quadcore, iMac dualcore 2 GHz, Vectorworks 2008, Sketchup 7 Pro, Indigo Renderer, Cheetah3d 4.6.3, OS X 10.5.6

User avatar
OnoSendai
Developer
Posts: 6243
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Tue Mar 13, 2007 8:39 pm

Indigo already has some SSE stuff, in particular in the kdtree code.

mrCarnivore
Posts: 517
Joined: Sun Mar 04, 2007 6:20 am
Location: Stuttgart, Germany

Post by mrCarnivore » Tue Mar 13, 2007 9:33 pm

Hey, OnoSendai. So what about just compiling different optimized versions of the releases (not the tests of course)? Shouldn't be much work as its basicly 1line of code in the makefile or whatever you use for compiling...

Maybe one version with SSE2 and one with SSE3 to keep things simple and to limit the work for you.

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Thu Mar 15, 2007 12:40 am

Just an idea for opimisation:
Is it possible to let indigo check for possibilitys of SSEn and 3Dnow!?
So that there's only one version, that automatically optimizes the settings to your processor?
I don't have an idea, if that's posible...

Post Reply
27 posts

Who is online

Users browsing this forum: No registered users and 3 guests