VMware Cloud Community
vSohill
Expert
Expert
Jump to solution

CPU usage % and MHZ

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 ?

pastedImage_0.png

1 Solution

Accepted Solutions
Dave_the_Wave
Hot Shot
Hot Shot
Jump to solution

I tested this with Sysinternal's CPUSTRES.EXE:

20181103-ESXi60U3_1vCPU_CPUSTRES-01.gif

...on this VM with 1vCPU:

20181103-ESXi60U3_1vCPU_CPUSTRES-02.gif

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

20181103-ESXi60U3_1vCPU_CPUSTRES-03.gif

View solution in original post

8 Replies
dbalcaraz
Expert
Expert
Jump to solution

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.

-------------------------------------------------------- "I greet each challenge with expectation"
vSohill
Expert
Expert
Jump to solution

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 ?

Dave_the_Wave
Hot Shot
Hot Shot
Jump to solution

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.

0 Kudos
dbalcaraz
Expert
Expert
Jump to solution

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.

-------------------------------------------------------- "I greet each challenge with expectation"
Dave_the_Wave
Hot Shot
Hot Shot
Jump to solution

I tested this with Sysinternal's CPUSTRES.EXE:

20181103-ESXi60U3_1vCPU_CPUSTRES-01.gif

...on this VM with 1vCPU:

20181103-ESXi60U3_1vCPU_CPUSTRES-02.gif

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

20181103-ESXi60U3_1vCPU_CPUSTRES-03.gif

dbalcaraz
Expert
Expert
Jump to solution

So, everything is right!

Which would be your doubt now?

-------------------------------------------------------- "I greet each challenge with expectation"
0 Kudos
Dave_the_Wave
Hot Shot
Hot Shot
Jump to solution

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.

0 Kudos
dbalcaraz
Expert
Expert
Jump to solution

I see I did Smiley Wink

-------------------------------------------------------- "I greet each challenge with expectation"