On 04.06.2020 22:30, Ben Cotton wrote:
Swap is useful, except when it's slow. zram is a RAM drive that
uses
compression. Create a swap-on-zram during start-up. And no longer use
swap partitions by default.
I'm strongly against this, because zram will replace disk swap and
disable hibernation, which is very useful on laptops.
I suggest zswap instead (with zswap-cli[1] implementation).
[1]:
https://github.com/xvitaly/zswap-cli
--
Sincerely,
Vitaly Zaitsev (vitaly(a)easycoding.org)