Forum Discussion
Jo_Lambrecht
Dec 31, 2020Copper Contributor
CPU and VCPU it stays difficult to overcome.
Hi, After reading and searching the internet it still hasn't revealed th truth for me. I keep struggeling with provisioning. In this example (real case) i setup a Server 2019 as hyper-v machine...
fmartel
Dec 31, 2020Brass Contributor
This is the Windows Virtual Desktop forum section, which mean this is related to the Azure VDI solution only. If you want a straight answer from Microsoft, you should probably try to another forum section dedicated to Hyper-V.
The user/CPU ratio is a variable that change depending of the user workload and app deployment types, like session host vs VDI. For a VDI scenario I would probably bet for a 1:1 1:2 scenario. All depend of the workload. The only recommendation I can give for the ratio, is test your workload.
In this configuration you have 12 cores and 24 VCPU. Hyper-V might see hyper-threads as core, but they are not. Leading to the logical number 48.
If you want to do CPU overcommitting you will probably need to change the scheduler type to Classic for server 2019.
See:
https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/manage/manage-hyper-v-scheduler-types
and
https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/manage/about-hyper-v-scheduler-type-selection
The user/CPU ratio is a variable that change depending of the user workload and app deployment types, like session host vs VDI. For a VDI scenario I would probably bet for a 1:1 1:2 scenario. All depend of the workload. The only recommendation I can give for the ratio, is test your workload.
In this configuration you have 12 cores and 24 VCPU. Hyper-V might see hyper-threads as core, but they are not. Leading to the logical number 48.
If you want to do CPU overcommitting you will probably need to change the scheduler type to Classic for server 2019.
See:
https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/manage/manage-hyper-v-scheduler-types
and
https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/manage/about-hyper-v-scheduler-type-selection