I’ve heard a lot of people say your swap should be 2x RAM… but do I really need 32GB of swap?

  • Eager Eagle
    link
    English
    21 year ago

    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”.