Regarding swap file vs swap partition: Is one better than the other? When I installed Kubuntu on my machine, both options were available and I chose the swap file. The OS is installed on an SSD.