4

This answer says that zswap decompresses pages before writing them to non-RAM swap.

Is there any way to compress the pages written to disk, ideally with lz4?

I hope to:

  • Reduce SSD write wear
  • Reduce swap disk allocation
  • Speed up swap IO (hopefully fewer blocks are written/read to/from disk)
1

The only solution I've found is not using a dedicated swap partition and storing the swapfile in a zfs partition.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.