Stop making swap partitions—use swap files instead!
Summary
The article argues that Linux swap files match the performance of swap partitions and are easier to manage. It provides a simple, step-by-step guide to create, secure, format, enable, and persist a swap file, with a note on using Btrfs.