On 28/04/2021 13:03, Neil Bothwick 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.
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. When you see things like firefox allegedly needing 10s of gigs, I thought "just give it oodles and let it take what it wants".
Cheers, Wol