Hi, am wondering if I'm taking advantage of the HT available on my Sandy Bridge E3-1230. There are 4 physical cores (ie 8 hyper threads available) on the server, and I'm running only 4 VMs each assigned with 1 vCore.
Saw the following in the guide when I clicked on Help within the VM's Properties -> Resources area.
The way I intprereted this is with "Internal" setting, I need to assign 2 vCores (ie add 1 vCore to each of my VMs) and by doing so, 2 CPUs are available per VM (as indicated by the Linux top command and pressing 1). Both CPUs per VM will be allocated to and share the same 1 of the 4 physical cores on the E3-1230.
However, if I have anything more than 2 vCores (say as an example I assign 3 vCores to each of the VMs), every VM will have 3 CPUs available (as indicated by the Linux top command and pressing 1). However, it'll also be switched into the "None" setting, and every one CPU as seen within the top command will consume the whole of one physical core. In other words, rather than running two threads per physical core, it is now running only one thread per physical core.
Is the above interpretation correct? Also, anyone know if CentOS 5.5 64-bit is compatible with the Hot plug feature? If not, can I power down the VM, add an additional core, and power it back up? I see the disclaimer "Waning: Changing the number of virtual processors after the guest OS is installed may make your virtual machine unstable."
The Hyperthreading Sharing group provides detailed control over whether a virtual machine should be scheduled to share a physical processor core (assuming hyperthreading is enabled on the host at all).
■ | Any – (default) The virtual CPUs of this virtual machine can freely share cores with other virtual CPUs of this or other virtual machines. |
■ | None – The virtual CPUs of this virtual machine have exclusive use of a processor core whenever they are scheduled to it. The other hyperthread of the core is “halted” while this virtual machine is using the core. |
■ | Internal – On a virtual machine with exactly two virtual processors, the two virtual processors are allowed to share one physical core (at the discretion of the ESX/ESXi scheduler), but this virtual machine never shares a core with any other virtual machine. If this virtual machine has any other number of processors than two, this setting is the same as the None setting. |