Hot Shot
Hot Shot

Dashboard to show servers individually CPU Mhz - Are CPUs balanced?


Wanting a dashboard/view in vRops that shows all the VMs with each of the CPUs displayed and to see if the usage is balanced in terms of clock speed (Mhz). I have come across a few VMs lately where with on a server with 8 vCPUs only a few of them were taking the load so it wasnt balanced. After some application tuning the CPUs were balanced and performance increased.

0 Kudos
1 Reply

This is a tricky one. On one hand easy to execute on the other hard to display.

The easy part (reactive)

  1. create a metric configuration for the cpu usage for the max cores you have in one VM.
  2. create a new dashboard with an object list with all your Vms
  3. add in a metric chart and add in the metric configuration into it
  4. do the interactions so the object list feeds the chart

This will do what you want and give the ability to search for a vm. The down side is if it is a 2 vcpu VM wit will see a lot of no data for the vcpus that dont exist. but it will give you a quick way to look at a problematic vm. Main problem is you are waiting for a performance problem to be reported before you can use.

This is where you get to the hard part (proactive)

How do you monitor and alert if not all cores are being used. This i have not tried but you may be able to use a super metric and do if statements but not sure if it would work but something like

if vcpu 2 is equal to or less than (vcpu 1 - 100MHz) or if vcpu 3 is equal to or less than (vcpu 1 - 100MHz) or ..... then "unbalanced" else "balanced".

You may be able to do heat maps but how do you set the colours

0 Kudos