Jump to content

No, you're assigning it a virtual CPU with a Virtual core. shown below

 

vm.png

 

Also read this:

https://www.altaro.com/hyper-v/hyper-v-virtual-cpus-explained/

 

CPU: AMD Ryzen 5 5600X | CPU Cooler: Stock AMD Cooler | Motherboard: Asus ROG STRIX B550-F GAMING (WI-FI) | RAM: Corsair Vengeance LPX 32 GB (4x 8 GB) DDR4-3000 CL16 | GPU: Nvidia GTX 1060 6GB Zotac Mini | Case: K280 Case | PSU: Cooler Master B600 Power supply | SSD: 1TB  | HDDs: 1x 250GB & 1x 1TB WD Blue | Monitor: 24" Acer S240HLBID | OS: Win 11 Pro.

 

Home Lab:  Lenovo ThinkCenter M82 Hyper-V Server 2022 | Dell OptiPlex 9020 Hyper-V Server 2022 | TP-LINK TL-SG108E | Cisco Catalyst C2960CG 8 Port Switch | HP MicroServer G8 SCCM Server | 2x Dell PowerEdge R630 Hyper-V Server 2022

 

 

Link to comment
https://linustechtips.com/topic/1250572-cpus-and-vms/#findComment-14053358
Share on other sites

Link to post
Share on other sites

5 hours ago, Weston3000 said:

How do I know how many virtual processors my CPU supports and how virtual processors should I assign a VM.

Your can run as many virtual processors on one cpu, something like 4:1 is pretty common for servers, but depends on workload.

 

Depends on vm, id probalby give each vm 2 by default, and more if needed.

Link to comment
https://linustechtips.com/topic/1250572-cpus-and-vms/#findComment-14054874
Share on other sites

Link to post
Share on other sites

19 hours ago, Weston3000 said:

How do I know how many virtual processors my CPU supports and how virtual processors should I assign a VM.

Please quote so I know you have replied.

 

It depends on the server's CPU. 

 

please read the article I posted before, it will explain everything.

CPU: AMD Ryzen 5 5600X | CPU Cooler: Stock AMD Cooler | Motherboard: Asus ROG STRIX B550-F GAMING (WI-FI) | RAM: Corsair Vengeance LPX 32 GB (4x 8 GB) DDR4-3000 CL16 | GPU: Nvidia GTX 1060 6GB Zotac Mini | Case: K280 Case | PSU: Cooler Master B600 Power supply | SSD: 1TB  | HDDs: 1x 250GB & 1x 1TB WD Blue | Monitor: 24" Acer S240HLBID | OS: Win 11 Pro.

 

Home Lab:  Lenovo ThinkCenter M82 Hyper-V Server 2022 | Dell OptiPlex 9020 Hyper-V Server 2022 | TP-LINK TL-SG108E | Cisco Catalyst C2960CG 8 Port Switch | HP MicroServer G8 SCCM Server | 2x Dell PowerEdge R630 Hyper-V Server 2022

 

 

Link to comment
https://linustechtips.com/topic/1250572-cpus-and-vms/#findComment-14056913
Share on other sites

Link to post
Share on other sites

While a really good article on Altaro was shared explaining the logic behind the vCPU, just wanted to add that you actually have to test what number of vCPUs is required for your VM or, actually, the service/app running inside of it. You can start from one and then add more if required. Here is also some useful reading on this as well as overall Hyper-V performance tuning: https://www.hyper-v.io/several-tips-hints-full-throttle-hyper-v-performance/

Link to comment
https://linustechtips.com/topic/1250572-cpus-and-vms/#findComment-14058439
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×