How to enable zswap?

Zswap is not a swap device like a swapfile or swap partitio. It is a kernel feature which works in conjunction with a swap device. This feature is enabled by default in the kernel.

You would need a swapfile or swap partition to take advantage of this mecahanism.

2 Likes