Users Guide

Table Of Contents
Broadcom DRVVM-UG128-100
30
Emulex Drivers for VMware ESXi User Guide
3.2.13 Adjusting the LUN Queue Depth
Inadequate queue depth is one of the reasons for low performance. If you are using VVols and you experience low
performance, you might want to adjust the queue depth.
To change the LUN queue depth, perform the following steps:
1. Find the LUN queue depth by typing the following command:
/usr/lib/vmware/vmkmgmt_keyval/vmkmgmt_keyval -i vmhba5/Emulex -k param -g | grep lun-queue-depth
Information similar to the following is displayed :
lun-queue-depth 1 fe 1e 1f Max number of FCP commands we can queue to a specific LUN
where 1f is the queue depth in hexadecimal. Equivalent decimal value is 31.
2. Change the existing queue depth by typing the following command:
/usr/lib/vmware/vmkmgmt_keyval/vmkmgmt_keyval -i vmhba5/Emulex -k param -s "lun-queue-depth 0xfe"
3. Verify if the queue depth has changed by typing the following command:
/usr/lib/vmware/vmkmgmt_keyval/vmkmgmt_keyval -i vmhba5/Emulex -k param -g | grep lun-queue-depth
Information similar to the following is displayed :
lun-queue-depth 1 fe 1e fe Max number of FCP commands we can queue to a specific LUN
where fe is the new queue depth in hexadecimal. Equivalent decimal value is 254.
4. Get a list of existing LUNs by typing the following command:
esxcli storage core device list
5. Change the number of outstanding I/Os for each LUN by typing the following command:
esxcli storage core device set -d <device name> -m 250 -O 250
6. Verify if the number of outstanding I/Os has changed for each specific LUN by typing the following command:
esxcli storage core device list -d <device name>
The sample output would look like the following:
Device Max Queue Depth: 250
No of outstanding IOs with competing worlds: 250
3.3 Configuring NVMe over FC on a NetApp Target
This section describes how to configure NVMe over FC on a NetApp target. For instructions on configuring NVMe over FC
on other targets, contact the target vendor.
The following variables are used in the commands provided in this section:
<vserver_name> is the name of the virtual server.
<lif1_name> is the name of LIF 1.
<node_name> is name of the LIF home node.
<home_port> is the home port of the LIF.
<volume_name> is the name you want to assign to the volume.
<aggregate_name> is an aggregate identified in the Aggregate column.
<aggregate_size> is the size of the aggregate.
<namespace_path> is the path of the namespace.
<namespace_size> is the namespace size. You can specify the size in bytes, KB, MB, GB, TB, or PB. For example, a
4-GB namespace can be indicated as 4GB.
<subsystem_name> is the name of the subsystem.
<host_nqn> is the NQN information that identifies the host.