Skip to content

Add Swap based on zram with full memory size  #54

@frzb

Description

@frzb

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions