6.0.1
Table Of Contents
- vSphere Monitoring and Performance
- Contents
- About vSphere Monitoring and Performance
- Updated Information
- Monitoring Inventory Objects with Performance Charts
- Performance Chart Types
- Data Counters
- Metric Groups in vSphere
- Data Collection Intervals
- Data Collection Levels
- View Performance Charts
- Performance Charts Options Available Under the View Menu
- Overview Performance Charts
- Clusters
- Datacenters
- Datastores
- Disk Space (Data Counters)
- Disk Space (File Types)
- Disk Space (Virtual Machines)
- Storage I/O Control Normalized Latency
- Storage I/O Control Aggregate IOPs
- Storage I/O Control Activity
- Average Device Latency per Host
- Maximum Queue Depth per Host
- Read IOPs per Host
- Write IOPs per Host
- Average Read Latency per Virtual Machine Disk
- Average Write Latency per Virtual Machine Disk
- Read IOPs per Virtual Machine Disk
- Write IOPs per Virtual Machine Disk
- Virtual Machine Observed Latency per Datastore
- Hosts
- Resource Pools
- vApps
- Virtual Machines
- CPU (%)
- CPU Usage (MHz)
- Disk (Average)
- Disk (Rate)
- Disk (Number)
- Virtual Disk Requests (Number)
- Virtual Disk Rate (KBps)
- Memory (Usage)
- Memory (Balloon)
- Memory (Swap Rate)
- Memory (Data Counters)
- Network (Usage)
- Network (Rate)
- Network (Packets)
- Disk Space (Data Counters)
- Disk Space (Datastores)
- Disk Space (File Types)
- Fault Tolerance Performance Counters
- Working with Advanced and Custom Charts
- Troubleshoot and Enhance Performance
- Monitoring Guest Operating System Performance
- Monitoring Host Health Status
- Monitoring Events, Alarms, and Automated Actions
- View Events
- View System Logs
- Export Events Data
- View Triggered Alarms and Alarm Definitions
- Live Refresh of Recent Tasks and Alarms
- Set an Alarm
- Acknowledge Triggered Alarms
- Reset Triggered Event Alarms
- Preconfigured vSphere Alarms
- Monitoring Solutions with the vCenter Solutions Manager
- Monitoring the Health of Services and Nodes
- Performance Monitoring Utilities: resxtop and esxtop
- Using the vimtop Plug-In to Monitor the Resource Usage of Services
- Monitoring Networked Devices with SNMP and vSphere
- Using SNMP Traps with vCenter Server
- Configure SNMP for ESXi
- SNMP Diagnostics
- Monitor Guest Operating Systems with SNMP
- VMware MIB Files
- SNMPv2 Diagnostic Counters
- System Log Files
- Index
Table 1‑47. Data Counters
Chart Label Description
Usage Average data I/O rate across all LUNs on the host.
n
Counter: usage
n
Stats Type: Rate
n
Unit: Kilobytes per second (KBps)
n
Rollup Type: Average (Minimum/Maximum)
n
Collection Level: 1 (4)
Chart Analysis
Use the disk charts to monitor average disk loads and to determine trends in disk usage. For example, you
might notice a performance degradation with applications that frequently read from and write to the hard
disk. If you see a spike in the number of disk read or write requests, check whether any such applications
were running at that time.
The best ways to determine if your vSphere environment is experiencing disk problems is to monitor the
disk latency data counters. You can use the advanced performance charts to view these statistics.
n
The kernelLatency data counter measures the average amount of time, in milliseconds, that the
VMkernel spends processing each SCSI command. For best performance, the value should be 0-1
milliseconds. If the value is greater than 4ms, the virtual machines on the host are trying to send more
throughput to the storage system than the configuration supports. Check the CPU usage, and increase
the queue depth.
n
The deviceLatency data counter measures the average amount of time, in milliseconds, to complete a
SCSI command from the physical device. Depending on your hardware, a number greater than 15ms
indicates probable problems with the storage array. Move the active VMDK to a volume with more
spindles or add disks to the LUN.
n
The queueLatency data counter measures the average amount of time taken per SCSI command in the
VMkernel queue. This value must always be zero. If not, the workload is too high and the array cannot
process the data fast enough.
If the disk latency values are high, or if you notice other problems with disk I/O performance, consider
taking the actions listed below.
Table 1‑48. Disk I/O Performance Enhancement Advice
# Resolution
1 Increase the virtual machine memory. This should allow for more operating system caching, which can reduce I/O
activity. Note that this might require you to also increase the host memory. Increasing memory might reduce the
need to store data because databases can utilize system memory to cache data and avoid disk access.
To verify that virtual machines have adequate memory, check swap statistics in the guest operating system.
Increase the guest memory, but not to an extent that leads to excessive host memory swapping. Install VMware
Tools so that memory ballooning can occur.
2 Defragment the file systems on all guests.
3 Disable antivirus on-demand scans on the VMDK and VMEM files.
4 Use the vendor's array tools to determine the array performance statistics. When too many servers simultaneously
access common elements on an array, the disks might have trouble keeping up. Consider array-side improvements
to increase throughput.
5 Use Storage vMotion to migrate I/O-intensive virtual machines across multiple hosts.
6 Balance the disk load across all physical resources available. Spread heavily used storage across LUNs that are
accessed by different adapters. Use separate queues for each adapter to improve disk efficiency.
7 Configure the HBAs and RAID controllers for optimal use. Verify that the queue depths and cache settings on the
RAID controllers are adequate. If not, increase the number of outstanding disk requests for the virtual machine by
adjusting the Disk.SchedNumReqOutstanding parameter. For more information, see vSphere Storage.
vSphere Monitoring and Performance
38 VMware, Inc.