让vmware中的win7支持8个cpu

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 in the Value column.

Note: 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.
Power on the virtual machine.
For example:

Create an 8 vCPU virtual machine and set cpuid.coresPerSocket = 2. Window Server 2003 SE running in this virtual machine now uses all 8 vCPUs. Under the covers, Windows sees 4 dual-core CPUs. The virtual machine is actually running on 8 physical cores.

Note:
To be able to assign more than 4 vCPUs or if the processor supports more than 6 core(s) per processor, you have to assign an Enterprise Plus license, which supports up to 8 vCPUs and 12 core(s) per processor.
Only values of 1, 2, 4, 8 for the cpuid.coresPerSocket are supported for the multi-core vCPU feature in ESX 4.x.
In ESX 4.0, if multi-core vCPU is used, hot-plug vCPU is not permitted, even if it is available in the UI.
Only HV 7 virtual machines support the multi-core vCPU feature.
Important: When using cpuid.coresPerSocket, you should always ensure that you are in compliance with the requirements of your operating system EULA (Regarding the number of physical CPUs on which the operating system is actually running).

猜你喜欢

转载自201205050145.iteye.com/blog/1533259