coinboot
coinboot copied to clipboard
Add Swap based on zram with full memory size
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