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

Reserved memory #125

Merged
merged 3 commits into from
Sep 13, 2022
Merged

Reserved memory #125

merged 3 commits into from
Sep 13, 2022

Conversation

tomwhite
Copy link
Member

Fixes #59.

Adds a reserved_mem parameter to the spec. The idea is that max_mem + reserved_mem should never exceed the total worker memory. This is not checked for, but could be via #110.

In the future we might want to change it so you specify total_mem and reserved_mem (using the measure_reserved_mem function), and the system uses max_mem = total_mem - reserved_mem.

@tomwhite tomwhite mentioned this pull request Sep 12, 2022
@tomwhite tomwhite merged commit 1adef3d into main Sep 13, 2022
@tomwhite tomwhite deleted the reserved-memory branch September 13, 2022 08:10
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.

Take reserved (baseline) memory into account
1 participant