VMware vSphere

 View Only
  • 1.  CPU usage % and MHZ

    Posted Nov 02, 2018 08:59 AM

    Hi,

    For one of VM I have CPU usage 100% but in MHZ it is different. should it be direct line as well as the usage percentage ?



  • 2.  RE: CPU usage % and MHZ

    Posted Nov 02, 2018 01:32 PM

    Hi,

    When CPU is 100% it can be that MHz varies a bit.

    Check CPU Usage: VMware vSphere 5.1

    So for example it can be a 100% of CPU and the MHz can vary 300-500 MHz.

    If you do the math, you should be able to match the values.



  • 3.  RE: CPU usage % and MHZ

    Posted Nov 03, 2018 01:58 PM

    Thanks dbalcaraz,

    This chart for a VM. Does it mean the VM use 100 % of the physical CPU?

    I thought this chart for how much the application or the guest OS utilizing the vCPU.

    Am I right ?



  • 4.  RE: CPU usage % and MHZ

    Posted Nov 03, 2018 05:01 PM

    It means that the vCPU that this VM is using is 100%, the pCPU doesn't need to be at 100%, just the resources assigned to the VM.



  • 5.  RE: CPU usage % and MHZ

    Posted Nov 03, 2018 02:20 PM

    Without diving into NUMA and process affinity, if you are maxxing out on a 1 vCPU, generally it is being isolated on 1 pCPU's core.

    Let's say you had a XenApp VM that was 4vCPU, and was being strained out when 100 users launch Chrome off it, if the host was also total 4 cores, then yes it is monopolizing the whole box.



  • 6.  RE: CPU usage % and MHZ
    Best Answer

    Posted Nov 04, 2018 02:18 AM

    I tested this with Sysinternal's CPUSTRES.EXE:

    ...on this VM with 1vCPU:

    ...and appears to be isolated on just 1 core (the X5670 is 6 cores with HT):



  • 7.  RE: CPU usage % and MHZ

    Posted Nov 04, 2018 12:24 PM

    So, everything is right!

    Which would be your doubt now?



  • 8.  RE: CPU usage % and MHZ

    Posted Nov 04, 2018 04:09 PM

    I have never doubted anything I wrote.

    I merely wanted to see for myself what I claimed was right.

    You may have me confused with the Original Poster.



  • 9.  RE: CPU usage % and MHZ

    Posted Nov 08, 2018 05:54 PM

    I see I did :smileywink: