Zram swap or an alternative for git master - using image builder

I am unable to get zram-swap installed due to a missing dependency (swap-utils). Is zram-swap deprecated or is the swap-utils package still being built?

It's a known issue and there's a pending patch to fix it.

2 Likes

What about the sysctl parameters? Maybe we need to increase the vm.swappiness (from 60 to 100) or something else when zram-swap installed?

I'd rather not have the zram configuration touching sysctl parameters arbitrarily. Not all systems are equal, it's up to the administrator to decide. This is what I use.

vm.page-cluster = 0
vm.swappiness = 200

Note that a swappiness value above 100 is a recent feature (starting with Linux 5.8).

1 Like