There’s some instructions here but basically:
-
sudo apt install zram-config
-
append to end of
/etc/sysctl.conf
:vm.swappiness = 180 # disable swap readahead (since using zram swap) vm.page-cluster = 0
Can check these have been applied with
cat /proc/sys/vm/page-cluster
or.../swappiness
I just tried this and it was blurry until I logged out and back in!