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 iscsi_max_lun_queue=value iscsi_mod

After you issue this command, reboot your system.

The iscsi_max_lun_queue parameter is used to set the maximum outstanding commands, or queue depth, for each LUN accessed through the software iSCSI adapter. The default is 32, and the valid range is 1 to 255.


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