Gentoo Archives: gentoo-dev

From: Pacho Ramos <pacho@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] About suggesting to create a separate partition for portage tree in handbook
Date: Fri, 30 Mar 2012 07:59:29
Message-Id: 1333094230.1407.4.camel@belkin4
In Reply to: Re: [gentoo-dev] About suggesting to create a separate partition for portage tree in handbook by Sven Vermeulen
1 Will start to reply but will take some time as I don't have much this
2 days :(
4 El mar, 27-03-2012 a las 20:01 +0200, Sven Vermeulen escribió:
5 > On Tue, Mar 27, 2012 at 07:49:00PM +0200, Pacho Ramos wrote:
6 > > I am a bit surprised handbook still doesn't suggest people to create a
7 > > separate partition for /usr/portage tree. I remember my first Gentoo
8 > > systems had it inside / and that lead to a lot of fragmentation, much
9 > > slower "emerge -pvuDN world" (I benchmarked it when I changed my
10 > > partitioning scheme to put /usr/portage) separate and a lot of disk
11 > > space lost (I remember portage tree reached around 3 GB of disk space
12 > > while I am now running with 300MB)
13 > >
14 > > Could handbook suggest people to put /usr/portage on a different
15 > > partition then? The only doubt I have is what filesystem would be better
16 > > for it, in my case I am using reiserfs with tail enabled, but maybe you
17 > > have other different setups.
18 >
19 > To be honest, I don't think it is wise to describe it in the Gentoo Handbook
20 > just yet. I don't mind having it documented elsewhere, but the separate
21 > partition is not mandatory for getting Gentoo up and running. The
22 > instructions currently also just give an example partition layout and tell
23 > users that different layouts are perfectly possible.
24 >
25 > We need to take into consideration what is needed (must) for a Gentoo
26 > installation, what is seriously recommended (should), what is nice to have
27 > (could), etc. And for me, having a separate /usr/portage is a nice-to-have
28 > imo.
29 >
30 > Wkr,
31 > Sven Vermeulen
32 >
33 >
35 My idea is to add a comment about this because it's not obvious having
36 portage tree in a "common" partition with the rest of the system has
37 some problems like high fragmentation, waste of disk space and also
38 performance problems. I discovered it empirically when trying to get
39 "emerge -pvuDN world" a bit faster.
41 Also, once a partition scheme is chosen when installing Gentoo at first
42 time, it's sometimes difficult to modify (for example, I was luck in my
43 cases because I had big swap partitions I shrinked a bit for portage
44 tree.
46 You can probably see it's "nice-to-have" (as partition scheme that is
47 shown in handbook showing partitions for /var, /home...), but it's
48 better than letting people put their portage trees in a standard
49 partition with the rest of the system


File name MIME type
signature.asc application/pgp-signature