Best swap set up?

Associate
Joined
13 Mar 2003
Posts
1,403
Location
location,location
Back in the ancient times when I started using linux it was usual to format a separate swap partition. I have just installed endeavourOS on a new nvme drive and noticed that the installer defaults to no swap. A bit reading and it seems that a separate swap partition is not recommended on solid state drives as it will concentrate wear on a small area of the drive. Alternatives seemed to be a swap file or xram or xswap ram drives. I couldn't find a clear answer on what would be the best solution.

What are you using? My system is just a general purpose desktop install.
 
I'd probably go zram if I was you. Ignore the whole swap partition wears your SSD it's a non-issue for the most part.
 
It might help if I get the name right. I see that ubuntu now defaults to a swap file. I will have to do some more reading and decide between the options.
 
Back
Top Bottom