Tuesday, August 2, 2011

New Performance Metrics In vSphere 5


I recently had to look at some performance metrics in my vSphere 5 lab and I was curious if VMware had documented all the new performance metrics. I headed over to the vSphere 5 API reference guide and to my surprise, they were exactly the same as the vSphere 4 API reference guide. Though looking at the vSphere Client, it was obvious there were new performance metrics for features such as Storage DRS that did not exists in vSphere 4.

Using a similar method in a previous post about Power performance metrics, I extracted all the new metrics in vSphere 5 and created the following table that includes the metric name (rollup,units and internal name), collection level and description of the metric. There are a total of 129 new performance metrics that include Storage DRS and HBR (Host Based Replication).
Hopefully this will be fixed in the API documentation when vSphere 5 GA's as I recalled providing the same feedback during the beta program. 

MetricStat LevelDescription
cpu
average.MHz.capacity.provisioned3Capacity in MHz of the physical CPU cores
average.MHz.capacity.entitlement1CPU resources devoted by the ESX scheduler to virtual machines and resource pools
average.MHz.capacity.usage3CPU usage in MHz during the interval
average.MHz.capacity.demand2The amount of CPU resources VMs on this host would use if there were no CPU contention or CPU limit
average.percent.capacity.contention2Percent of time the VMs on this host are unable to run because they are contending for access to the physical CPU(s)
average.number.corecount.provisioned2The number of physical cores provisioned to the entity
average.number.corecount.usage2The number of virtual processors running on the host
average.percent.corecount.contention1Time the VM is ready to run, but is unable to run due to co-scheduling constraints
average.MHz.capacity.demand2The amount of CPU resources VMs on this host would use if there were no CPU contention or CPU limit
average.percent.latency2Percent of time the VM is unable to run because it is contending for access to the physical CPU(s)
latest.MHz.entitlement2CPU resources devoted by the ESX scheduler
average.MHz.demand2The amount of CPU resources a VM would use if there were no CPU contention or CPU limit
summation.millisecond.costop2Time the VM is ready to run, but is unable to due to co-scheduling constraints
summation.millisecond.maxlimited2Time the VM is ready to run, but is not run due to maxing out its CPU limit setting
summation.millisecond.overlap3Time the VM was interrupted to perform system services on behalf of that VM or other VMs
summation.millisecond.run2Time the VM is scheduled to run
datastore
latest.millisecond.maxTotalLatency3Highest latency value across all datastores used by the host
average.KBps.throughput.usage2usage
average.millisecond.throughput.contention2contention
summation.number.busResets2busResets
summation.number.commandsAborted2commandsAborted
summation.number.commandsAborted2commandsAborted
summation.number.busResets2busResets
latest.number.datastoreReadBytes2Storage DRS datastore bytes read
latest.number.datastoreWriteBytes2Storage DRS datastore bytes written
latest.number.datastoreReadIops1Storage DRS datastore read I/O rate
latest.number.datastoreWriteIops1Storage DRS datastore write I/O rate
latest.number.datastoreReadOIO1Storage DRS datastore outstanding read requests
latest.number.datastoreWriteOIO1Storage DRS datastore outstanding write requests
latest.number.datastoreNormalReadLatency2Storage DRS datastore normalized read latency
latest.number.datastoreNormalWriteLatency2Storage DRS datastore normalized write latency
latest.number.datastoreReadLoadMetric4Storage DRS datastore metric for read workload model
latest.number.datastoreWriteLoadMetric4Storage DRS datastore metric for write workload model
latest.number.datastoreMaxQueueDepth1Storage I/O Control datastore maximum queue depth
disk
average.KBps.throughput.usage3Aggregated disk I/O rate
average.millisecond.throughput.contention3Average amount of time for an I/O operation to complete
summation.number.scsiReservationConflicts2Number of SCSI reservation conflicts for the LUN during the collection interval
average.percent.scsiReservationCnflctsPct2Number of SCSI reservation conflicts for the LUN as a percent of total commands during the collection interval
average.kiloBytes.capacity.provisioned3provisioned
average.kiloBytes.capacity.usage2usage
average.percent.capacity.contention1contention
hbr
average.number.hbrNumVms4Current Number of Replicated VMs
average.KBps.hbrNetRx4Average amount of data received per second
average.KBps.hbrNetTx4Average amount of data transmitted per second
managementAgent
average.MHz.cpuUsage3Amount of Service Console CPU usage
mem
average.kiloBytes.capacity.provisioned3Total amount of memory configured for the VM
average.kiloBytes.capacity.entitlement1Amount of host physical memory the VM is entitled to, as determined by the ESX scheduler
average.kiloBytes.capacity.usable2Amount of physical memory available for use by virtual machines on this host
average.kiloBytes.capacity.usage1Amount of physical memory actively used
average.percent.capacity.contention2Percentage of time the VM is waiting to access swapped, compressed, or ballooned memory
average.kiloBytes.capacity.usage.vm2vm
average.kiloBytes.capacity.usage.vmOvrhd2vmOvrhd
average.kiloBytes.capacity.usage.vmkOvrhd2vmkOvrhd
average.kiloBytes.capacity.usage.userworld2userworld
average.kiloBytes.reservedCapacity.vm2vm
average.kiloBytes.reservedCapacity.vmOvhd2vmOvhd
average.kiloBytes.reservedCapacity.vmkOvrhd2vmkOvrhd
average.kiloBytes.reservedCapacity.userworld2userworld
average.percent.reservedCapacityPct3Percent of memory that has been reserved either through VMkernel use, by userworlds, or due to VM memory reservations
average.kiloBytes.consumed.vms2Amount of physical memory consumed by VMs on this host
average.kiloBytes.consumed.userworlds2Amount of physical memory consumed by userworlds on this host
average.percent.latency2Percentage of time the VM is waiting to access swapped or compressed memory
average.kiloBytes.entitlement2Amount of host physical memory the VM is entitled to, as determined by the ESX scheduler
average.kiloBytes.lowfreethreshold2Threshold of free host physical memory below which ESX will begin reclaiming memory from VMs through ballooning and swapping
none.kiloBytes.llSwapUsed4Space used for caching swapped pages in the host cache
average.KBps.llSwapInRate2Rate at which memory is being swapped from host cache into active memory
average.KBps.llSwapOutRate2Rate at which memory is being swapped from active memory to host cache
average.kiloBytes.overheadTouched4Actively touched overhead memory (KB) reserved for use as the virtualization overhead for the VM
average.kiloBytes.llSwapUsed4Space used for caching swapped pages in the host cache
maximum.kiloBytes.llSwapUsed4Space used for caching swapped pages in the host cache
minimum.kiloBytes.llSwapUsed4Space used for caching swapped pages in the host cache
none.kiloBytes.llSwapIn4Amount of memory swapped-in from host cache
average.kiloBytes.llSwapIn4Amount of memory swapped-in from host cache
maximum.kiloBytes.llSwapIn4Amount of memory swapped-in from host cache
minimum.kiloBytes.llSwapIn4Amount of memory swapped-in from host cache
none.kiloBytes.llSwapOut4Amount of memory swapped-out to host cache
average.kiloBytes.llSwapOut4Amount of memory swapped-out to host cache
maximum.kiloBytes.llSwapOut4Amount of memory swapped-out to host cache
minimum.kiloBytes.llSwapOut4Amount of memory swapped-out to host cache
net
average.KBps.throughput.provisioned2Provisioned pNic I/O Throughput
average.KBps.throughput.usable2Usable pNic I/O Throughput
average.KBps.throughput.usage3Average vNic I/O rate
summation.number.throughput.contention2Count of vNic packet drops
average.number.throughput.packetsPerSec2Average rate of packets received and transmitted per second
average.KBps.throughput.usage.vm3Average pNic I/O rate for VMs
average.KBps.throughput.usage.nfs3Average pNic I/O rate for NFS
average.KBps.throughput.usage.vmotion3Average pNic I/O rate for vMotion
average.KBps.throughput.usage.ft3Average pNic I/O rate for FT
average.KBps.throughput.usage.iscsi3Average pNic I/O rate for iSCSI
average.KBps.throughput.usage.hbr3Average pNic I/O rate for HBR
average.KBps.bytesRx2Average amount of data received per second
average.KBps.bytesTx2Average amount of data transmitted per second
summation.number.broadcastRx2Number of broadcast packets received during the sampling interval
summation.number.broadcastTx2Number of broadcast packets transmitted during the sampling interval
summation.number.multicastRx2Number of multicast packets received during the sampling interval
summation.number.multicastTx2Number of multicast packets transmitted during the sampling interval
summation.number.errorsRx2Number of packets with errors received during the sampling interval
summation.number.errorsTx2Number of packets with errors transmitted during the sampling interval
summation.number.unknownProtos2Number of frames with unknown protocol received during the sampling interval
power
summation.joule.energy3Total energy used since last stats reset
average.percent.capacity.usagePct3Current power usage as a percentage of maximum allowed power
average.watt.capacity.usable2Current maximum allowed power usage
average.watt.capacity.usage2Current power usage
storageAdapter
latest.millisecond.maxTotalLatency3Highest latency value across all storage adapters used by the host
average.millisecond.throughput.cont2Average amount of time for an I/O operation to complete
average.percent.OIOsPct3The percent of I/Os that have been issued but have not yet completed
average.number.outstandingIOs2The number of I/Os that have been issued but have not yet completed
average.number.queued2The current number of I/Os that are waiting to be issued
average.number.queueDepth2The maximum number of I/Os that can be outstanding at a given time
average.millisecond.queueLatency2Average amount of time spent in the VMkernel queue, per SCSI command, during the collection interval
average.KBps.throughput.usage4The storage adapter's I/O rate
storagePath
average.millisecond.throughput.cont2Average amount of time for an I/O operation to complete
latest.millisecond.maxTotalLatency3Highest latency value across all storage paths used by the host
summation.number.busResets2Number of SCSI-bus reset commands issued during the collection interval
summation.number.commandsAborted2Number of SCSI commands aborted during the collection interval
average.KBps.throughput.usage2Storage path I/O rate
sys
latest.second.osUptime4Total time elapsed, in seconds, since last operating system boot-up
vcResources
average.kiloBytes.buffersz4buffersz
average.kiloBytes.cachesz4cachesz
average.number.diskreadsectorrate4diskreadsectorrate
average.number.diskwritesectorrate4diskwritesectorrate
virtualDisk
average.millisecond.throughput.cont2Average amount of time for an I/O operation to complete
average.KBps.throughput.usage2Virtual disk I/O rate
summation.number.commandsAborted2commandsAborted
summation.number.busResets2busResets
latest.number.readOIO2Average number of outstanding read requests to the virtual disk during the collection interval
latest.number.writeOIO2Average number of outstanding write requests to the virtual disk during the collection interval
latest.number.readLoadMetric2Storage DRS virtual disk metric for the read workload model
latest.number.writeLoadMetric2Storage DRS virtual disk metric for the write workload model

1 comment:

  1. William, many thanks for your posts you are truly a prodigious aggregator for the APIs bleeding edge and that is why I follow your posts - many thanks and keep up the great work (and keep it Ghetto)

    ReplyDelete