On Tue, Jul 28, 2020 at 2:50 PM Zoltan Puskas <zol...@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.