Theme 1 – Convenience and ease of setup
Many commenters point out that swap files are simpler to create and manage, especially when full‑disk encryption is involved.
“Swap files are also much easier to set up than partitions if you're using full disk encryption.” – mdspan
Theme 2 – Reliability and fragility concerns
Several users warn that swap files can be problematic for hibernation, may suffer from fragmentation, and are often allocated statically rather than being resized dynamically.
“Swap files are very fragile if you are using hibernation.” – demomode
“Linux distros that do use swap files do so statically. It doesn't handle dynamically growing and shrinking it …” – charcircuit
Theme 3 – Performance impact tied to disk layout and fragmentation
Performance considerations arise on HDDs or older filesystems; placement on the disk and fragmentation matter significantly.
“In practice, there’s a potentially tremendous impact if you’re using a spinning metal disk … sectors at the ‘beginning’ of the disk … are read/written way faster …” – WalterGR
“… there can be a performance impact if the filesystem is old … as long as the swap file isn’t fragmented there’s no impact.” – dwedge