Gentoo Archives: gentoo-dev

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: Concerns about WIPE_TMP change [offtopic]
Date: Sun, 20 Jan 2008 01:09:06
Message-Id: pan.2008.01.20.01.08.42@cox.net
In Reply to: Re: [gentoo-dev] Re: Concerns about WIPE_TMP change [offtopic] by Stefan de Konink
1 Stefan de Konink <skinkie@××××××.nl> posted 47928523.2080203@××××××.nl,
2 excerpted below, on Sun, 20 Jan 2008 00:17:55 +0100:
3
4 > ...very offtopic but how are you all compiling stuff like firefox on a
5 > ram disk. Or is 8GB of ram very cheap suddenly?
6
7 Well, tmpfs is swap-backed if necessary. That's one of its strengths.
8 And no, 8 gig of at least registered memory (what my Opterons use) isn't
9 cheap -- I paid >$1000 for mine a year or so ago, but it sure is nice,
10 combined with a dual dual-core system (Opteron 290s, upgraded ~4 months
11 ago from 242s).
12
13 MAKEOPTS="-j20 -l12" keeps things from getting too out of hand. It'll
14 sometimes use 3 gigs or so of app memory (and about the same tmpfs it
15 appears), but not too bad. I ran -j (unlimited jobs) for awhile, and
16 it's fun to see the jobs climb to several hundred, but even with 16 gigs
17 4-way striped swap, the system goes draggy at that and >10 gigs into
18 swap. Keeping it to ~12 jobs means responsiveness stays reasonable, at
19 least with the new 2.6.24 user based scheduling and the portage user kept
20 to the same or half the share of my regular user. Swap seldom gets used,
21 and if it does, it's only a few megs of the apps I don't use much anyway
22 (/proc/sys/vm/swappiness set to 100 so it flushes apps, not cache, to
23 swap, as apps and the main system are on raid-6 so only two-way striped
24 while swap is 4-way striped).
25
26 Nice system to run Gentoo on. =8^) Using ccache, recompiling the updated
27 kde4-svn daily is only ~2 hours or so, during which the system remains
28 pleasantly usable. =8^)
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
34
35 --
36 gentoo-dev@l.g.o mailing list