4 ms·
'systemctl mask tmp.mount' - the most important command to run in these situations. It's a really bad idea to put /tmp into memory. Filesystems already use me
by rwmj 1y ago
'systemctl mask tmp.mount' - the most important command to run in these situations.
It's a really bad idea to put /tmp into memory. Filesystems already use memory when necessary and spill to the filesystem when memory is under pressure. If they don't do this correctly (which they do) then fix your filesystem! That will benefit everything.
- nolist_policy 1y agoYou'd think that, but in ext4 the first write to a new file will hit the disk (the code mentions it is a workaround for something). Btrfs does it correctly.
- rwmj 1y agoSounds like fixing that ext4 problem could make a lot of things go faster.