raboof wrote:Jack Winter wrote:I suspect what lilith means is if you use RAM-backed storage instead of Disk-backed storage, that might reduce wear and tear on your SSD. So using tmpfs/SHM for transient data instead of your SSD is probably a good idea.
Yes, but /dev/shm is a tmpfs even if you haven't mounted it so in fstab, it's automatic nowdays, and as all tmpfs by default it gets a maximum of half your ram. I just saw that steam also uses a few MB on it.
Or maybe it's systemd that mounts it automatically, and I've been misled by my system
I haven't looked at this for years, back then I concluded that it was not an issue that really concerned me. Possibly after so many discussions on the subject I ought to read the kernel documentation again to refresh my memory
Still the beauty of using Linux is that we can all do as we want, and I suppose that there is no right way to do anything. Just trying to bring over the POV that this probably is not an issue for most people and that explicitly mounting it doesn't really offer any advantage than changing the max size available. I really don't know many apps that use it, and personally I've never seen it taking up much ram at all. YMMV and all that.