logoalt Hacker News

melvyn2today at 3:25 PM1 replyview on HN

  echo 1 > /sys/module/zswap/parameters/enabled

It's in TFA.

Replies

prussiantoday at 3:42 PM

enabling != configuring. Are you saying this is all that's necessary, assuming an existing swap device exists? That should be made clearer.

Edit: To be extra clear. When I was researching this, I ended up going with zram only because:

* It is the default for Fedora.

* zramctl gives me live statistics of used and compressed size.

* The zswap doc didn't help my confusion on how backing devices work (I guess they're any swapon'd device?)

show 2 replies