From: Peter Humphrey <peter@humphrey.ukfsn.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: [gentoo-laptop] mounts options on a laptop
Date: Sun, 6 Mar 2011 08:38:12 +0000 [thread overview]
Message-ID: <201103060838.12509.peter@humphrey.ukfsn.org> (raw)
In-Reply-To: <201103051316.23964.stephane@22decembre.eu>
On Saturday 05 March 2011 12:16:23 Stéphane Guedon wrote:
> On Saturday 05 March 2011 12:47:39 Kent Hagebrand wrote:
(Odd: I haven't received this e-mail.)
> > Yes, I use tmpfs on /vat/tmp/portage to reduce the disk i/o on my
> > laptop. Here is the line I use in the /etc/fstab:
> >
> > none /var/tmp/portage tmpfs nr_inodes=1M,size=2G
> > 0 0
> >
> > This will allow the directory /var/tmp/portage to use at most 2GB of
> > memory (I have 4GB).
> > It is enough to compile most of the packages in portage.
I've found that it isn't necessary to limit the tmpfs to half your RAM. I
had it set to 6 GB on this box with 4 GB RAM. The kernel seems effective at
managing this arrangement, swapping out to disk when needed - which, as you
say, isn't often. When it does that I only find out by running top; it has no
discernible effect on the desktop.
--
Rgds
Peter
prev parent reply other threads:[~2011-03-06 8:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-05 10:48 [gentoo-user] mounts options on a laptop Stéphane Guedon
2011-03-05 11:29 ` Florian Philipp
[not found] ` <AANLkTi=pd-hxLEsMsR1DjKh7KFTOenoe1PTpEGJiBHF9@mail.gmail.com>
2011-03-05 12:16 ` [gentoo-user] Re: [gentoo-laptop] " Stéphane Guedon
2011-03-06 8:38 ` Peter Humphrey [this message]
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=201103060838.12509.peter@humphrey.ukfsn.org \
--to=peter@humphrey.ukfsn.org \
--cc=gentoo-user@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