Drive queue depth

For performance reasons, you might want to change the disk command queue depth. The disk queue depth limits the maximum number of commands that AIX® software can issue concurrently to that disk at any time. Increasing a disk queue depth might improve disk performance by increasing disk throughput (or I/O) but might also increase latency (response delay). Decreasing a disk queue depth might improve disk response time but decrease overall throughput. The queue depth is viewed and changed on each individual disk. When changing the disk queue depth, the command elements and data transfer window on the parent adapter might also need to be changed.

Viewing the drive queue depth

To view the current queue depth on any disk (JBOD or RAID), use the lsattr command from the AIX command line.

The queue_depth attribute contains the current setting. The default value for the disk queue depth is determined by the adapter family.
Table 1. Drive queue depth for PCIe3 adapter
  PCIe3 adapter
Default JBOD disk queue depth 16
Default RAID disk queue depth 16 times the number of pdisks in the RAID array

Example

To list the current queue_depth attribute value for the hdisk2 disk, type the following command:
lsattr -E -l hdisk2 -a queue_depth
The system displays a message similar to the following: queue_depth 64 Queue DEPTH True