For desktops, zram with no swapping to disk. Hasn’t given me any trouble yet, except for the rare news website (it’s always news websites) with a horrific memory leak.
For laptops, zram plus a low-priority swap file for suspend-then-hibernate. My old laptop drains a fair bit in sleep mode and my new one doesn’t have proper S3 suspend because microslop is pushing manufacturers to only support S0 idle.
Always a file, never a swap partition. Everything that can be encrypted lives inside the encrypted root partition.
For desktops, zram with no swapping to disk. Hasn’t given me any trouble yet, except for the rare news website (it’s always news websites) with a horrific memory leak.
For laptops, zram plus a low-priority swap file for suspend-then-hibernate. My old laptop drains a fair bit in sleep mode and my new one doesn’t have proper S3 suspend because microslop is pushing manufacturers to only support S0 idle.
Always a file, never a swap partition. Everything that can be encrypted lives inside the encrypted root partition.