Hyper-V: Performance (Counters): Unterschied zwischen den Versionen
Admin (Diskussion | Beiträge) K |
Admin (Diskussion | Beiträge) |
||
Zeile 19: | Zeile 19: | ||
=== CPU Wait Time per Dispatch === | === CPU Wait Time per Dispatch === | ||
+ | ''CPU Wait Time Per Dispatch is another potentially useful measurement indicating the amount of time a guest machine Virtual Processor is delayed the hypervisor Dispatching queue, which comparable to the OS Scheduler’s Ready Queue. Unfortunately.'' | ||
*'''Wait''': The average time (in nanoseconds) spent waiting for a virtual processor to be dispatched onto a logical processor. | *'''Wait''': The average time (in nanoseconds) spent waiting for a virtual processor to be dispatched onto a logical processor. | ||
*'''Counter''': Hyper-V Hypervisor Logical Processor\CPU Wait Time per Dispatch | *'''Counter''': Hyper-V Hypervisor Logical Processor\CPU Wait Time per Dispatch |
Version vom 5. Dezember 2017, 16:44 Uhr
Inhaltsverzeichnis
- 1 Recommended Performance Counter
- 1.1 Hyper-V Hypervisor Logical Processor
- 1.2 Hyper-V Hypervisor Virtual Processor
- 1.3 Hyper-V Hypervisor Root Virtual Processor
- 1.4 CPU Wait Time per Dispatch
- 1.5 Physical CPU Context Switching
- 1.6 Memory
- 1.7 Memory (NUMA)
- 1.8 Hyper-V Dynamic Memory
- 1.9 LogicalDisk
- 1.10 PhysicalDisk
- 1.11 Cluster Shared Volumes
- 1.12 Network Interface
Recommended Performance Counter
Hyper-V Hypervisor Logical Processor
There is one instance of HVH Logical Processor counters available for each hardware logical processor that is present on the machine. The instances are identified as VP 0, VP 1, …, VP n-1, where n is the number of Logical Processors available at the hardware level. The counter set is similar to the Processor Information set available at the OS level (which also contains an instance for each Logical Processor). The main metrics of interest are % Total Run Time and % Guest Run Time. In addition, the % Hypervisor Run Time counter records the amount of CPU time, per Logical processor, consumed by the hypervisor.
Hyper-V Hypervisor Virtual Processor
There is one instance of the HVH Virtual Processor counter set for each child partition Virtual Processor that is configured. The guest machine Virtual Processor is the abstraction used in Hyper-V dispatching. The Virtual Processor instances are identified using the format guestname: Hv VP 0, guestname: Hv VP 1, etc., up to the number of Virtual Processors defined for each partition. The % Total Run Time and the % Guest Run Time counters are the most important measurements available at the guest machine Virtual Processor level.
Hyper-V Hypervisor Root Virtual Processor
The HVH Root Virtual Processor counter set is identical to the metrics reported at the guest machine Virtual Processor level. Hyper-V automatically configures a Virtual Processor instance for each Logical Processor for use by the Root partition. The instances of these counters are identified as Root VP 0, Root VP 1, etc., up to VP n-1.
CPU Wait Time per Dispatch
CPU Wait Time Per Dispatch is another potentially useful measurement indicating the amount of time a guest machine Virtual Processor is delayed the hypervisor Dispatching queue, which comparable to the OS Scheduler’s Ready Queue. Unfortunately.
- Wait: The average time (in nanoseconds) spent waiting for a virtual processor to be dispatched onto a logical processor.
- Counter: Hyper-V Hypervisor Logical Processor\CPU Wait Time per Dispatch
Physical CPU Context Switching
- What: This measures the rate (number of times per second) each logical CPU changes what virtual processor it is running.
- Counter: Hyper-V Hypervisor Logical Processor(*)\Context Switches/sec
- Threshold: (any instance (Core) except for "_Total") > 20000, (sustained for > 5min).
- Why: We use this as a general health & performance indicator for the host & virtual machines. This counter must be used in context with all other activity based counters (CPU, Disk & Network, latency & throughput).
- What to do if threshold is exceeded:
- Check VM config (particularly remove / disable any active & busy emulated devices)
- Check that the VM is using the correct version of the integration components.
- Check host operating system utilization Root VP CPU usage (host OS utilization) - see the "Hyper-V Hypervisor Root Virtual Processor" counter section for the specifics.
- Check drivers - particularly network and storage drivers, but other too.
- Check for significant inconsistency across your hosts - it can indicate significant configuration or load differences.
Memory
Memory (NUMA)
Hyper-V Dynamic Memory
LogicalDisk
PhysicalDisk
(> 1 MB/s) indicates Shared VHDX files or that CSV is in redirected mode.
Network Interface
Weitere Informationen: