VMware vSphere

 View Only
  • 1.  Best Practices - Assign CPU to VM

    Posted Oct 30, 2018 05:47 PM

    good afternoon

    I would like to validate at the cpu level what is the best practice to provision.

    I have understood that it is vCPU: pCPU and the relation is 1: 1 - 3: 1 - 4: 1 (Normal)

    I wanted to know from both examples that I append which is the best practice to assign cpu to the Vm.

    Example 1:

    Example 2:



  • 2.  RE: Best Practices - Assign CPU to VM

    Posted Oct 30, 2018 09:21 PM

    What's the diference between these two examples? In example one you have assigned 8 vCPUs to the virtual machine and in the second example only 6 vCPUs. But that has nothing to do with any best practices.

    If we say that a pCore to vCPU ratio of 1:3 is okay, that would mean that you can distribute a total of 72 vCPUs to all virtual machines on a physical server with 24 cores. Whether a machine gets 6 or 8 depends on how many VMs are running on the ESXi host.



  • 3.  RE: Best Practices - Assign CPU to VM

    Posted Oct 31, 2018 07:10 AM

    Hello,

    I suggest to check the "Guest Operating System CPU Considerations" paragraph in the following documents (page 47): https://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/techpaper/performance/vsphere-esxi-vcenter-server-67-p… 

    And also the following blogs will help in the calculation part:

    How to decide VMware vCPU to physical CPU ratio

    https://blog.heroix.com/blog/vmware-vcpu-over-allocation

    Please consider marking this answer "CORRECT" or "Helpful" if you think your question have been answered correctly.

    Cheers,

    VCIX6-NV|VCP-NV|VCP-DC|

    @KakHassan

    linkedin.com/in/hassanalkak



  • 4.  RE: Best Practices - Assign CPU to VM

    Posted Oct 31, 2018 09:13 AM

    This thread is about vCPUs:

    About the number of vCPU