Condition: to activate
zswap module in Ubuntu 16.04 successfully for Matlab/.... computation
Relevant part in
... zswap.enabled=1 # NB only change here GRUB_CMDLINE_LINUX="" # NB also tried to have the line here unsuccessfully ...
I try to activate
zswap and run
Searching for GRUB installation directory ... found: /boot/grub /etc/default/grub: line 12: zswap.enabled=1: command not found
I also tried the code where
zswap line is after
My current setting after heynnema's answer
Have the following in
/etc/default/grub, which works unspecifically;
dmesg | grep zswapsreturns something
# https://wiki.archlinux.org/index.php/Zswap GRUB_CMDLINE_LINUX_DEFAULT="quiet splash zswap.enabled=1 zswap.max_pool_percent=25 zswap.compressor=lzo"
Its effect on the maximum Ram?
There are some threads about it is saving some pages in the pool, etc zswap: How to determine whether it is compressing swap pages? However, there is no studies about its effect on the maximum Ram for the computaion.
System: Linux Ubuntu 16.04 64 bit
Linux kernel: 4.6
Linux kernel options: wl
Hardware: Macbook Air 2013-mid
Related threads: How can I enable zswap?, Zswap Arch Linux, zswap: How to determine whether it is compressing swap pages?