This repository was archived by the owner on Feb 8, 2021. It is now read-only.
This repository was archived by the owner on Feb 8, 2021. It is now read-only.
Resource isolation between hyper-created VMs. #25
Open
Description
In a multi-tenant environment, there should be resource isolation between VMs created by hyper.
The most obvious way to do this, to me at least, is to run each VM that is created by hyper within a different host-OS cgroup.
One way to do this is to give the hyper run
command an argument like --into_cgroup=path
, and then when hyperd starts the process(es) that are the VM, it puts those into --into_cgroup
. I think this works for KVM. I don't know the other hypervisors well enough to know how well it works for them: if they have a single shared support process for multiple VMs, then resource charging won't work right.