Comment 110 for bug 159356

Revision history for this message
Dima (dima2017) wrote :

So as a conclusion for my old 2Gb laptop, I've set zram to twice of amount of physical RAM (/usr/bin/init-zram-swapping), and have added this parameters to /etc/sysctl.d/99-sysctl.conf:

vm.min_free_kbytes=128000
vm.overcommit_memory=2
vm.overcommit_ratio=90

And seems it work for me. And I have to say that I don't have physical swap and have /tmp and /var/tmp mounted to ram disk.