Now that Ubuntu (since 17.04) uses a swap file instead of a swap partition, can the swap settings be adjusted with the same methods used for swap partitions?
For example, to set your swap to 40, will
sudo sysctl vm.swappiness=40
still work?
And will adding vm.swappiness = 40
to /etc/sysctl.conf
retain the new settings after restart?