Virtual machines in an SMP system should be configured to use multiple CPUs only if they are
running applications that are multi-threaded or implemented to use multiple processes.
Also, as
mentioned earlier, single-threaded workloads cannot make use of the second virtual processor
in a virtual machine. Depending on the guest operating system scheduling behavior, the
second virtual CPU may still consume resources and reduce the flexibility of the ESX Server
scheduler, without enhancing application performance.
This best practice recommendation differs from the common practice of configuring physical
enterprise servers with at least two CPUs. While in typical business environments such a practice
normally enables standardization and the possibility of system reuse, in virtual infrastructure,
where provisioning is virtually free, having the second CPU just in case, does not carry similar
benefits. In addition, virtual infrastructure changes the nature of the trade-off between scaling
up and scaling out your platforms. In many cases, ESX Server running a combination of SMP and
single-virtual CPU virtual machines can utilize the physical CPUs most efficiently.
Bookmarks