public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mike Gilbert <floppym@gentoo.org>
To: Gentoo Dev <gentoo-dev@lists.gentoo.org>
Subject: Re: [gentoo-dev] systems-246 changes tmpfs default size from 50% to 10% of RAM
Date: Tue, 28 Jul 2020 15:13:56 -0400	[thread overview]
Message-ID: <CAJ0EP43H3K2ORnPovRaXAk+jupVRxu==SmaivAN8Nzj0OwQSMw@mail.gmail.com> (raw)
In-Reply-To: <20200728185021.GA4811@zenit>

On Tue, Jul 28, 2020 at 2:50 PM Zoltan Puskas <zoltan@sinustrom.info> wrote:
>
> Hi,
>
> I've upgraded to and running systemd-246_rc2 on one of my systems and
> noticed that tmpfs mounted directories are significantly smaller.
>
> This is because with commit
> https://github.com/systemd/systemd/commit/7d85383edbab73274dc81cc888d884bb01070bc2
> they have changed them to be 10% of the physical memory instead of the
> default of 50%.
>
> This is a potentially breaking, or at least an unexpected behaviour
> change, especially for people using tmpfs on /tmp for compiling.
>
> Maybe we should make a news item to let people know that they either
> need to add an fstab entry with size option set, or better, create a
> systemd local override with relevant content.

Don't use /tmp for PORTAGE_TMPDIR. /tmp is meant for small temporary
storage. If you want to compile in a tmpfs, set up a separate mount
point for it.

I don't intend to create a news item for this, but I would not object
to someone else doing it.


  reply	other threads:[~2020-07-28 19:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-28 18:50 [gentoo-dev] systems-246 changes tmpfs default size from 50% to 10% of RAM Zoltan Puskas
2020-07-28 19:13 ` Mike Gilbert [this message]
2020-07-28 19:19   ` Mike Gilbert
2020-07-29  0:25     ` Zoltan Puskas
2020-07-29  0:09   ` Zoltan Puskas
2020-07-29  1:10 ` Brian Evans

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='CAJ0EP43H3K2ORnPovRaXAk+jupVRxu==SmaivAN8Nzj0OwQSMw@mail.gmail.com' \
    --to=floppym@gentoo.org \
    --cc=gentoo-dev@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