From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Rusty problems
Date: Wed, 28 Apr 2021 23:54:01 +0100 [thread overview]
Message-ID: <20210428235401.7f200501@digimed.co.uk> (raw)
In-Reply-To: <e68a250f-2e5d-5346-1feb-58bd9c2f2496@youngman.org.uk>
[-- Attachment #1: Type: text/plain, Size: 1140 bytes --]
On Wed, 28 Apr 2021 23:05:35 +0100, antlists wrote:
> > There have been several tests posted over the years that show that
> > using a tmpfs for TMPDIR doesn't give as much of a gain as you would
> > expect. With NVMe drives, the difference is likely to be even
> > smaller.
>
> But that's not the only reason for a tmpfs. I guess the reason tmpfs
> doesn't necessarily give much gain is because linux caches everything
> so it's quite possible stuff never gets written to disk.
Agreed, but I was only responding to the comment that building on an SSD
was no slower than tmpfs.
> And I know gentoo does clean up behind itself, but I use tmpfs so the
> system cleans up behind it too, and it's got as much room as it needs.
I can't agree with the second part, a tmpfs has far less space than a
disk. I had a gcc build fail this morning when /tmp filled up. Not
because gcc needs more than I had but because another emerge had failed
and left a G or two in /tmp. You'll always have more disk space than
RAM - embedded aside.
--
Neil Bothwick
Forget the Joneses...I can't keep up with The Simpsons.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2021-04-28 22:54 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-27 20:53 [gentoo-user] Rusty problems Alan Mackenzie
2021-04-27 21:17 ` Matt Connell (Gmail)
2021-04-27 22:00 ` Michael
2021-04-28 8:58 ` Wols Lists
2021-04-28 9:21 ` Michael
2021-04-27 22:02 ` tastytea
2021-04-27 22:38 ` Teru Yuu
2021-04-27 23:09 ` Neil Bothwick
2021-04-28 11:12 ` Alan Mackenzie
2021-04-28 12:03 ` Neil Bothwick
2021-04-28 22:05 ` antlists
2021-04-28 22:54 ` Neil Bothwick [this message]
2021-04-28 7:04 ` J. Roeleveld
2021-04-28 7:25 ` Andrew Lowe
2021-04-29 6:36 ` Adam Carter
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=20210428235401.7f200501@digimed.co.uk \
--to=neil@digimed.co.uk \
--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