I ended up reading about zram today and decided to give it a go. The install process on Ubuntu (and I assume Debian) is simple:
You should now see several zram devices. They’ll have a higher priority than the disk based swap. This means that they’ll swap in and out cheaper with a slight cpu/memory cost. At least that’s the theory.
Be interesting to see if it works.
Also learned this week that gnome-shell leaks memory and a nightly cron
job that does
killall -HUP gnome-shell is a good idea. This seems
sub-optimal. Maybe it’s time to try going back to