Skip to main content
NetApp Knowledge Base

Is there a queue‑depth limit for iSCSI LUN?

Views:
4
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
san
Last Updated:

Applies to

ONTAP 9

Answer

  • No,ONTAP does not have a fixed queue depth limit per LUN for iSCSI, unlike Fibre Channel (FC) which has a per-LUN limit of 2048 commands.
  • iSCSI queue depth is controlled per session, not per LUN.
  • Default maximum commands per iSCSI session is 128.
  • This limit can be modified using ONTAP CLI:

vserver iscsi modify -max-ios-per-session <integer>

  • When multiple servers access the same LUN, each server’s iSCSI session can process up to the session limit (default 128 commands).
  • Aggregate queue depth equals the sum of concurrent IOs across all sessions.
  • Increasing the number of sessions (for example, by using multiple LIFs or multipath configurations) increases overall IO processing capacity.
  • Queue depth is not determined by LUN, virtual storage, or physical storage chassis—it is determined by iSCSI session.
  • Linux queue depth settings control the maximum IOs sent from the OS to storage, but do not affect the ONTAP iSCSI target’s session limit.
  • Setting a high queue depth on the OS does not guarantee higher performance.
  • Thorough validation and tuning are recommended, considering server count, session count, queue depth, network bandwidth, and ONTAP session limits.

Additional Information

additionalInformation_text
NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.