News: VMwareGuruz has been  Voted Top 50 vBlog 2018. 

VSPHERE 6.0

Storage performance troubleshooting with ESXTOP

 

ESXTOP is an utility bundled with ESXi allowing to monitor/troubleshoot performance of network, CPU or storage. This post is about storage performance troubleshooting with ESXTOP. Se will focus on storage as many times the storage is the main problem of latency. A weakest performance element in the whole chain. VMs performs slowly, but where the latency comes from? Is it at the VM level, LUN level or Disk level (hba). While ESXTOP is command line utility, note that there is a nice free tool which has GUI, from VMware called Visual ESXTOP. It integrates into vSphere web client.

 

 

What to monitor/troubleshoot?

  • Per LUN
  • Per VM
  • per Disk (HBA mode)

 

Let’s monitor a LUN with ESXTOP

  1. Start ESXTOP and press to switch to disk view (LUN mode)

Storage performance troubleshooting with ESXTOP

  1. Press(Field Order) to modify fields which you want to display. Then hit Enter to validate

esxtop6

  1. PressS and then 3 (or other smaller/bigger value) to set the auto-update time to every 3 seconds…. In order to view the whole device name (the complete naa identifier) you’ll have to enlarge the column pres Shift + L and enter “32”. (or other larger number)

How to troubleshoot storage performance with ESXTOP

 

Let’s try to monitor Disk View (hba mode)

  1. Start ESXTOP utility and press to switch to Disk view (hba mode). In order to view the whole device name (the complete naa identifier) you’ll have to enlarge the column pres Shift + L and enter “32”. (or other larger number).

 

ESXTOP to monitor storage performance ESXi

  1. From here you can hit F(Field Order) to modify fields which you want to display. (You can see small star diplayed next to each visible field). When OK, you can hit Enter.

ESXTOP to monitor storage performance ESXi

 

  1. Press and then 3 to set the auto-update time for 3 sec. (you can enter smaller/bigger value as you wish).

Storage performance troubleshooting with ESXTOP

 

Monitor VM performance (Per VM)

1. Start ESXTOP and press  V  to switch to disk view.

Troubleshoot storage performance with VMware ESXTOP utility

2. Again, Press (Field Order) to modify fields which you want to display. Then hit Enter to validate.

3. And again, press S and then 3 (or other smaller/bigger value) to set the auto-update time to every 3 seconds…. In order to view the whole device name (the complete naa identifier) you’ll have to enlarge the column pres Shift + L and enter “32”. (or other larger number).

Storage performance troubleshooting with VMware ESXTOP

 

What represents the different columns?

Now let’s start with ESXTOP utility by identifying the different columns.

CMDS/s –  sum of commands per second with IOPS (Input/Output Operations Per Second). Here are also other SCSI commands like SCSI reservations, locks, vendor string requests, unit attention commands etc. All those are flowing to or are coming from the device or virtual machine which is monitored.

DAVG/cmd  –  Average response time in milliseconds per command which is sent to the device.

KAVG/cmd –  How many time this command spend in the VMkernel.

GAVG/cmd  – Response time at the guest operating system level. Here comes a formula: DAVG + KAVG = GAVG

So today we have seen different possibilities to monitor storage performance. Per VM, per LUN or per Disk (hba). The built-in utility ESXTOP is the tool which is bundled with ESXi, so it’s present on every ESXi installation. It is good to know how to get some storage numbers quickly.

 

Source:   http://www.vladan.fr/

 

 

Related posts
VSPHERE 6.0

vSphere 6.7 – Overview, Use Cases and Top Capabilities

VSPHERE 6.0

vCenter Server and Platform Services 6.5 Architecture

VSPHERE 6.0

What's new in vSphere 6.5 Host Profiles

VSPHERE 6.0

StorageHub – New portal for Storage and availability Products

Leave a Reply

Your email address will not be published. Required fields are marked *