Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volkerarmin@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Gentoo's advantage: "optimized for your system" -- huh?
Date: Wed, 04 Feb 2009 16:36:18
Message-Id: 200902041733.43441.volkerarmin@googlemail.com
In Reply to: Re: [gentoo-user] Re: Gentoo's advantage: "optimized for your system" -- huh? by Momesso Andrea
1 On Mittwoch 04 Februar 2009, Momesso Andrea wrote:
2 > On Wed, Feb 04, 2009 at 08:58:23AM +0200, Alan McKinnon wrote:
3 > > On Wednesday 04 February 2009 01:48:34 Nikos Chantziaras wrote:
4 > > > So all in all, I agree.  Using Gentoo is nowadays not so much a matter
5 > > > of performance optimization but of better control of how to build the
6 > > > packages and the rolling release nature (I'm tired of major updates
7 > > > every 6 months in the majority of binary distros.)  I also like the USE
8 > > > flags which let me chose how to build something and get rid of
9 > > > dependencies I don't need.  Administrative features like dispatch-conf
10 > > > are also very useful.
11 > >
12 > > This is the main benefit of Gentoo for me. I have to use SuSE or RHEL at
13 > > work for the database machines - Sybase will not support any other other
14 > > distro - and the 1G+ base install from those distros drive me nuts.
15 > > Contrast that with the DNS caches which run FreeBSD, the difference is
16 > > about a factor of 5 if not more.
17 > >
18 > > I also get sick and tired of installing postfix on a database machine
19 > > purely to send nagios alerts, and watching the distro "helpfully" want to
20 > > pull in PostgreSQL, MySQL, LDAP, SASL, Courier and some fancy
21 > > MTA-switcher thingy. All because the maintainer enables those features
22 > > and now I gotta have them.
23 > >
24 > > No thanks. Rather give me USE so I say what goes on the box.
25 > >
26 > > --
27 > > alan dot mckinnon at gmail dot com
28 >
29 > Often on gentoo related IRC chanels comes someone who asks why his
30 > firefox-bin (or openoffice-bin or *-bin) runs faster than his
31 > built-from-source firefox.
32 >
33 > Usually chan's gurus answer that upstream packagers use all the possible
34 > compiler optimizations (CFLAGS LDFLAGS etc.) for the given package,
35 > while the average gentoo users keeps a set of "system wide very safe
36 > optimizations" that are good for most packages, but not the best for
37 > every particolar package.
38 >
39 > Is that statement correct?
40
41 partly. Gentoo CFLAGS don't replace the ones already there. Except stuff like
42 OX where the package has something like O99 set (mplayer, hello) and you set
43 O2 or Os. O99 = O3. But you shouldn't see any difference.