(no title)
jbott | 2 years ago
Unless you’re working on a server with a ton of ram, I also think using tmpfs is more likely to shoot yourself in the foot with excess memory pressure. I don’t know of a way for the kernel to free memory if you write a huge file to the tmpfs partition by mistake, unless you use swap, and then you have the problems that come with that.
Tmpfs might be faster though!
yjftsjthsd-h|2 years ago
It defaults to 50% of physical RAM, but you can set the size option to whatever you want: https://www.kernel.org/doc/html/latest/filesystems/tmpfs.htm...
(So yes, something to consider, but totally possible to mitigate)
jbott|2 years ago
SkyMarshal|2 years ago