Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Running out of space on /var partition
Date: Wed, 27 Jul 2011 13:25:01
Message-Id: 201107271423.27402.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] Running out of space on /var partition by Alexander Puchmayr
1 On Wednesday 27 Jul 2011 08:24:37 Alexander Puchmayr wrote:
2 > Depending on your available ram and swap space, you might want to mount
3 > /var/tmp/portage as tmpfs. My fstab entry shows
4 >
5 > none /var/tmp/portage tmpfs
6 > size=10g,nr_inodes=1m
7 >
8 > I have 4GB ram, and the speed benefit especially for open/libre-office is
9 > quite impressive.
10 >
11 > The advantage is, that it
12 > a) uses only as much of memory as is really used
13 > b) you may use mount option -remount to increase the size of the
14 > filesystem, and add proper swapfiles if you see that you're running out of
15 > space (mkswap, swapon)
16
17 I also only have 4G of RAM and libreoffice seems to need more than 7-8G of
18 /var/tmp/portage to compile and build. OOo does it in less that 5G.
19
20 What will libreoffice do if /var/tmp/portage is a tmpfs? Start swapping like
21 mad?
22
23 --
24 Regards,
25 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Running out of space on /var partition Michael Mol <mikemol@×××××.com>