Beruflich Dokumente
Kultur Dokumente
Performance Requirements
by admin
Ive recently written this post which discusses RAID levels and how to calculate how many disks
you need in your RAID sets to provide the required performance levels for your virtual
machines. This post will look at what tools and metrics are available to analyse your virtual
machine workloads to determine how they are performing and what their storage needs are.
CMDS/s This is the total amount of commands per second, which includes IOPS and
other SCSI commands (e.g. reservations and locks). Generally speaking CMDS/s = IOPS
unless there are a lot of other SCSI operations/metadata operations such as reservations.
DAVG/cmd This is the average response time in milliseconds per command being sent
to the storage device.
KAVG/cmd This is the amount of time the command spends in the VMKernel.
GAVG/cmd This is the response time as experienced by the Guest OS. This is
calculated by adding together the DAVG and the KAVG values.
As a general rule DAVG/cmd, KAVG/cmd and GAVG/cmd should not exceed 10 milliseconds
(ms) for sustained lengths of time.
There are also the following throughput metrics to be aware of:
The sum of reads and writes equals IOPS, which is the the most common benchmark when
monitoring and troubleshooting storage performance. These metrics can be monitored at the
HBA or Virtual Machine level.
vSphere Client
You can also monitor storage performance using the vSphere client. Counters to look at include
disk read rate,disk write rate and disk usage. Disk read rate and disk write rate could be
monitored at the LUN level. Both metrics and disk usage can be monitored per host. There a also
a number of latency counters that you can check
Additionally, there are a handful of latency counters that should be checked, as stated here.
deviceLatency - The average amount of time for the physical device to complete a SCSI
command. A number greater than 15ms can indicate there are problems.
kernelLatency This is how long the VMkernel is taking to process each SCSI
command. This valus shouldnt exceed 4ms
queueLatency Measures average time taken per SCSI command in the VMkernel
queue. This value should always be zero, otherwise the workload is too high for the array
to process the data.