Skip to content

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