If you notice unsatisfactory performance for your software iSCSI LUNs, you can change their maximum queue depth by using the vicfg-module command.


On the vSphere CLI, run the following command:

vicfg-module -s iscsivmk_LunQDepth=value iscsi_vmk

The iscsivmk_LunQDepth parameter sets the maximum number of outstanding commands, or queue depth, for each LUN accessed through the software iSCSI adapter. The default value is 128.


Reboot your system.


Setting the queue depth to a value higher than the default can decrease the total number of LUNs supported.