You may want to change the queue depth for several reasons... Support recommendations / Performance tuning etc.
Here I will show you how to change the queue depth for a Qlogic HBA from 32 to 64.
VMware default this to 32 as this generally is the best for most configurations, however everyone has different needs.
1. List the Qlogic HBA types:
cat /proc/scsi/qla2xxx/4
QLogic PCI to Fibre Channel Host Adapter for QLE2460:
Firmware version 4.04.09 [IP] [Multi-ID] [84XX] , Driver version 8.02.01-k1-vmw43
BIOS version 2.02
FCODE version 2.00
EFI version 2.03
Flash FW version 4.04.02
ISP: ISP2432
Request Queue = 0x41813000, Response Queue = 0x41894000
Request Queue count = 4096, Response Queue count = 512
Total number of interrupts = 5036
Device queue depth = 0x20
Number of free request entries = 3679
Number of mailbox timeouts = 0
Number of ISP aborts = 0
Number of loop resyncs = 1
Host adapter:loop state = <READY>, flags = 0x105ac3
Dpc flags = 0x0
MBX flags = 0x0
Link down Timeout = 045
Port down retry = 005
Login retry count = 008
Execution throttle = 2048
ZIO mode = 0x6, ZIO timer = 1
Commands retried with dropped frame(s) = 0
Product ID = 0000 0000 0000 0000
NPIV Supported : Yes
Max Virtual Ports = 127
SCSI Device Information:
scsi-qla0-adapter-node=2000001b329328b8:610813:0;
scsi-qla0-adapter-port=2100001b329328b8:610813:0;
FC Target-Port List:
scsi-qla0-target-0=5006016941e00787;
scsi-qla0-target-1=5006016041e00787;
FC Port Information:
scsi-qla0-port-0=50060160c1e00787:5006016941e00787:610113:81;
scsi-qla0-port-1=50060160c1e00787:5006016041e00787:610013:82;
Share this blog post on social media:
TweetAll advice, installation/configuration how to guides, troubleshooting and other information on this website are provided as-is with no warranty or guarantee. Whilst the information provided is correct to the best of my knowledge, I am not reponsible for any issues that may arise using this information, and you do so at your own risk. As always before performing anything; check, double check, test and always ensure you have a backup.