Page 1 of 2

Linux vs Windows which is faster

Posted: Fri Nov 27, 2009 12:55 pm
by pixie
Has anyone compared which build is actually faster? When I had linux 64 installed I got about 8-10% increase over windows xp but then it was 32 bit, so it wasn't all that much fair since on windows 7 64 I got about the same improvement. Now I'm thinking in installing linux just for the sake of extra speed but I would like to know if it is worth it.

Re: Linux vs Windows which is faster

Posted: Fri Nov 27, 2009 12:59 pm
by OnoSendai
I haven't tested personally; I run Linux in a VM, which probably handicaps the performance.

Re: Linux vs Windows which is faster

Posted: Fri Nov 27, 2009 4:32 pm
by lycium
gcc 4.3+ is said to produce FAR better code than msvc for x64.

Re: Linux vs Windows which is faster

Posted: Fri Nov 27, 2009 6:11 pm
by Polinalkrimizei
I have both versions (64bit Linux and 64bit Windows 7) installed at home, so I could post some tests if you have patience. I just arrived at the office and I'll be home in about twelve hours.

Re: Linux vs Windows which is faster

Posted: Sat Nov 28, 2009 12:46 am
by pixie
Polinalkrimizei wrote:I have both versions (64bit Linux and 64bit Windows 7) installed at home, so I could post some tests if you have patience. I just arrived at the office and I'll be home in about twelve hours.
Cool, thanks! :)

Re: Linux vs Windows which is faster

Posted: Sat Nov 28, 2009 12:55 am
by SzLaszlo
of course linux :)

Re: Linux vs Windows which is faster

Posted: Sat Nov 28, 2009 1:42 am
by gagar
lyc wrote:gcc 4.3+ is said to produce FAR better code than msvc for x64.
I have no comparison points, but I would think that for a processing-bound applications like Indigo the compiler should indeed be more important than the underlying OS.

Re: Linux vs Windows which is faster

Posted: Sat Nov 28, 2009 2:00 am
by pixie
gagar wrote:
lyc wrote:gcc 4.3+ is said to produce FAR better code than msvc for x64.
I have no comparison points, but I would think that for a processing-bound applications like Indigo the compiler should indeed be more important than the underlying OS.
But as one has to use an underlying OS to use the compiler result therefore I made the question regarding the OS :P

Re: Linux vs Windows which is faster

Posted: Sat Nov 28, 2009 3:30 am
by eman7613
I tested it a little while ago. single threaded (around2.2.1) they were about equal, and multithreading linux was regressed for some reason and not scaling well.


When run through wine (when indigo did worked under wine, haven't tested it recently) linux was faster with out fail (but that was 32bit only)

Re: Linux vs Windows which is faster

Posted: Sat Nov 28, 2009 3:31 am
by eman7613
lyc wrote:gcc 4.3+ is said to produce FAR better code than msvc for x64.

do you mean the MinGW gcc? b/c they never released a 4.3 stable. they jumbed from 3.4 to 4.4!

Re: Linux vs Windows which is faster

Posted: Sat Nov 28, 2009 5:40 am
by Polinalkrimizei
ok so here is the first result: it's confusing!

I took the caterpillar testscene and rendered it for about 30 minutes on Linux (latest ubuntu 64bit) and windows (windows 7 64bit). Indigo version on both systems 2.2.4, 64bit builds (are there later 64bit builds for linux by the way?).

Windows version reached 226,94 ssp after 30min 21sec

Linux version reached 213,43 ssp after 30min 25 sec

So according to this dirty little test indigo performs better on windows, it is about 6% faster here.
But this is by no means representative, I used only one scene, rendered for only 30mins and browsed the internet while rendering on both systems. I could run other test overnight, suggestions welcome.
I just did this out of curiosity, to see if linux-version really is 10& faster, which doesn't seem to be the case.

(my outdated system: coreduo 2,0 ghz, 4gigs of RAM)

Re: Linux vs Windows which is faster

Posted: Sat Nov 28, 2009 6:19 am
by CTZn
Will SSE be used under Linux ?

Eventually a shorter test duration could do, what would be representative would be to multiply tests to be able to deduce an average performance for each os...

An interesting detail could be the scene building time alone, but I wouldn't dare to ask for that :)

switching caches on/off may be a way to include/exclude disk performances from test. You want to disable caching for brute performances if I'm correct.

Re: Linux vs Windows which is faster

Posted: Sat Nov 28, 2009 6:20 am
by pixie
Polinalkrimizei wrote:(my outdated system: coreduo 2,0 ghz, 4gigs of RAM)
My i7 does 454, I was expecting a bit more of my new shiny cpu :(

Re: Linux vs Windows which is faster

Posted: Sat Nov 28, 2009 6:39 am
by Jambert
pixie wrote:
Polinalkrimizei wrote:(my outdated system: coreduo 2,0 ghz, 4gigs of RAM)
My i7 does 454, I was expecting a bit more of my new shiny cpu :(
could O/C it easly, watercooling needed :mrgreen:

I thought linux was quite faster, but linux still save much ram than win7 :)

Re: Linux vs Windows which is faster

Posted: Sat Nov 28, 2009 7:07 am
by pixie
Jambert wrote:
pixie wrote:
Polinalkrimizei wrote:(my outdated system: coreduo 2,0 ghz, 4gigs of RAM)
My i7 does 454, I was expecting a bit more of my new shiny cpu :(
could O/C it easly, watercooling needed :mrgreen:

I thought linux was quite faster, but linux still save much ram than win7 :)
Damn I mistake units :S