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

compose: increase zram at runtime #276

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

compose: increase zram at runtime #276

wants to merge 1 commit into from

Conversation

jakogut
Copy link

@jakogut jakogut commented Oct 28, 2024

To alleviate memory pressure, increase zram to 50% of total memory at runtime. This allows the host to compress inactive pages to reduce contention.

This service optionally allows for the maximum zram percentage and compression algorithm to be modified at runtime using variables.

Change-type: patch

@jakogut jakogut requested review from ab77 and klutchell October 28, 2024 15:40
To alleviate memory pressure, increase zram to 50% of total memory at
runtime. This allows the host to compress inactive pages to reduce
contention.

This service optionally allows for the maximum zram percentage and
compression algorithm to be modified at runtime using variables.

Change-type: patch
Signed-off-by: Joseph Kogut <[email protected]>
@klutchell
Copy link
Collaborator

I haven't seen any OOM on this device recently, which is promising. We can leave it for longer and see how it goes.
https://dashboard.balena-cloud.com/devices/ace0fda69b68c9d6085ebeb11866baf6

@ab77 ab77 removed their request for review October 31, 2024 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants