logoalt Hacker News

man8alexd • yesterday at 3:20 PM • 1 reply • view on HN

vm.swappiness doesn’t work the way most people assume it does. and it is ignored under heavy memory pressure.


Replies

xaduha • today at 8:52 AM

Maybe, but it still there and probably has a different value between distros as well. Default value is 60, what is that good for exactly?

If you're in a position where you still want swap to be there, but only used in extreme situations, then you should set it yourself. Otherwise disable swap or switch a language.

➕ show 1 reply