@qwertydotplus@mastodon.social
2026-09-20 09:48 UTC
in general, though, you shouldn't ever be treating swap as emergency memory (and if your system is using it as emergency memory, then you're already thrashing, and no amount of swap will save you). swap is just the place application data is supposed to go when it's not being actively used. and if your processes are built particularly well, most of their data should not be in active use.
Replies (1)
-
@buckfiftyseven@mastodon.social 2026-09-20 13:09
@qwertydotplus@mastodon.social I guess I'm lucky on my personal machines in that I can use economical amounts of memory (8 or 16 GB) and generally only use about half of that in daily activities. Let's check my nas.. total: 3.7Gi used: 489Mi free: 2.6Gi shared: 1.2Mi buffers: 882Mi available: 3.2Gi SWAP: 0B SWAP AVAILABLE: 976Mi Obviously using swap there wouldn't buy me anything. It gets to be a whole other professional thing, of course, when sizing servers. Luckily there are metrics.