Metrics and Logs

VMware vSphere VM Disk Issues Can Hit Your VM Performance

Detect VMware vSphere virtual machine disk issues bottleneck, latency or other performance issues


In this modern era, workloads and applications are mainly running on a VMware-based virtualization environment, and VMware administrators are
often asked about slow Virtual Machine(VM) performance.
To optimize and speed up VM performance, it’s quite challenging for VMware admins due to the involvement of several factors including computing, storage, networks, and management within a VMware-based virtualized environment.

It’s a prime responsibility of a VMware admin to monitor not only the hardware and physical infrastructure but also CPU, memory, disk
allocation, network and storage I/O, and virtual networks of the VMs.

In this blog, we’ll discuss disk metrics that can affect VM disk performance and show monitoring tools that help in the remediation of VM performance issues, and if VM(s) are underperforming,
they could be optimized easily and quickly with the right VM performance monitoring and management solution.

We will cover some important virtual machine disk metrics that can hit the performance, health, and capacity of your VMware vSphere-based virtual infrastructure.

Disk Metrics

In VMware virtual environment, VMs use large disk files called virtual disks. These files are also known as Virtual Machine Disk Files (VMDK) that are used to store virtual machine data. All VMs are by default started with a single virtual disk, but can be configured to use more virtual disks.

These virtual disks are located in a storage space called datastores, and these datastores (can be either local datastores (directly attached with ESXi hosts) or shared datastores (networked storageStorage Area Networks (SANs), and Logical Unit Number (LUN) storage devices).

If the storage is performing poorly, then your VMs will also perform poor. Storage latency and throughput play a very critical part in VM performance in your virtual environment.

In VMware vSphere, disk I/O and capacity metrics are reported at different levels including VMs, datastores (either local or shared), and ESXi hosts, because we know that multiple ESXi hosts and VMs can share datastores, and monitoring at the datastore level offers an aggregated view of disk performance in a virtualized environment. However, monitoring the performance of both your virtual disks (at guest OS level) and physical disks (at ESXi host level) are very important, and tracking disk metrics at both levels can also support monitoring of cluster health and troubleshooting where the issues are actually occurring.

VMs in a virtual environment normally use storage controllers to access the virtual disks in a datastore, and these storage controllers allow VMs to send commands to the ESXi hosts, and then these commands are redirected to the appropriate virtual disks. As VMs access datastores through ESXi hosts, monitoring disk metrics such as throughput and latency can help you to ensure that the physical storage is being accessed by ESXi hosts and VMs effectively and without interruption.

The following are some important VM disk metrics that every VMware admin should consider while monitoring the VMware-based virtual environment:

Disk Latency

Monitoring disk latency in a virtual environment is to ensure that the VMs are efficiently communicating with their virtual disks without any delay.

Disk latencies are measured in milliseconds, where an ESXi host processes a request from a VM to a data store, and it helps you to determine whether vSphere is operating as per agreed performance or not.

Latency spikes indicate that there are some issues in your virtual environment due to several reasons, including resource starvation or application issues.

You can monitor the virtual disk usage of VMs with Opvizor in your VMware vSphere environment.

disk1-image1

disk1-image2

If there is an issue with the total latency, the average latency of read/write operations can be checked and verified. Similarly, it can be broken down into read and write latencies at the ESXi host, VM, and datastore level to determine what inventory objects are causing total latency.

High disk latency can also be correlated with other resource usage metrics to determine if the root cause is in lacking available memory or CPU resources, and can be identified which VMs on the ESXi host or cluster are consuming more resources and if VMs needed to allocate more resources or move them to other ESXi hosts or datastores with greater available resources. 

Opvizor provides a complete picture of the Disk I/O of VMs in the VMware vSphere environment.

disk1-image3

disk1-image4

Disk Throughput

Another important virtual disk metric is disk throughput which ensures that your datastores, ESXi hosts, and VMs are performing read/write operations without any interruption. Monitoring disk throughput at multiple levels in virtual infrastructure and correlating it with other metrics can highlight bottlenecks in the environment. If a spike appears in VM read/write in total latency, it indicates that the ESXi host is struggling to process the flood of read/write operations.

This can be mitigated by provisioning more memory to the installed VMs and allowing VMs to cache more data and less reliance on swapping.

disk1-image5

Conclusion

To improve VM performance in a virtual environment, VMware admins should track the latency and throughput of the virtual disk on each VM on the
ESXi hosts and the usage of virtual and physical disks be monitored so that both the ESXi hosts and VMs could be right-sized with the right
disk allocation.

Opvizor is a software that runs within minutes in your VMware-based virtual environment and immediately starts monitoring the virtual disk metrics that can affect the VM performance.

You can start your Free Trial now, deploy the virtual appliance in minutes and get results in under 15 minutes.

Similar posts

Get notified on new marketing insights

Be the first to know about new B2B SaaS Marketing insights to build or refine your marketing function with the tools and knowledge of today’s industry.