I work for TCS India and Ericsson (Sweden) is our client.As of
today, we use Solaris as our O/S. Because of the popularity and cost
free usage of Linux, management has decided to shift to Linux.Right now
we have SLED10 machines.Here is the system decription :
Linux cpp-sled10 2.6.16.21-0.8-smp #1 SMP Mon Jul 3 18:25:39 UTC 2006
i686 i686 i386 GNU/Linux
In this process, we are asked to compare the build times in Solaris and
Linux. The hard to digest fact is that the build is much slower in Linux
(more than 150%) as compared to Solaris.
So, here i need help from all you guys. Is there anything that i could
do to improve performance in Linux ?
Even if i could get the build time closer (if not less )to the one in
Solaris, we could successfully migrate to Linux.
Have a look at ‘openSUSE Lizards » Comments on Phoronix Benchmarking
openSUSE 11.1’ (http://tinyurl.com/5gujfa) It probably applies to your
situation. I’m not sure that you’re going to beat Solaris in disk io,
but 150% seems quite a bit longer than I would expect.
I suppose it also depends on what you’re compiling. The different
benchmarking that I’ve seen tests java (native sun app) which compiles
faster on its native OS.
Not to push you from linux, but if this is especially important
(compiling time), then migrating to OpenSolaris is also an option. In
my experience, they have terrible hardware support, and is still rough
around the edges, but it shares many of the benefits of Linux, as the
source is open (and i’m no expert in media law, but I think their CDDL
license is close to GPL).
I have just another hint, I’ve heard that gcc4.x series is significant
slower than gcc 3.x series. It could be that this is responsible for the
problem. Maybe you should contact novell directly because it is sled or
contact the gcc developers and ask them for some hints if you use gcc
for compiling.