How to Activate Zswap Successfully for Matlab Computation in Ubuntu 16.04?
Solution 1:
You put your zswap.enabled
in the wrong place.
Change this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
zswap.enabled=1
To this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash zswap.enabled=1"
then sudo update-grub
and reboot
.
If it doesn't work, it may not be available/compatible with 16.04.