On Friday, June 5, 2020 3:20:30 AM MST Kamil Paral wrote:
On Thu, Jun 4, 2020 at 10:32 PM Ben Cotton <bcotton(a)redhat.com>
> == Summary ==
> 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 haven't tested it personally on my system yet, but I've read the proposal
carefully (it's very well described, thank you!) and it sounds like a good
change, so thumbs up at the moment. This might offer much better system
interactivity under heavy RAM workloads compared to alternative OSes which
don't use RAM compression (e.g. Windows). I like that. If /dev/zram0 really
dynamically scales up and down and occupies no real memory when swap is not
used, I can't see any disadvantages there. The only thing is that it will
prevent using hibernation by default, but that's a whole different topic
that is dealt with separately and I understand it's sadly a very broken
feature at the moment anyway.
At the moment, it seems that hibernation is only broken on systems with Secure
Boot enabled, because of a kernel lockdown anti-feature.
John M. Harris, Jr.