I have ESXi hypervisor with i7 990x cpu and i want to understand how to provide resources to 4 Virrual Machines with maximum benefit.
First my idea was to provide 1 core for less cpu-dependent vms, and 2 cores for more cpu-dependent vms, and then i thought that while some vms will not use their cores, other vms will run out of cpu resources. Also, i don't know how ESXi provides cores - perhaps it can provide first cpu many times, and last one will never be used.
Is it a good idea to share one cpu between vms? I mean
- 1vm: 2cores
- 2vm: 2cores
- 3vm: 2cores
- 4vm: 6cores
In sum this is 12 cores, when my processor has only 6. So, i suppose that esxi will share some cores between VMs. Is it a normal practice? Does it have any pitfalls?