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

new allocator service #654

Closed
wants to merge 1 commit into from
Closed

new allocator service #654

wants to merge 1 commit into from

Conversation

eraykaradag
Copy link

I added the allocator service in the workspace. To be able to run "sudo ./target/debug/allocator" also make sure you have the new version of config file. Didn't decide yet but i will make it backward compatible due to feedback from @meerd .

new version of config file under /etc/nitro_enclaves/allocator.yaml

- memory_mib: 1024
  cpu_count: 2  
- memory_mib: 512
  cpu_pool: 2,6

You can specify cpu ids with cpu_pool tag instead cpu_count. You can give range for pool like "1-5"

I didn't change anything on nitro-cli resource manager side. It's because allocator service will allocate what exactly needed so nitro-cli can't overallocate and steal others resource.

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.

1 participant