This situation occurs when u add 8 vCPU's to your Windows 2008 Standard 64 Bit Virtual machine, but inside the guest operation system u will see only as 4 CPU's.
Reason:
Reason:
Some operating
system SKUs are hard-limited to run on a fixed number of CPUs. For
example, Windows Server 2003 Standard Edition is limited to run on up to
4 CPUs. If you install this operating system on an 8-socket physical
box, it runs on only 4 of the CPUs. The operating system takes advantage
of multi-core CPUs so if your CPUs are dual core, Windows Server 2003
SE runs on up to 8 cores, and if you have quad-core CPUs, it runs on up
to 16 cores, and so on.
Virtual CPUs
(vCPU) in VMware virtual machines appear to the operating system as
single core CPUs. So, just like in the example above, if you create a
virtual machine with 8 vCPUs (which you can do with vSphere) the
operating system sees 8 single core CPUs. If the operating system is
Windows 2003 SE (limited to 4 CPUs) it only runs on 4 vCPUs.
Note: Remember that 1 vCPU maps onto a physical core not a physical CPU, so the virtual machine is actually getting to run on 4 cores.
This new setting, which you can add to the virtual machine configuration ( .vmx) file, lets you set the number of cores per virtual socket in the virtual machine.
To implement this feature:
- Power off the virtual machine.
- Right-click on the virtual machine and click Edit Settings.
- Click Hardware and select CPUs.
- Choose the number of virtual processors.
- Click the Options tab.
- Click General, in the Advanced options section.
- Click Configuration Parameters.
- Include cpuid.coresPerSocket in the Name column.
- Enter a value (try 2, 4, or 8) in the Value column.
Notes: Ensure that the number of vCPUs is divisible by the number of cpuid.coresPerSocket in the virtual machine. That is, when you divide the number of vCPUs by the number of cpuid.coresPerSocket , it must return an integer value. For example, if your virtual machine is created with 8 vCPUs, coresPerSocket can only be 1, 2, 4, or 8.
The virtual machine now appears to the operating system as having multi-core CPUs with the number of cores per CPU given by the value that you provided in step 9.
- Click OK
- For example:
Using 4 vCPUConfiguration you wantSettings needed for this configurationNumber of socketsNumber of cores per socketTotal coresSet vCPU to:Set cpuid.coresPerSocket/sockets to:1444422442Using 8 vCPUConfiguration you wantSettings needed for this configurationNumber of socketsNumber of cores per socketTotal coresSet vCPU to:Set cpuid.coresPerSocket/sockets to:188882488442882