I have been setting up Zram, Swap, Swappiness and EasyOOM daemon on 16gb ram boxes, or lower. Someone asked me about 32gb of ram, or more, and I’m unsure. Wondering if others have experimented with this!
I have been setting up Zram, Swap, Swappiness and EasyOOM daemon on 16gb ram boxes, or lower. Someone asked me about 32gb of ram, or more, and I’m unsure. Wondering if others have experimented with this!
Why do you think 32GiB is special compared to 16GiB?
And wtf is EasyOOM?
You maximize the usefulness of
zramby actually increasing sappiness, and givingzramdevices high priority. e.g.sysctl vm.swappiness=100 for i in {1..8}; do swapon /dev/zram${i} -p 32767 doneThen you enable other swap devices with lower priority.
This is the way regardless of how much RAM you have. I mean, it may be pointless if you never ever exceed, let’s say 10/32GiB (including caching). But it still wouldn’t be harmful in any way.
https://github.com/rfjakob/earlyoom
Oh, you wrote “easy” not “early” in OP. In any case, this looks stupid. But to each their own, I guess.