Is a swap partition still necessary?
by Regnad Kcin from LinuxQuestions.org on (#55S75)
I have 16GB of ram, Intel i7-9700K (8) @ 4.900GHz, Asrock z390-itx mainboard, 1TB NVME, and 4TB backup SATA. I have Slackware64-current. I presently have a 8GB swap partition. I do some video rendering and some DNA sequence alignments which are the most computation and memory intense things that I do. I do monitor the memory use and I dont see the RAM use getting above 10 to 12 GB at any time even on a big video rendering project using all 8 threads intensively for about an hour of rendering time. The swap partition never seems to get used. Some years back I had 4GB memory and the swap partition would be employed on some DNA alignment tasks. I dont ever see it used any more.
So, do I still need a Swap partition? Old thinking would be that I would have a 32GB swap out there but I only have 8 GB now. I see that some asked this question ten years ago but 16 GB of RAM was less common back then. Of course I could disable the swap and experiment but I am interested in the experience and opinion of others.


So, do I still need a Swap partition? Old thinking would be that I would have a 32GB swap out there but I only have 8 GB now. I see that some asked this question ten years ago but 16 GB of RAM was less common back then. Of course I could disable the swap and experiment but I am interested in the experience and opinion of others.