Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] upgrading from kernel 2.6.24-rc6 to latest kernel
Date: Mon, 18 May 2009 18:56:56
Message-Id: 200905182055.28710.alan.mckinnon@gmail.com
1 On Monday 18 May 2009 19:59:14 William Hubbs wrote:
2 > On Mon, May 18, 2009 at 07:39:48PM +0200, Alan McKinnon wrote:
3 > > On Monday 18 May 2009 19:12:22 William Hubbs wrote:
4 > > > Another difference is that, since you are compiling everything from
5 > > > source, with the correct CFLAGS and CXXFLAGS settings in make.conf, you
6 > > > can optimize the binaries you produce to take full advantage of your
7 > > > processor, which you can't do on a binary distro since everything is
8 > > > already compiled for you.
9 > >
10 > > Another word:
11 > >
12 > > That's ricing.
13 > >
14 > > Ok, that's two words. You get the idea.
15 >
16 > Actually, I don't, because I don't know what you mean. I was just
17 > pointing out something about gentoo which I think is different from a
18 > binary distribution. I don't know how much of a difference it makes,
19 > but it is a feature they don't have.
20
21 The cases where one really does need to optimize the compiler for your cpu are
22 very rare, and only really apply to old hardware. Back in the day they
23 performed fine, but code available today tends to do more (keeping pace with
24 cpu capability) so you need to tweak things to extract the best performance.
25
26 If using current packages on current hardware, the benefit is questionable and
27 users are highly unlikely to notice much difference between good old i686 and
28 -O9. With some apps it does make a difference - extensive floating point ops
29 comes to mind - and one should take advantage of those cases. However, looking
30 into the ebuilds of such packages usually reveals that, if the maintainer is
31 any good, those optimizations are already present in the ebuild.
32
33 Years ago Gentoo had a problem with fanatical moronic users claiming their
34 machines performed a brazillion time faster with -O9 and other such nonsense.
35 This is called "ricing" - a word play on young Japanese males modifying
36 Subarus for "performance" that actually reduces performance. Ever seen a
37 Subaru with a gigantic whale-tail rear spoiler? That's ricing. These Gentoo
38 users seem to have gone away to wherever the current fashion fad is. For a
39 while they infested Ubuntu. $DEITY only knows where they are now, maybe
40 they're using MacOS and annoying Steve
41
42 Actual benchmarks should that ricing does nothing beneficial for the average
43 ricer.
44
45 Genuine analysis of Gentoo machines admined by someone who knows how to do it
46 should that the machine can easily have only the features and software on it
47 that the admin say it should have. Like LDAP - not everyone needs it. On a
48 binary distro, if the maintainer supports it you usually get it too whether
49 you like it or not. With Gentoo, USE is your friend. And this is gentoo's
50 greatest strength - the ability to build something much closer to what you
51 really want than is possible with a binary distro.
52
53 --
54 alan dot mckinnon at gmail dot com

Replies

Subject Author
Re: [gentoo-user] upgrading from kernel 2.6.24-rc6 to latest kernel Dale <rdalek1967@×××××.com>