coinboot icon indicating copy to clipboard operation
coinboot copied to clipboard

Add Swap based on zram with full memory size

Open frzb opened this issue 2 years ago • 0 comments

Currently there is no swap enable. This leads to constraints when applications allocate a lot of memory and the overall memory is on the lower end with 4 GB and let's in the worst cause the OOM killer stopping the memory allocating process. Like it currently happens with Teamred Miner in multiple GPU setup with only 4 GB system memory.

We should enable swap backed by a zram drive covering the full memory capacity or 8 GB whichever is smaller. Similiar to how it was done successfully for Fedora 34.

https://fedoraproject.org/wiki/Changes/Scale_ZRAM_to_full_memory_size

frzb avatar Mar 09 '22 09:03 frzb