<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic lun stats queue_depth_lun counter in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/lun-stats-queue-depth-lun-counter/m-p/72611#M16859</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; One of the counters returned by a "stats show lun" is "queue_depth_lun".&amp;nbsp; The description would lead me to believe it's exactly what it claims it is:&amp;nbsp; The queue depth of the LUN.&amp;nbsp; However, the data it returns doesn't make any sense.&amp;nbsp; In my case, it returns a very high number (in the hundres of millions).&amp;nbsp; My belief is that this is a raw statistic, and needs to have it's previous value subtracted from it to get it's real value.&amp;nbsp; Despite doing this, the value still doesn't make any sense.&amp;nbsp; For instance, I get these values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(These are the actual values returned by the "stats" command:)&lt;/P&gt;&lt;P&gt;minute 1: 1593764771&lt;BR /&gt;minute 2:1593767935&lt;BR /&gt;minute 3:1593771165&lt;/P&gt;&lt;P&gt;minute 4:1593818855&lt;BR /&gt;minute 5:1593876652&lt;BR /&gt;minute 6:1593937485&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(These are "delta" values I get when I subtract the raw value from the previous minute's raw value)&lt;/P&gt;&lt;P&gt;minute 1: 3176.0000&lt;BR /&gt;minute 2: 3164.0000&lt;BR /&gt;minute 3: 3230.0000&lt;BR /&gt;minute 4: 47690.0000&lt;BR /&gt;minute 5: 57797.0000&lt;BR /&gt;minute 6: 60833.0000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The odd thing is the first 3 data points are from when I'm running heavy I/O testing to the LUN, and the second 3 are when it's idle.&amp;nbsp; Clearly, it doesn't make sense for the queue depth to be higher when idle. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me if there is another place I should be looking to get queue depth for a LUN?&amp;nbsp; If not, is this the correct counter?&amp;nbsp; If so, what am I doing wrong? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running ONTAP 8.0.1P2 on a new HA pair of 6280s.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2025 06:54:19 GMT</pubDate>
    <dc:creator>bsti</dc:creator>
    <dc:date>2025-06-05T06:54:19Z</dc:date>
    <item>
      <title>lun stats queue_depth_lun counter</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/lun-stats-queue-depth-lun-counter/m-p/72611#M16859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; One of the counters returned by a "stats show lun" is "queue_depth_lun".&amp;nbsp; The description would lead me to believe it's exactly what it claims it is:&amp;nbsp; The queue depth of the LUN.&amp;nbsp; However, the data it returns doesn't make any sense.&amp;nbsp; In my case, it returns a very high number (in the hundres of millions).&amp;nbsp; My belief is that this is a raw statistic, and needs to have it's previous value subtracted from it to get it's real value.&amp;nbsp; Despite doing this, the value still doesn't make any sense.&amp;nbsp; For instance, I get these values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(These are the actual values returned by the "stats" command:)&lt;/P&gt;&lt;P&gt;minute 1: 1593764771&lt;BR /&gt;minute 2:1593767935&lt;BR /&gt;minute 3:1593771165&lt;/P&gt;&lt;P&gt;minute 4:1593818855&lt;BR /&gt;minute 5:1593876652&lt;BR /&gt;minute 6:1593937485&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(These are "delta" values I get when I subtract the raw value from the previous minute's raw value)&lt;/P&gt;&lt;P&gt;minute 1: 3176.0000&lt;BR /&gt;minute 2: 3164.0000&lt;BR /&gt;minute 3: 3230.0000&lt;BR /&gt;minute 4: 47690.0000&lt;BR /&gt;minute 5: 57797.0000&lt;BR /&gt;minute 6: 60833.0000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The odd thing is the first 3 data points are from when I'm running heavy I/O testing to the LUN, and the second 3 are when it's idle.&amp;nbsp; Clearly, it doesn't make sense for the queue depth to be higher when idle. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me if there is another place I should be looking to get queue depth for a LUN?&amp;nbsp; If not, is this the correct counter?&amp;nbsp; If so, what am I doing wrong? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running ONTAP 8.0.1P2 on a new HA pair of 6280s.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:54:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/lun-stats-queue-depth-lun-counter/m-p/72611#M16859</guid>
      <dc:creator>bsti</dc:creator>
      <dc:date>2025-06-05T06:54:19Z</dc:date>
    </item>
    <item>
      <title>lun stats queue_depth_lun counter</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/lun-stats-queue-depth-lun-counter/m-p/72617#M16861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can get LUN "Queue Length" using this command :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lun stats -o -i 1 -c 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-o = Extra stats&lt;/P&gt;&lt;P&gt;-i = Interval&lt;/P&gt;&lt;P&gt;-c = Count&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Read Write Other QFull&amp;nbsp;&amp;nbsp; Read&amp;nbsp; Write Average&amp;nbsp;&amp;nbsp; Queue&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Partner&amp;nbsp; Lun&lt;/P&gt;&lt;P&gt;&amp;nbsp; Ops&amp;nbsp;&amp;nbsp; Ops&amp;nbsp;&amp;nbsp; Ops&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; kB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; kB&amp;nbsp;&amp;nbsp; Latency&amp;nbsp;&amp;nbsp; Length&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ops&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; kB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2011 18:53:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/lun-stats-queue-depth-lun-counter/m-p/72617#M16861</guid>
      <dc:creator>hains</dc:creator>
      <dc:date>2011-07-05T18:53:14Z</dc:date>
    </item>
    <item>
      <title>lun stats queue_depth_lun counter</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/lun-stats-queue-depth-lun-counter/m-p/72625#M16867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks for the reply.&amp;nbsp; That will have to do.&amp;nbsp; I wish the "stats" command returned a usable number though. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2011 21:43:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/lun-stats-queue-depth-lun-counter/m-p/72625#M16867</guid>
      <dc:creator>bsti</dc:creator>
      <dc:date>2011-07-05T21:43:58Z</dc:date>
    </item>
  </channel>
</rss>

