CPU ready times for virtual machines made easy

When measuring virtual machine performance data there is one important metric that is often overlooked; CPU ready time of a virtual machine. The ready time is the amount of time the virtual machine waits for processor time. This means that the virtual machine has data to process but the processing core(s) are yet to be allocated to complete the task. This amounts to milliseconds at a time, but obviously, the more virtual machines you have the worse this figure gets.

The metric returned by vCenter is called the summation. This value is not straight forward to understand and it’s also changed based on the sample interval too, so you never get the same static figure for comparison, or easy comparison at least. A more meaningful way to look at CPU ready data is as a percentage. This allows you to look at a virtual machine and know for x percent of the given sample interval (day, week, month) it was waiting for CPU cycles. VMware give a formula on their website for calculating this, which is great, but it’s far more useful to have it as a handy PowerShell function sat in my modules file. This module will accept pipeline input so it’s really useful for using with Get-VM, amongst other things. Hopefully it will help you as much as it does me.


Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">