Saturday, December 19, 2009

VMware ESX 3.x - Changing Queue depth

We could change the Queue depth in the ESX server which would help if we have high IO intensive VM running. You could set the Queue depth upto 255, i guess 64 should be a good value to be configured. Below are the steps,

- Login to service console as root.
- Verify which QLogic HBA module is currently loaded: vmkload_mod -l | grep qla2300
- Depending on the model of the HBA, the module can be one of the following: qla2300_707 (ESX Server 3.0.x) qla2300_707_vmw (ESX Server 3.5)
- Run the following commands. The example shows the qla2300_707 module. Use the appropriate module based on the outcome of Step 2.
                     a) esxcfg-module -s ql2xmaxqdepth=64 qla2300_707
                     b) esxcfg-boot –b .
- Reboot.
- To verify the current qlogic queue depth -grep -i qla /etc/vmware/esx.conf. you will find the Queue depth set.

No comments: