Brain Phrye

code cooking diy fiction personal photos politics reviews tools 


[ Listen to article ]

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:

sudo apt install zram-config
sudo systemctl start zram-config
cat /proc/swaps

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 twm?