Gentoo Archives: gentoo-user

From: David Abbott <dabbott@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] tmpfs for portage: how much?
Date: Tue, 21 Jan 2014 20:12:03
Message-Id: CACs9S6adYW5qKSCObEq0H+7JBEX0rs3Ei-6V+-5OBtVzWcrrDg@mail.gmail.com
In Reply to: Re: [gentoo-user] tmpfs for portage: how much? by Jarry
1 On Tue, Jan 21, 2014 at 2:53 PM, Jarry <mr.jarry@×××××.com> wrote:
2 > On 21-Jan-14 18:14, Neil Bothwick wrote:
3 >>
4 >> On Tue, 21 Jan 2014 18:03:08 +0100, Jarry wrote:
5 >>
6 >>> I would like to use tmpfs for all the package-compilation
7 >>> to spare my SSD from too many writing-cycles, but I can not
8 >>> guess how much do I need. I'm rather limited with RAM,
9 >>> if I use more than 512MB for /var/tmp/portage, my server
10 >>> lowers buffers/cache to nearly zero and starts swapping...
11 >>
12 >>
13 >> Then don't use more than 512MB, I certainly wouldn't use less for the
14 >> packages you mention.
15 >
16 >
17 > OMG, I was really over-optimistic! Even 2 GB tmpfs for
18 > /var/tmp/portage was not enough to re-compile gcc-4.7.3!
19
20 You can configure emerge to build large packages outside of the tmpfs drive.
21 https://wiki.gentoo.org/wiki/Portage_TMPDIR_on_tmpfs
22 HTH
23
24 --
25 David Abbott (dabbott)

Replies

Subject Author
Re: [gentoo-user] tmpfs for portage: how much? Jarry <mr.jarry@×××××.com>