-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Implement rctl
limits for the VMs
#103
Labels
new feature
Label to apply to new features development
Comments
Closing this issue due to a lack of time. Might come back to it later at some point, given there is an outside interest. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The problem
Sometimes you want to limit the amount of CPU in %, or a storage read/write capabilities for a particular VM because it slows down the whole system.
rctl
can be used to do just that.vm_supervisor
will need to patched to apply the limits reliably.In particular, I'll implement these to start with:
The limits can be applied to both a live/running VM, and a VM that has just started. So there will be a CLI flag to apply the limit, but also a config flag to apply limits at the VM start-up.
Some info for the future me
Get bhyve VM/process current usage:
List current rules:
Apply a new rule:
Remove a rule:
Visit
rctl
man page for more info:https://man.freebsd.org/cgi/man.cgi?query=rctl&sektion=8
The text was updated successfully, but these errors were encountered: