-
- Influencer
- Posts: 21
- Liked: 3 times
- Joined: Oct 02, 2013 2:06 pm
- Full Name: Tom Depoorter
- Contact:
Interpretation 'Average CPU Wait'
Dear
I'm not sure how I need to interpret the metric 'average CPU wait'
The help says: "CPU time the VM spent waiting for hardware or VMkernel lock thread locks."
So I would say that a high percentage would mean no good, since the VM is waiting for hardware.
My VMs have a high average CPU wait,
but I don't know why.
CPU-, memory-, network- en datastore-usage looks OK.
Can any one help?
Best regards
Tom
I'm not sure how I need to interpret the metric 'average CPU wait'
The help says: "CPU time the VM spent waiting for hardware or VMkernel lock thread locks."
So I would say that a high percentage would mean no good, since the VM is waiting for hardware.
My VMs have a high average CPU wait,
but I don't know why.
CPU-, memory-, network- en datastore-usage looks OK.
Can any one help?
Best regards
Tom
-
- VP, Product Management
- Posts: 27371
- Liked: 2799 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Interpretation 'Average CPU Wait'
Hello Tom,
Be aware that high CPU Wait does not always result in bad VM performance. The total time of waiting CPU resources on the VMkernel level can be calculated using this formula %WAIT - % IDLE. So if %IDLE is equal to %WAIT, then everything is fine.
Thank you!
Be aware that high CPU Wait does not always result in bad VM performance. The total time of waiting CPU resources on the VMkernel level can be calculated using this formula %WAIT - % IDLE. So if %IDLE is equal to %WAIT, then everything is fine.
Thank you!
-
- Influencer
- Posts: 21
- Liked: 3 times
- Joined: Oct 02, 2013 2:06 pm
- Full Name: Tom Depoorter
- Contact:
Re: Interpretation 'Average CPU Wait'
Hey Vitaliy S.
Your formula is minus WAIT minus IDLE ?
Where can I find the value of %IDLE ?
Best regards
Tom
Your formula is minus WAIT minus IDLE ?
Where can I find the value of %IDLE ?
Best regards
Tom
-
- VP, Product Management
- Posts: 27371
- Liked: 2799 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Interpretation 'Average CPU Wait'
I have corrected my post above, it is just WAIT minus IDLE. Idle performance metric is not used very often in troubleshooting, so please check it directly in vSphere Client.
-
- Influencer
- Posts: 21
- Liked: 3 times
- Joined: Oct 02, 2013 2:06 pm
- Full Name: Tom Depoorter
- Contact:
Re: Interpretation 'Average CPU Wait'
Ok Vitaliy
thx for you correction.
But when %IDLE is equal to %WAIT
the CPU WAIT percentage should be 0.
I've taken a look to the CPU-counters in the chart options in vSPhere Client,
but I didn't fid an IDLE-counter
thx for you correction.
But when %IDLE is equal to %WAIT
the CPU WAIT percentage should be 0.
I've taken a look to the CPU-counters in the chart options in vSPhere Client,
but I didn't fid an IDLE-counter
-
- VP, Product Management
- Posts: 27371
- Liked: 2799 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Interpretation 'Average CPU Wait'
CPU IDLE can be found if you navigate to the VM in question -> Performance -> Advanced -> CPU realtime counters -> IDLE. Hope this helps!
-
- Influencer
- Posts: 21
- Liked: 3 times
- Joined: Oct 02, 2013 2:06 pm
- Full Name: Tom Depoorter
- Contact:
Re: Interpretation 'Average CPU Wait'
I only have this counters: wait, usage, swap wait, usage in mhz, used, ready, system.
no idle.
no idle.
-
- VP, Product Management
- Posts: 27371
- Liked: 2799 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Interpretation 'Average CPU Wait'
Hmm...what vSphere version are you at?
-
- Influencer
- Posts: 21
- Liked: 3 times
- Joined: Oct 02, 2013 2:06 pm
- Full Name: Tom Depoorter
- Contact:
-
- VP, Product Management
- Posts: 27371
- Liked: 2799 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Interpretation 'Average CPU Wait'
Looks like this metric is only available via ESXTOP in vSphere 4.1.
-
- Influencer
- Posts: 21
- Liked: 3 times
- Joined: Oct 02, 2013 2:06 pm
- Full Name: Tom Depoorter
- Contact:
Re: Interpretation 'Average CPU Wait'
ok Vitaliy
I've never used that,
but I'll give it a try.
But what about this remark?
"But when %IDLE is equal to %WAIT
the CPU WAIT percentage should be 0."
I'm obviously still interpreting something differently then you.
I've never used that,
but I'll give it a try.
But what about this remark?
"But when %IDLE is equal to %WAIT
the CPU WAIT percentage should be 0."
I'm obviously still interpreting something differently then you.
-
- VP, Product Management
- Posts: 27371
- Liked: 2799 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Interpretation 'Average CPU Wait'
%WAIT includes %IDLE by default, in other words %WAIT- %IDLE = X, where "X" is the time spent waiting for the resources. Hope this makes sense.
-
- Influencer
- Posts: 21
- Liked: 3 times
- Joined: Oct 02, 2013 2:06 pm
- Full Name: Tom Depoorter
- Contact:
Re: Interpretation 'Average CPU Wait'
Dear Vitaliy
Sorry, it took me some time to discover (r)esxtop.
(I had to work on another project)
This is what I see:
There is no IDLE?
Is it possible that that metric doesn't exist in this version of Vsphere?
Best regards
Tom
Sorry, it took me some time to discover (r)esxtop.
(I had to work on another project)
This is what I see:
There is no IDLE?
Is it possible that that metric doesn't exist in this version of Vsphere?
Best regards
Tom
-
- VP, Product Management
- Posts: 27371
- Liked: 2799 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Interpretation 'Average CPU Wait'
Hmm... based on this link, it should be: http://pubs.vmware.com/vsphere-51/index ... nters.html
Can you please try following this blog post to get this value?
Can you please try following this blog post to get this value?
-
- Influencer
- Posts: 21
- Liked: 3 times
- Joined: Oct 02, 2013 2:06 pm
- Full Name: Tom Depoorter
- Contact:
Re: Interpretation 'Average CPU Wait'
Thanks for your post Vitaliy
It's strange: it seems to me that I'm not able to add those "Additional fields".
Could this be a difference between running esxtop for ESX and resxtop for ESXi?
(I keep searching)
If this value isn't available in ESXi
how veeam monitor gets this value?
Tom
It's strange: it seems to me that I'm not able to add those "Additional fields".
Could this be a difference between running esxtop for ESX and resxtop for ESXi?
(I keep searching)
If this value isn't available in ESXi
how veeam monitor gets this value?
Tom
-
- VP, Product Management
- Posts: 27371
- Liked: 2799 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Interpretation 'Average CPU Wait'
Veeam ONE collects all counters from the vCenter Server/ESXi hosts via VMware API, in other words we rely on the counter list that is exposed by the vCenter Server/ESXi host. Veeam ONE does not collect esxtop data.
I believe the counter set for esxtop command should be the same for all hosts, no matter if it is ESXi of ESX host.
Anyway, getting back to your original question, I don't think that you're experiencing performance issues (otherwise you would have noticed that already), so most likely IDLE counter is what makes WAIT metric so high.
I believe the counter set for esxtop command should be the same for all hosts, no matter if it is ESXi of ESX host.
Anyway, getting back to your original question, I don't think that you're experiencing performance issues (otherwise you would have noticed that already), so most likely IDLE counter is what makes WAIT metric so high.
-
- Influencer
- Posts: 21
- Liked: 3 times
- Joined: Oct 02, 2013 2:06 pm
- Full Name: Tom Depoorter
- Contact:
Re: Interpretation 'Average CPU Wait'
hey Vitaliy
You're probably right, but I was just curious to discover those counters.
Any how I've find out how it can be displayed.
I post it, because it can help some one else who has real performance issues
I think it's a problem with the number of counters that can be displayed simultaneously.
By hitting f I've disabled all columns except %STATE TIMES
Then I see %IDLE.
%IDLE and %WAIT are close.
So no issue.
Thanks a lot for your time.
But the way, you've got a great product
You're probably right, but I was just curious to discover those counters.
Any how I've find out how it can be displayed.
I post it, because it can help some one else who has real performance issues
I think it's a problem with the number of counters that can be displayed simultaneously.
By hitting f I've disabled all columns except %STATE TIMES
Then I see %IDLE.
%IDLE and %WAIT are close.
So no issue.
Thanks a lot for your time.
But the way, you've got a great product
-
- VP, Product Management
- Posts: 27371
- Liked: 2799 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Interpretation 'Average CPU Wait'
Thanks for the update and thank you for your kind words, our dev team will appreciate it.
-
- Veteran
- Posts: 338
- Liked: 35 times
- Joined: Jan 20, 2012 2:36 pm
- Full Name: Christensen Farms
- Contact:
Re: Interpretation 'Average CPU Wait'
I am trying to figure out if a VM that I have performance issues with could be caused by having 4 virtual CPUs allocated to it. I think the counter I need to look at is the CPU Co-stop counter to figure this out. Is that correct? That counter is very low. However, the Average CPU Wait time is 373% and the CPU usage averages around 50% all day, so it still seems fishy to me. Is the Idle time reported in version 5.1 in the VIC anywhere? Or do I still have to use esxtop? Are there other counters that can tell me if I have too many virtual CPUs to the point where it's causing an issue?
-
- VP, Product Management
- Posts: 27371
- Liked: 2799 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Interpretation 'Average CPU Wait'
Hi Christensen,
You need to review CPU Co-Stop and CPU Ready counters to review potential CPU bottlenecks. What are the average values for this VM?
Thanks!
You need to review CPU Co-Stop and CPU Ready counters to review potential CPU bottlenecks. What are the average values for this VM?
Yes, it should be under CPU -> Real Time counters.cffit wrote:Is the Idle time reported in version 5.1 in the VIC anywhere?
Thanks!
-
- Novice
- Posts: 7
- Liked: never
- Joined: Jan 04, 2014 10:16 am
- Full Name: shocko
- Contact:
[MERGED] CPU Wait and Bottleneck Graph
Guys, just wondering what use can be made of the CPU wait displayed in Veeam One? It tells us nothing of the health of a VM as you have to go and find the %IDLE time manually in vSphere and subtract from CPU Wait to find the true amount of time the vm was blocked waiting for hardware. Why have Veeam implemented this in this manner? Am I missing something?
-
- Veteran
- Posts: 7328
- Liked: 781 times
- Joined: May 21, 2014 11:03 am
- Full Name: Nikita Shestakov
- Location: Prague
- Contact:
Re: Interpretation 'Average CPU Wait'
Hello Darragh,
What you are saying makes total sense. We are planning to improve cpu bottleneck analysis chart in concordance with your feedback.
Thank you for the participation!
What you are saying makes total sense. We are planning to improve cpu bottleneck analysis chart in concordance with your feedback.
Thank you for the participation!
-
- Novice
- Posts: 7
- Liked: never
- Joined: Jan 04, 2014 10:16 am
- Full Name: shocko
- Contact:
Re: Interpretation 'Average CPU Wait'
Good to hear. I was doing a POC and found that the 'bottlenecks' graphs confused users as things appeared to be running fine but it looked like Veeam One was saying otherwise. Any time frame for this to be implemented?
-
- Veteran
- Posts: 7328
- Liked: 781 times
- Joined: May 21, 2014 11:03 am
- Full Name: Nikita Shestakov
- Location: Prague
- Contact:
Re: Interpretation 'Average CPU Wait'
Darragh,
That`s great to achieve valuable advice like yours. Thanks again!
The change is going to be included to the next minor updates.
That`s great to achieve valuable advice like yours. Thanks again!
The change is going to be included to the next minor updates.
-
- Novice
- Posts: 7
- Liked: never
- Joined: Jan 04, 2014 10:16 am
- Full Name: shocko
- Contact:
Re: Interpretation 'Average CPU Wait'
Did this make it to veeam one 8 ??
-
- VP, Product Management
- Posts: 27371
- Liked: 2799 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Interpretation 'Average CPU Wait'
If you can't see it in all counters list by selecting a custom view option (can't check it myself now), then, unfortunately, it didn't make it to v8.
-
- Veteran
- Posts: 7328
- Liked: 781 times
- Joined: May 21, 2014 11:03 am
- Full Name: Nikita Shestakov
- Location: Prague
- Contact:
Re: Interpretation 'Average CPU Wait'
Hello Darragh,
Since our conversation was just 2 weeks before the actual release of Veeam ONE v8, we scheduled the change to our next (v9) release.
Thanks!
Since our conversation was just 2 weeks before the actual release of Veeam ONE v8, we scheduled the change to our next (v9) release.
Thanks!
Who is online
Users browsing this forum: No registered users and 5 guests