Skip Navigation

How much swap?

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

56

You're viewing a single thread.

56 comments
  • It’s something that Linux users have been saying for 20 years and it’s outdated. It makes sense when maybe your computer came with less than a GB of RAM, but these days I usually configure a server with a small amount of swap (like a couple of GB), and I set swappiness to something very low like 5.

You've viewed 56 comments.