User: Password:
|
|
Subscribe / Log in / New account

Building a High-Performance Cluster with Gentoo

Building a High-Performance Cluster with Gentoo

Posted Apr 11, 2007 20:06 UTC (Wed) by job (guest, #670)
In reply to: Building a High-Performance Cluster with Gentoo by drag
Parent article: Building a High-Performance Cluster with Gentoo

It all boils down to if you trust the package maintainer to select the best compiler optimizations or if you believe you can select better general ones. Many maintainers are highly competent people and the data seems to support that.

Of course, rebuilding packages from source is really simple in Debian too, so it's not really only distribution dependent.

That said, most Gentoo people probably use the distribution because the build flags are quite handy, not because of some imaginary performance benefits.


(Log in to post comments)

Building a High-Performance Cluster with Gentoo

Posted Apr 11, 2007 21:08 UTC (Wed) by gnu_lorien (subscriber, #44036) [Link]

I use Gentoo. Originally it was the dream of performance benefits that drew me to it because I never have a lot of money and am always about three years behind on the greatest-bang-for-the-buck hardware.

I can't honestly say whether Gentoo has ever given me any performance benefits. In the end, I've discovered that I don't care. I use Gentoo because it's constantly building from source. A lot of free software is about having the sources and the freedom to do what I want to with them. Gentoo's portage system is a massive archive of sources and the hoops you have to jump through to build them.

That's the advantage to me. I have all of the software on my computer installed with instructions to help me tweak it if I want to.

Building a High-Performance Cluster with Gentoo

Posted Apr 12, 2007 1:33 UTC (Thu) by dw (subscriber, #12017) [Link]

Thank you. This is the first time since Gentoo appeared that I've read what appears to be both an honest testimonial and a practical use for the system.

Having worked on commercial software for Linux in the past, I often found myself rebuilding complex trees (e.g. Mozila, wxWidgets) just to flip one or two extra flags (Unicode on/off? --some-strange-chunk-of-code=yes). It was more often than not, easier to do this by just grabbing the original .tar.gz rather than doing a deb or rpm source build. In retrospect, Gentoo may have saved me a lot of pain and trouble in those days.

Building a High-Performance Cluster with Gentoo

Posted Apr 22, 2007 22:41 UTC (Sun) by dlang (subscriber, #313) [Link]

the performance benifits of gentoo are going to vary wildly depending on your hardware.

back in the days of the 1GHz Athlon, the distros were all compiling their code for 386's (with a few just starting to offer 586 optimized versions) the optimizations for AMD chips were significantly different then for Intel chips

in that environment there is room for a HUGE performance difference from a simple recompile, and that's when gentoo started (and so I'm sure that's part of where the proponents are looking when they talk about the speed benifits)

however, even on modern 64 bit systems that haven't been out long enough to develop this much variability there are compile options for packages that can make a huge performance difference to your apps

a perfect example is unicode support. if you need it, you need it, no question. but if all the data you are dealing with is ascii the performance difference between comiling with and without unicode support can be drastic (I see 2x and more on the postgres performance list) these are the comile flags that make the most difference nowdays.

In addition, just being able to not include features that you don't need for your installation is a huge benifit. Last week I built a new debian system, when I installed the ftp software it pulled in mySQL libraries, when I installed telnet it pulled in gcc. now in the case of telnet I found that I could go back and remove most of gcc (most of it was reccomended dependancies, not required), but on a gentoo system you just define -mysql and you won't have software installing mysql for you (I still haven't figured out why telnet requires the gcc libs yet)

Building a High-Performance Cluster with Gentoo

Posted Apr 23, 2007 9:44 UTC (Mon) by pimlottc (guest, #44833) [Link]

Are you sure that the actual GCC compiler was installed?

Looking at the telnet package, it does depend on two gcc runtime libraries, libgcc1 and libgcc4. Each of these depend on gcc-4.1-base, which sounds a lot like it's the main gcc package, but in fact it's just licensing ibnformation and packaging documention.

I can't find anything in telnet's dependency tree that depends on or recommends the actual gcc package (which is simply gcc). Recommends aren't normally automatically installed by apt-get, although I don't know for sure about other package management front ends.


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds