Gentoo Archives: gentoo-amd64

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Re: Re: Fragmentation
Date: Wed, 15 Feb 2006 17:28:51
Message-Id: pan.2006.02.15.17.25.03.550858@cox.net
In Reply to: Re: [gentoo-amd64] Re: Fragmentation by Paul de Vrieze
1 Paul de Vrieze posted <200602151605.41286.pauldv@g.o>, excerpted
2 below, on Wed, 15 Feb 2006 16:05:40 +0100:
3
4 > In principle they are multi-boot combinable. However "/var/tmp" is
5 > supposed to be cleaned less than "/tmp". Preferably only when space is an
6 > issue. Portage for example stores things there like the ccache cache.
7 > While removing it will not cause any problems, the cache is then
8 > destroyed, so things go slower. /var/tmp is more meant for stuff that is
9 > temporary, but saves time, while /tmp is for stuff that is just temporary
10 > (often very shortly) and may be destroyed any time.
11
12 Correct in general, but this reply is on the ccache thing more than /tmp
13 and /var/tmp.
14
15 I had entirely forgotten the default ccache location, if I ever knew it in
16 the first place, as I added ccache and changed that setting very early in
17 my Gentoo setup, I believe before I had even completed the emerge
18 --emptytree system. CCache has never been in the default location on my
19 box. Originally, I had it as its own dedicated partition as well, but
20 when I did the reorganization for my RAID upgrade, I put it on a subdir of
21 4-way striped RAID-0 array partition, sharing the partition with similar
22 subdirs for /usr/src and the portage tree. All three of those need no
23 redundancy as the contents are are easily redownloadable from the net or
24 in the case of ccache, regenerated automatically if destroyed, all three
25 tend to have many small files, so reiserfs is the perfect managment
26 strategy, and all three can benefit from the speed of the 4-way striped
27 RAID-0 as well, so it made sense to put them together on a shared
28 partition.
29
30 --
31 Duncan - List replies preferred. No HTML msgs.
32 "Every nonfree program has a lord, a master --
33 and if you use the program, he is your master." Richard Stallman in
34 http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html
35
36
37 --
38 gentoo-amd64@g.o mailing list