I've got a Hyper-V 2012 running and need to configure that my virtual CPU are based on one socket. So the guest is seeing one socket with e.g. 4 core. I've found some tool called cpu z should do that, but is the "correct" way of doing this?
Configuring 1 socket with multiple core on Hyper-V
hyper-vhyper-v-server-2012
Related Topic
- Updating Hyper-V Server 2012 (free version)
- Mac – Hyper-V limit IP address to guest
- Hyper-V Dynamic Memory – virtual machine memory usage and host memory demand do not make sense
- hyper-v-server-2012 windows-server-core – Properly Remove windows.old on Hyper-V Server 2012 R2
- Hyper-V ‘standalone’ (on baremetal) with RHEL/CentOS 6.x guest VM
Best Answer
Your guest VMs will all appear as single-socket, multi-core processors (assuming you give them more than one virtual processor) unless you either reconfigure the VM manually or add enough virtual processors that you've exceeded the number of cores that your physical processors have.
If you want confirmation on how your VM appears to the running workload, I suggest coreinfo.exe:
http://technet.microsoft.com/en-us/sysinternals/cc835722.aspx
If you want to reconfigure the VM manually, I suggest PowerShell. Look at the Set-VMProcessor cmdlet. The -MaximumCountPerNumaNode and -MaximumCountPerNumaSocket parameters should get you what you're looking for.