Should I remove the swap partition on a system upgraded to 17.04?
Solution 1:
Ubuntu 17.04 changed the default behavior of the installer from creating a swap partition to creating a swap file. (see the release notes).
With this noted, both Ubuntu pre-17.04 and post-17.04 support both a swap partition and a swap file.
As for whether you should switch or not, I'd look at a question specific to that for details. Summed up here for clarity though:
The main advantage of a swap file over a swap partition is that resizing a swap file is many times easier. Resizing a swap partition requires adjusting the partition layout, probably booting from a live disk if you want to do any real adjustment, and a lot of time to move your data around. The swap file is just a few commands, and can be done live.
In short, if you are happy with your current size of swap partition, there is no reason to change. It'll take just as much effort turning a swap partition into a swap file as it would resizing a swap partition, only difference being future resizes will be much easier.