Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure VM Core vs vCPU

When comparing two different VM series in Azure, I see that one has Cores and the other one vCPUs. Keeping aside the number of Cores/CPUs, Memory and Processor Type (Intel Xeon E/Platinum etc), what is the advantage of one over the other? I understand that CPU can have multiple cores, but in Azure what is the difference between 4 vCPUs and 4 vCores?

G Series with Core D Series with vCPU

like image 365
Thomas Avatar asked Mar 11 '20 22:03

Thomas


People also ask

What is Azure virtual CPU's?

Azure’s fastest and most powerful CPU virtual machines with optional high-throughput network interfaces (RDMA). There is quite a lot of confusion and misunderstanding regarding Azure’s move to Virtual CPU’s or vCPU’s.

What is the difference between a core and a virtual CPU?

A core is a physical unit of a CPU. A virtual CPU (vCPU) also known as a virtual processor, is a physical central processing unit (CPU) that is assigned to a virtual machine (VM). For more details, you can refer to these msdn answers: this and this. Thanks for contributing an answer to Stack Overflow! Please be sure to answer the question.

What is the ratio of vCPU to vcores of a VM?

Here you can see that the ratio of a Ds_v3 VM vCPU to cores (not vCores) is 2:1 due to Hyperthreading. Which means that 2 vCPUs are needed for the same performance of 1. Is vCore == core? If so, my assumption is that I should double the size of the VM. Or, should I assume that 1 kubernetes CPU is equals to 1 vCPU?

What is the difference between a CPU and a vCPU?

In essence the difference between the newer vCPU’s and regular CPU’s (or ‘Cores’ in Azure) is that the vCPU’s are created and managed by the platform’s hypervisor, abstracted from the actual physical processors on a hardware level.


1 Answers

A core is a physical unit of a CPU.

A virtual CPU (vCPU) also known as a virtual processor, is a physical central processing unit (CPU) that is assigned to a virtual machine (VM).

For more details, you can refer to these msdn answers: this and this.

like image 62
Ivan Yang Avatar answered Oct 04 '22 16:10

Ivan Yang