Hi @R-Admin228 ,
there is a difference between the physical CPU(s) of the physical PC and the vCPU of an Azure Virtual Machine.
Depending on the Azure VM SKU there is a ratio of vCPU/physical core. Which means 1 or 2 vCPU(s) using 1 core of a physical CPU in the Azure host. In addition the are maybe other VMs running on the same host in Azure.
Source: Azure compute unit (ACU)
Also there is a difference between the Azure VM Series what kind of processor is used in the Azure VM host computer. For instance:
Dv2 series: 3rd Generation Intel® Xeon® Platinum 8370C (Ice Lake), Intel® Xeon® Platinum 8272CL (Cascade Lake), Intel® Xeon® 8171M 2.1GHz (Skylake), or the the Intel® Xeon® E5-2673 v4 2.3 GHz (Broadwell), or the Intel® Xeon® E5-2673 v3 2.4 GHz (Haswell)
Dv5 series: Intel® Xeon® Platinum 8473C (Sapphire Rapids), Intel® Xeon® Platinum 8370C (Ice Lake)
To get the highest performance of an Azure VM take a look on the link Azure compute unit (ACU) and compare the ACU value of the series. Higher ACU value = more performance.
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Andreas Baumgarten