Post #1501141
2026-03-24 17:29 UTC
It's sad that there isn't an easy way to get a proper swap setup in Linux, as with MacOS.
The ideal swap setup would be using zswap on an encrypted drive, offloading encryption from the CPU, but:
- fedora doesn't use zwap, instead it uses zram, so that the user doesn't risk writing RAM contents in plaintext on the SSD.
- Compressing a partition with LUKS consumes CPU cycles and pollutes the CPU cache. Better solutions exist but aren't easy to use or require a self-encrypting drive.
Replies (1)
-
@ranfdev@linuxrocks.online 2026-03-24 17:30
Also, a nice read from today: "Debunking zswap and zram myths" https://chrisdown.name/2026/03/24/zswap-vs-zram-when-to-use-what.html