I read about swappiness and I understood that for desktops a better swappiness value would be lower and that 60 is good for servers. Exactly why is it good for "servers"?? I read some answers on various forums (such as this question http://unix.stackexchange.com/questions/88693/why-is-swappiness-set-to-60-by-default) but couldn't understand. Please use easy terms :D
closed as primarily opinion-based by mikewhatever, psusi, Alvar, Braiam, Avinash Raj Feb 13 at 3:37
Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise.If this question can be reworded to fit the rules in the help center, please edit the question.
Your premise is wrong. There is no 'good for servers' swapiness value.
Swapiness is the amount of swapping that is done, especially how aggressively you swap. For my servers the swappiness is close to zero, as I make damn sure they have memory enough for everything. There is no 'best for servers' value. there is 60, which is the default, and then there is "your value" which depends on usage and available memory.
If you have servers that sometimes use LOADS of memory, you could have them higher than default, but I would say that some servers (database servers?) might want to keep them way lower than a home computer would.
|show 2 more comments|