Gentoo Archives: gentoo-dev

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: How a proper server profile should look like
Date: Tue, 22 Jan 2013 20:17:59
Message-Id: pan.2013.01.22.20.17.18@cox.net
In Reply to: Re: [gentoo-dev] Re: How a proper server profile should look like by Rich Freeman
1 Rich Freeman posted on Tue, 22 Jan 2013 07:12:06 -0500 as excerpted:
2
3 > Should we therefore list all the flags on the system and which ones are
4 > enabled and disabled?
5 >
6 > I guess we could, but it is a REALLY long list.
7 >
8 > In practice I find that the way I tend to use USE flags is that I just
9 > ignore them until something unexpected happens, and then change them.
10
11 The one thing I wish the handbook had taught, way back when I started
12 (and I read the handbook well enough that even before I had a system up
13 and running on gentoo... 2004.0/amd64 wasn't quite ready for NPTL and I
14 blocked on it, but 2004.1 worked... I was helping others who apparently
15 had /not/ read it so well! this wasn't there and AFAIK still isn't),
16 was...
17
18 >>>>>
19
20 "If in doubt, leave it out. Remember, because gentoo is build-from-
21 source, every package installed has a much higher cost in terms of
22 continuing upgrades over time, than on a binary distro. If you aren't
23 sure you're going to use it, or will only use it maybe a couple times a
24 year, strongly consider omitting it, thus avoiding the upgrade cost. You
25 can always install it later if you find you REALLY need it.
26
27 "That applies to both packages and USE flags (which often bring in extra
28 packages) on your system."
29
30 <<<<<
31
32 One of the first things I realized out of the gate was that keeping both
33 gnome and kde installed wasn't going to be practical for me, and I
34 preferred the better configurability of kde so I quickly dropped gnome.
35
36 But over the years my system has gotten progressively leaner as I trimmed
37 this and that, one thing at a time, because there really IS a continuing
38 maintenance cost to every single package installed, ESPECIALLY on the
39 ~arch systems I run where the package churn is much higher, even MORE so
40 for those (like me) that like to run stuff like kde prereleases from the
41 overlays. KDE for example has two feature releases a year and updates
42 every month, basically 12 releases a year. For those running the pre-
43 releases, it's 16, as for the couple months before a feature release
44 they're on a two-week update cycle. For those running its pre-releases,
45 KDE *BY* *ITSELF* is thus several hundred package upgrade builds 16 times
46 a year (plus -rX bumps if any).
47
48 I've trimmed my kde to ~170 packages at last upgrade (and just trimmed a
49 couple more after that, deciding with dolphin as my GUI fileman and
50 firefox as my default browser I no longer needed konqueror or its addons,
51 so I think I'm down to 168 per kde upgrade here, now). With my six-core
52 bulldozer and PORTAGE_TMPDIR in tmpfs, that's actually reasonable.
53
54
55 I wouldn't expect ordinary gentooers to go to the lengths I have to
56 reduce system bloat while keeping functionality I actually use, as the
57 system set I've negated is there fore a reason and USE=-* is discouraged
58 for a reason -- it TAKES someone with quite some experience and knowledge
59 to properly navigate those sorts of things.
60
61 But if anything, that's all the MORE reason there should be a minimal
62 profile available, for those who want as lean an installation as
63 possible. The more stuff turned on the worse it gets, especially for USE
64 flags on system set packages and the packages they in turn drag in,
65 multiple levels down.
66
67 That's actually why I eventually killed my system set, too much
68 (including xorg-server and kdelibs) was being pulled into it by the USE
69 flags, and for safety reasons, portage puts much stronger parallel-emerge-
70 jobs limitations on @system and its deps, many packages of which are
71 piddly little things that kept portage running alone at <1.00 load
72 average on a six-core!
73
74 So the smaller the set of profile-enabled USE flags and the smaller the
75 @system set, the better, and a minimal profile that people can add what
76 they need to, would ideally be the recommended profile for most users.
77
78 --
79 Duncan - List replies preferred. No HTML msgs.
80 "Every nonfree program has a lord, a master --
81 and if you use the program, he is your master." Richard Stallman