In the VMware vCenter Server and the VMware vSphere Client, the performance data counters abstract the types of statistical information that performance charts display. You can control the number of enabled data counters by selecting a statistics collection level.
You can assign a collection level of 1 to 4 to each collection interval enabled on your vCenter Server, with level 1 being the default and level 4 containing the most data counters. Together, the collection interval and the collection level determine how much statistical data is collected and stored in your vCenter Server database. For more information, see
vSphere Monitoring and Performance.
Storage DRS and SIOC Data Counters in vSphere 5.0In the vSphere 5.0, by default the Storage DRS and Storage I/O Control (SIOC) counters are enabled at collection level 1. If your vSphere 5.0 environment is configured for Storage DRS, a large number of data counters are enabled at collection level 1. This might result in a significant increase in the vCenter Server database bandwidth and reduced performance. To improve performance, VMware strongly recommends reducing the number of data counters collected at level 1 by moving the Storage DRS and the SIOC counters to level 3.
Moving the Storage DRS and the SOIC counters to a higher collection level effectively disables non-realtime datastore performance charts. If you are not utilizing these performance charts, VMware highly recommends moving the Storage DRS and the SIOC counters to level 3 to avoid any performance issues associated with a large number of counters enabled at collection level 1.
Storage DRS and SIOC Data Counters in vSphere 5.0 Update 1 and laterIn vSphere 5.0 Update 1 and later, by default the Storage DRS and SIOC counters are not as active at the statistics collection level 3. This effectively disables non-realtime datastore performance charts. To re-enable these performance charts, you can choose to move those counters back to collection level 1.
Note: Moving the Storage DRS and the SOIC counters to a lower collection level negatively impacts performance because more statistics have persisted, requiring more I/O and database operations. If you move a large number of data counters from collection level 3 to collection level 1, you might observe these symptoms:
- Loss of statistical data
A large number of enabled data counters might overwhelm statistics processing, resulting in dropped counters.
- Slow roll-ups of statistical data
The increased number of enabled data counters can cause the statistics roll-up procedures to run slowly. As a result, statistical information might not be available as expected.
- Slow purging of statistical data
The increased number of enabled data counters can slow down purge operations. As a result, statistical information might not be purged as expected.
You will notice that the
Collection Level is still set to Level 1 instead of the expected Level 3 for the Storage DRS and the SIOC data counters.
To view the current status of the
Collection Level values:
- Connect to your vCenter Server using the vSphere Client.
- Click Home > Inventory > Hosts and Clusters.
- Click a virtual machine, then click the Performance tab.
- Click Advanced.
- Click Chart Options, then:
- Click Past day under Virtual disk in the left pane.
- In the Counters list view, check these counters:
- Average read requests per second (
virtualDisk.numberReadAveraged
) - Average write requests per second (
virtualDisk.numberWriteAveraged
) - Read latency (
virtualDisk.totalReadLatency
) - Write latency (
virtualDisk.totalWriteLatency
)
- Check the Collection Level column.
This is by design. The
Collection Level field was not updated by the change introduced in the vCenter Server 5.0 Update 1 and later.
The performance counters used by vSphere have two types of collection level,
Per Device Level and
Aggregated Level. The
Per Device Level is defined as the collection level for stats of individual devices. The
Aggregated level is defined as the collection level for stats from all devices, such as the sum or average over all devices.
The
Collection Level column discussed above always shows the
Aggregated Level stats. This is by design in the VI/vSphere Client since the vCenter Server 1.x.
This might mean that you see different results from the actual collection level, if the performance counter you are monitoring gathers statistics based on a
Per Device Level.
This is a list of performance counters affected by the change introduced in the vCenter Server 5.0 Update 1 and later. Their
Per Device Level is 3, but the
Aggregated Level is 1. The
Collection Level column in the performance charts viewed above reports that the
Collection Level is 1; however, the stats data that is collected is at
Per Device Level 3.
disk.numberReadAveraged
disk.numberWriteAveraged
virtualDisk.numberReadAveraged
virtualDisk.numberWriteAveraged
virtualDisk.totalReadLatency
virtualDisk.totalWriteLatency
datastore.numberReadAveraged
datastore.numberWriteAveraged
datastore.totalReadLatency
datastore.totalWriteLatency
datastore.datastoreIops
datastore.sizeNormalizedDatastoreLatency
datastore.datastoreReadIops
datastore.datastoreReadOIO
datastore.datastoreWriteIops
datastore.datastoreWriteOIO
datastore.siocActiveTimePercentage
datastore.datastoreVMObservedLatency
datastore.datastoreMaxQueueDepth
disk.maxQueueDepth
disk.deviceLatency
For information on the other performance counters, see the
PerformanceManager Managed Object description in the VMware vSphere API Reference.
Review the details of the
LEVELS,
PER DEVICE LEVEL, and
INSTANCE/AGGREGATE columns to identify the statistic level at which the performance data is collected:
- If INSTANCE/AGGREGATE is
instance
, the data is collected at PER DEVICE LEVEL. - If INSTANCE/AGGREGATE is
aggregate
, the data is collected at AGGREGATED LEVELS.