Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Swap based on zram with full memory size #54

Open
frzb opened this issue Mar 9, 2022 · 0 comments
Open

Add Swap based on zram with full memory size #54

frzb opened this issue Mar 9, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@frzb
Copy link
Owner

frzb commented Mar 9, 2022

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 frzb added the enhancement New feature or request label Mar 9, 2022
@frzb frzb self-assigned this Mar 9, 2022
@frzb frzb changed the title Add Swap based on zram with with full memory size Add Swap based on zram with full memory size Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant