What's recommended swap size when server machine have 4GB or 16GB memory (without hibernation)?
There was recommendation formula in this link: https://docs.centos.org/5/html/Deployme ... space.html
Code: Select all
M = Amount of RAM in GB, and S = Amount of swap in GB, then
If M < 2
S = M *2
Else
S = M + 2
4GB memory => 6GB swap size
16GB memory => 18GB swap size