How are cpuunits balanced when virtual machines have different numbers of cores?
For a simplified example, say I have a two core hypervisor. There are three virtual machines running on the hypervisor. One has two cores and two have one core. All three have 1024 cpuunits, unlimited limit.
In a maximum load scenario, will each machine receive 2/3 of a core or will the two core machine receive an entire core and the other two machines half a core each?
I am trying to figure out a billing scenario where I allow a user to create multiple machines with a maximum combined total cpu power. Ex: Planning for 1024 cpu units per hypervisor core, allow a user to create one machine that uses 2048 units or four that get 512.
For a simplified example, say I have a two core hypervisor. There are three virtual machines running on the hypervisor. One has two cores and two have one core. All three have 1024 cpuunits, unlimited limit.
In a maximum load scenario, will each machine receive 2/3 of a core or will the two core machine receive an entire core and the other two machines half a core each?
I am trying to figure out a billing scenario where I allow a user to create multiple machines with a maximum combined total cpu power. Ex: Planning for 1024 cpu units per hypervisor core, allow a user to create one machine that uses 2048 units or four that get 512.