public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Peter Humphrey <peter@humphrey.ukfsn.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] No space left on device ?
Date: Sat, 23 Feb 2013 23:40:55 +0000	[thread overview]
Message-ID: <201302232340.55310.peter@humphrey.ukfsn.org> (raw)
In-Reply-To: <20130223062359.GF5625@syscon7.inet>

On Saturday 23 February 2013 06:23:59 Joseph wrote:

> I have 8Gb of RAM so I change it to:
> tmpfs 		/var/tmp/portage 	devtmpfs	size=1512M,nr_inodes=1M 0 0
> 
> now it is going.

I think you've confused yourself. /var/tmp/portage is portage's working sandbox - where it does all its work while emerging packages. Its size has nothing to do with how much RAM you have, only how much space portage needs to work in.

We used to be advised to allocate swap space equal to half the RAM size, but those days are long gone. Here's what I have defined as swap:

$ grep swap /etc/fstab
/dev/sda3               none          swap    sw,pri=10       0 0
/dev/sdb3               none          swap    sw,pri=10       0 0
/dev/sda7               none          swap    sw,pri=1         0 0
/dev/sdb7               none          swap    sw,pri=1         0 0

The idea is to use the two 2G partitions (sdx3) for most operations and to bring in the two 20G partitions (sdx7) when doing some heavy lifting. I should really at least halve both of those sizes, but what the hell? Space is cheap and I don't need it for anything else pro tem.

-- 
Peter


  reply	other threads:[~2013-02-23 23:41 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-23  5:00 [gentoo-user] No space left on device ? Joseph
2013-02-23  5:38 ` Nilesh Govindrajan
2013-02-23  6:05   ` Joseph
2013-02-23  6:17     ` Canek Peláez Valdés
2013-02-23  6:23       ` Joseph
2013-02-23 23:40         ` Peter Humphrey [this message]
2013-02-23  6:21     ` Joseph
2013-02-23  8:52       ` Neil Bothwick
2013-02-23 12:42         ` Volker Armin Hemmann
2013-02-23 14:16         ` Joseph
2013-02-23 14:24           ` Volker Armin Hemmann
2013-02-23 15:44             ` Alan McKinnon
2013-02-23 18:21               ` Volker Armin Hemmann
2013-02-23 23:25               ` Peter Humphrey
2013-02-24  8:46                 ` Alan McKinnon
2013-02-23 12:41     ` Volker Armin Hemmann
2013-02-23 14:24       ` Joseph
2013-02-23 14:54         ` Florian Philipp
2013-02-23 15:46           ` Alex Schuster

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=201302232340.55310.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