El 24/7/25 a las 16:43, Rahul Sandhu escribió:
Hi Dale,

That's the biggest reason I have portage's work directory on tmpfs.  If
I start having to do it on a disk because of a lack of memory, I'll do
it on spinning rust to save my m.2 stick.

This really isn't all that true these days, please take a look at the
Gentoo wiki article for Portage TMPDIR on tmpfs, which states[1]:

Users are strongly cautioned against buying additional RAM to use as tmpfs.

[1] https://wiki.gentoo.org/wiki/Portage_TMPDIR_on_tmpfs

Regards,
Rahul

Its not question of thuth if not opinions instead, and neither to buy more RAM modules but to take a computer with enough RAM from the beginning (I will try the next one having 64 GB).

I don't have swap on disk. And got a system with 32 gb of RAM. I dedicate 16 of them to /var/tmp/portage. My PC could die and the harddisk still alive to be used in another system (such as rockpi4c+)

If you don't use RAM as tmpfs maybe your harddisk will live 5 years, if it's almost full don't so many years according of the TBW of each hardisk.

So, is not buy more RAM, is question to get from the beginning enough RAM to be able to protect your SSD disk. You can also put your distfiles dir in tmpfs use --jobs 1 and got it to remove it after emerging.

Less writtings more lifespan and gentoo does so many writes when emerging.

Attachment: OpenPGP_0x57E64E0B7FC3BEDF.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to