|
|
|
|
|
by AlTobey
4374 days ago
|
|
My recommendation for any server with enough RAM is to disable swap. This works on just about every system whether swap is configured or not. That said, on my Linode I have swappiness=1 and a few GB of swap on the SSD since it is memory-constrained. In any case, I've been running vm.swappiness=0 or 1 on nearly every machine I touch for many years now and have yet to see any problems. Swap is almost always a bad idea on modern machines. Thanks for reading! |
|
I currently have 1.2GB of swap in use on a machine that is not doing any active swapping at all; that's 1.2GB more space for caching.
[edit for spelling]