Gentoo Archives: gentoo-amd64

From: Richard Freeman <rich@××××××××××××××.net>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Re: System becomes almost unusable when compling c++ code
Date: Fri, 03 Aug 2007 14:18:52
Message-Id: 46B33881.2060801@thefreemanclan.net
In Reply to: [gentoo-amd64] Re: System becomes almost unusable when compling c++ code by Duncan <1i5t5.duncan@cox.net>
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Duncan wrote:
5 > If you have lots of memory (2 gigs or better, 4 gigs is nice, I have 8
6 > but that's overkill), strongly consider setting up your PORTAGE_TMPDIR
7 > (/var/tmp by default) on tmpfs.
8
9 Actually, as long as you have enough swap your RAM doesn't really
10 matter. In the worst case it just swaps to disk, which is what it would
11 be doing anyway if you didn't have a tmpfs. Even if only 10% of the
12 short-lived files didn't make it to disk it would be a huge savings in
13 IO waits.
14
15 Also, consider using ionice (from schedutils I think) - it lets you
16 schedule IO the way nice schedules CPU. It can have a big impact if you
17 have a lot of disk churn.
18 -----BEGIN PGP SIGNATURE-----
19 Version: GnuPG v1.4.7 (GNU/Linux)
20 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
21
22 iD8DBQFGszhsG4/rWKZmVWkRAhwIAKCMAIhQqVaaPrHi3IIbigc3tpVHSQCgtsEg
23 HDrQL97HsW8c5NmVKy+24jc=
24 =tmSA
25 -----END PGP SIGNATURE-----

Attachments

File name MIME type
smime.p7s application/x-pkcs7-signature

Replies

Subject Author
[gentoo-amd64] Re: System becomes almost unusable when compling c++ code Duncan <1i5t5.duncan@×××.net>
Re: [gentoo-amd64] Re: System becomes almost unusable when compling c++ code Volker Armin Hemmann <volker.armin.hemmann@××××××××××××.de>