I’ve heard a lot of people say your swap should be 2x RAM… but do I really need 32GB of swap?
You must log in or register to comment.
Even if you don’t run into RAM exhaustion, it is always good to have some swap space, as it can be used to move less used pages to swap, and frees up RAM for more filesystem cache.
I always keep a 2GB swap partition.
right, swap usage is controlled by the swappiness value. With the default value of 60 out of 100 and almost never filling up my 32GB RAM, my swap of 8GB is always used at least a little bit, and depending on the uptime it eventually gets “full”.