Swap on SSD: partition or file?
I'm installing Ubuntu on a Samsung evo 850 SSD drive. System has 4GB memory but no other harddrive. Should I use thedefault partition table or install without swap and make a swap file after installation? Or does it even make a difference whether it’s a partition or a file?
Solution 1:
For new installations of Ubuntu 17.04 and later a swap file is created by default instead of a swap partition. The first LTS release to use a swap file by default is Ubuntu 18.04. It's a logical new feature because of the emergence of SSDs. Creating a swap partition on an SSD will cause life-decreasing wear.*