public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
From: Volker Armin Hemmann <volker.armin.hemmann@tu-clausthal.de>
To: gentoo-amd64@lists.gentoo.org
Subject: Re: [gentoo-amd64]  Re: System becomes almost unusable when compling c++ code
Date: Fri, 3 Aug 2007 19:56:35 +0200	[thread overview]
Message-ID: <200708031956.36209.volker.armin.hemmann@tu-clausthal.de> (raw)
In-Reply-To: <46B33881.2060801@thefreemanclan.net>

On Freitag, 3. August 2007, Richard Freeman wrote:
> 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.

emm, from my very personal point of view: no

swap is horrible slow. Its use must be avoided at any cost. Swap sucks. 
Everything is faster than accessing swap. So hitting the disk to read or 
write some files is IMHO better than hitting the disk to shove X into swap.

X in swap is another problem. You can be sure, if X is forced into swap, 
because gcc uses up all ram for itself, everything sucks. Mouse is jerky, 
windows need ages to get displayed.

Everything that makes swapping more likely is bad advise and shall be avoided.
-- 
gentoo-amd64@gentoo.org mailing list



  parent reply	other threads:[~2007-08-03 17:58 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
2007-08-03 16:00     ` Duncan
2007-08-03 17:56     ` Volker Armin Hemmann [this message]
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=200708031956.36209.volker.armin.hemmann@tu-clausthal.de \
    --to=volker.armin.hemmann@tu-clausthal.de \
    --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