VPS Hosting Blog | VPS & Cloud Hosting | Windows Reseller

Hyper-V Performance Monitoring and Optimization

This article will guide you about how to effectively use Hyper-V performance monitor and maintain your node performance. We’ve frequently seen that many server administrators, when they start receiving performance alerts, they start migrating Virtual Machines to other nodes. This is not the right solution always.
In the case of alerts, Hyper-V performance monitor tool can be very helpful. In the performance monitor, please start looking at Hyper-V Logical Processor and Hyper-V virtual processor counters.

Hyper-V Logical processor – Total Run time

Hyper-V Logical processor is useful to measure actual CPU usage on the server. When there is a performance issue, most of the techs will start looking at task manager. Please note that Windows task manager does not show the actual CPU usage. To view actual CPU usage, look at the Hyper-V Logical processor by following steps:

  1. If Total Run Time is Less than 60%, your CPU usage is in Healthy state.
  2. If it is between 60% to 89%, your CPU usage is in Monitor or Caution state.
  3. However, if you found that it is above 90%, it is in Critical state and the performance of the server will be adversely affected.

If your HyperV is in situation 3, you need to check for the high usage VMs on that HyperV node.

Hyper-V Virtual processor – Guest Run time

This performance counter will help you to find Virtual Machines consuming the most CPU resource. To determine which virtual machines are consuming CPU, perform following steps :

Now identify the VMs which are consuming high CPU. You can know the VM name by moving mouse arrow on particular graph line. Once you get VM names, you can login to those VMs to check if there is any unusual activity or something else is running on that VM or not.

From task manager we have to check high CPU usage processes of that VM. In most cases there should be some issue with those services. There is no fix pattern to troubleshoot such issue. we have to act depending on the situation, If required we can also restart the service which is consuming high CPU.

Following video demonstrates how to create performance view of a Hyper-V environment :
[embedyt]https://www.youtube.com/watch?v=hjgSBLv2Noc[/embedyt]

Note: Kindly add counter under Monitoring tools -> Performance Monitoring. Never use data collector counter since it saves the data in files and it will fill up C: drive quickly if you have selected large number of counters.

(Visited 1,209 times, 3 visits today)