Linux – Swap and SSD linux

linuxssdswap

I'm about to install Linux in an SSD and I have doubts about how much swap space I should allocate.

I have a 1TB SSD drive and 16GB of RAM. I'm not sure if I even need to allocate space for the swap but i have found different opinions on the internet about it.

Best Answer

It's wise to have swap space setup. From years gone by, the recommendation was to have twice the swap as you had RAM. Now about 1:1 works fine. 16GB is ~1.6% of your total disk space, so probably not a huge amount to spare.

EDIT: Oh, nearly forgot, if you are planning to use suspend to RAM (which you should), then I recommend that you have at least as much swap space as you have RAM, in this case 16GB.

Related Question