From: Florian Philipp <lists@binarywings.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] No space left on device ?
Date: Sat, 23 Feb 2013 15:54:02 +0100 [thread overview]
Message-ID: <5128D80A.3060801@binarywings.net> (raw)
In-Reply-To: <20130223142415.GC3444@syscon7.inet>
[-- Attachment #1: Type: text/plain, Size: 1116 bytes --]
Am 23.02.2013 15:24, schrieb Joseph:
> On 02/23/13 13:41, Volker Armin Hemmann wrote:
>>
>> play around with size. Usually 2GB is more than enough. Except for
>> libreoffice.
>> Then umount /var/tmp/portage and mount it again.
>
> I have only 8Gb of RAM should I dedicate it all for tmpfs or only 2GB
>
tmpfs uses as much memory as necessary and nothing more. In theory, it
doesn't hurt to add all your memory to it as tmpfs will start to swap
when you run out of memory. However, it is usually a better idea to
unmount the tmpfs and use a regular file system whenever you need more
space.
As Volker noted, it is probably best to use 2GB tmpfs and when you
emerge libreoffice, (and maybe firefox and co.) to switch back to using
a regular fs. You could also expand tmpfs so that it can eat all memory
not used by your applications under normal circumstances.
Example: `free -m`
total used free
-/+ buffers/cache: 4717 3053
So in my case I'm probably fine with a 3GB tmpfs while still avoiding
excessive swapping.
Regards,
Florian Philipp
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]
next prev parent reply other threads:[~2013-02-23 14:54 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
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 [this message]
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=5128D80A.3060801@binarywings.net \
--to=lists@binarywings.net \
--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