public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jarry <mr.jarry@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How can I control size of /run (tmpfs)?
Date: Sat, 26 May 2012 22:08:48 +0200	[thread overview]
Message-ID: <4FC13850.2020802@gmail.com> (raw)
In-Reply-To: <4FC1368E.7080005@gmail.com>

On 26-May-12 22:01, Dale wrote:
> Jarry wrote:
>>
>> after updating baselayout from 2.0.3 to 2.1-r1 /run is mounted
>> as tmpfs. But I can not find any mount-option for controlling
>> how much memory is (or could be) used for it.
>>
>> Filesystem     1K-blocks    Used Available Use% Mounted on
>> tmpfs            8223848     224   8223624   1% /run
>>
>> I know it does not use 8GB right now, yet I'd like to reduce
>> it to some lower value, not half of my physical memory.
>> How can I do it? Can I simply add line in fstab like:
>>
>> none /run tmpfs size=128m 0 0         ???
>>
>> Jarry
>
> Holy smoke !  Mine is doing the same thing.
> tmpfs                   7.9G  260K  7.9G   1% /run
>
> But I also have this:
> tmpfs                   7.9G     0  7.9G   0% /var/tmp/portage
>
> So, between those two, I could run out of ram since I have 16Gbs.
>
> There is now TWO people that needs a answer to this question.  Why does
> it need that much anyway?  It looks to me like a few hundred Mbs, like
> Jarry posted, would be plenty.  Jeepers creepers.  lol
>
> Dale

I suppose default size for tmpfs is half of physical memory,
if it is not configured somewhere else.

BTW, is there any way to turn this great feature off?
What is it good for? I do not see any advantage in having
/run on tmpfs...

Jarry
-- 
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



  reply	other threads:[~2012-05-26 20:13 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-26 19:46 [gentoo-user] How can I control size of /run (tmpfs)? Jarry
2012-05-26 20:01 ` Dale
2012-05-26 20:08   ` Jarry [this message]
2012-05-26 20:28     ` Dale
2012-05-26 20:43       ` Michael Mol
2012-05-26 20:44       ` Alex Schuster
2012-05-26 21:02       ` Michael Hampicke
2012-05-26 21:20         ` Michael Mol
2012-05-26 23:23         ` Alan McKinnon
2012-05-26 20:33     ` Michael Mol
2012-05-26 20:40     ` Neil Bothwick
2012-05-26 22:17       ` Dale
2012-05-26 22:34         ` Neil Bothwick
2012-05-26 23:17           ` Dale
2012-05-26 23:21             ` Alan McKinnon
2012-05-27  0:15               ` Dale
2012-05-27  2:30                 ` Pandu Poluan
2012-05-27  3:06                   ` Dale
2012-05-27  4:29                     ` Joshua Murphy
2012-05-27  4:51                       ` Dale
2012-05-27  5:22                         ` Joshua Murphy
2012-05-27  6:04                           ` Dale
2012-05-27  6:20                       ` Canek Peláez Valdés
2012-05-27  6:34                         ` Canek Peláez Valdés
2012-05-27  7:05                         ` Jarry
2012-05-27  7:59                           ` Alan McKinnon
2012-05-27 12:41                             ` William Kenworthy
2012-05-27  8:24                           ` Neil Bothwick
2012-05-28 18:31                             ` Jarry
2012-05-28 18:58                               ` Michael Mol
2012-05-28 19:24                                 ` Jarry
2012-05-28 20:40                                   ` Alan McKinnon
2012-05-28 21:19                                   ` Michael Mol
2012-05-28 22:38                                   ` Neil Bothwick
2012-05-28 22:41                               ` Neil Bothwick
2012-05-27  8:16                       ` Neil Bothwick
2012-05-26 22:45         ` Michael Mol
2012-05-28  2:06         ` Walter Dnes
2012-05-28  3:44           ` Pandu Poluan
2012-05-28 17:47             ` pk
2012-05-29  2:38               ` Pandu Poluan
2012-05-26 21:47 ` [gentoo-user] " Nikos Chantziaras

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=4FC13850.2020802@gmail.com \
    --to=mr.jarry@gmail.com \
    --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