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

minimega: fix optimize API #1199

Merged
merged 2 commits into from
Nov 14, 2018
Merged

Conversation

jcrussell
Copy link
Contributor

Make the optimize API mostly work with namespaces:

  • hugepages and affinity can be set per namespace.
  • ksm is set globally.

Need to test ksm and hugepages. affinity seems to work as expected.

Make API namespace-aware. Change some of the semantics of the command.
Fixes crash. Updates sandia-minimega#1193.

Needs testing, especially ksm and hugepages.
Seems to fix issues with `optimize affinity`. Moved `VMs.Start` to
`Namespace.Start` so that we can set affinity before starting the VM, if
its enabled.
@jcrussell jcrussell added this to the 2.6 milestone Nov 13, 2018
Copy link
Contributor

@djfritz djfritz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@djfritz djfritz merged commit 9122621 into sandia-minimega:master Nov 14, 2018
@jcrussell jcrussell deleted the issue-1193 branch November 14, 2018 22:03
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.

None yet

2 participants