From: Richard Freeman <rich@thefreemanclan.net>
To: gentoo-amd64@lists.gentoo.org
Subject: Re: [gentoo-amd64] Re: System becomes almost unusable when compling c++ code
Date: Fri, 03 Aug 2007 10:15:29 -0400 [thread overview]
Message-ID: <46B33881.2060801@thefreemanclan.net> (raw)
In-Reply-To: <pan.2007.08.03.09.33.24@cox.net>
[-- Attachment #1: Type: text/plain, Size: 955 bytes --]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Duncan wrote:
> If you have lots of memory (2 gigs or better, 4 gigs is nice, I have 8
> but that's overkill), strongly consider setting up your PORTAGE_TMPDIR
> (/var/tmp by default) on tmpfs.
Actually, as long as you have enough swap your RAM doesn't really
matter. In the worst case it just swaps to disk, which is what it would
be doing anyway if you didn't have a tmpfs. Even if only 10% of the
short-lived files didn't make it to disk it would be a huge savings in
IO waits.
Also, consider using ionice (from schedutils I think) - it lets you
schedule IO the way nice schedules CPU. It can have a big impact if you
have a lot of disk churn.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGszhsG4/rWKZmVWkRAhwIAKCMAIhQqVaaPrHi3IIbigc3tpVHSQCgtsEg
HDrQL97HsW8c5NmVKy+24jc=
=tmSA
-----END PGP SIGNATURE-----
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 4101 bytes --]
next prev parent reply other threads:[~2007-08-03 14:18 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-03 6:59 [gentoo-amd64] System becomes almost unusable when compling c++ code Shaochun Wang
2007-08-03 8:10 ` Volker Armin Hemmann
2007-08-03 8:12 ` Nicolas Merline
2007-08-03 9:33 ` [gentoo-amd64] " Duncan
2007-08-03 14:15 ` Richard Freeman [this message]
2007-08-03 16:00 ` Duncan
2007-08-03 17:56 ` Volker Armin Hemmann
2007-08-03 19:36 ` Bernhard Auzinger
2007-08-03 19:51 ` Richard Freeman
2007-08-03 20:27 ` Volker Armin Hemmann
2007-08-03 21:01 ` Richard Freeman
2007-08-03 22:07 ` Volker Armin Hemmann
2007-08-03 20:31 ` Bernhard Auzinger
2007-08-03 20:48 ` Richard Freeman
2007-08-03 17:49 ` [gentoo-amd64] " Luis Medinas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46B33881.2060801@thefreemanclan.net \
--to=rich@thefreemanclan.net \
--cc=gentoo-amd64@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox