If you are not satisfied with your host's performance, change the maximum queue depth for the QLogic or Emulex HBA.

To adjust the maximum queue depth parameter, use the vCLI commands.

In the procedure, --server=server_name specifies the target server. The specified target server prompts you for a user name and password. Other connection options, such as a configuration file or session file, are supported. For a list of connection options, see Getting Started with vSphere Command-Line Interfaces.

Install vCLI or deploy the vSphere Management Assistant (vMA) virtual machine. See Getting Started with vSphere Command-Line Interfaces. For troubleshooting , run esxcli commands in the ESXi Shell.

1

Verify which HBA module is currently loaded by entering one of the following commands:

For QLogic: esxcli --server=server_name system module list |grep qla

For Emulex: esxcli --server=server_name system module list |grep lpfc

2

Adjust the queue depth for the appropriate module.

Note

The examples show the QLogic qla2xxx and Emulex lpfc820 modules. Use the appropriate module based on the outcome of the previous step.

For QLogic: esxcli --server=server_name system module parameters set -m qla2xxx -p ql2xmaxqdepth=value

For Emulex: esxcli --server=server_name system module parameters set -m lpfc820 -p lpfc0_lun_queue_depth=value

3

Reboot your host.

4

Verify your changes by running the following command: esxcli --server=server_name system module parameters list -m=module.

module is your QLogic or Emulex module, such as lpfc820 or qla2xxx.