<?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 Re: *_ops metric values in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ops-metric-values/m-p/66626#M600</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the tip. Yes, I'm aware about raw values. I'm using derivative function to get "rate" value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example of what I get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[2013-08-07 10:11:41,905] [Thread-1] pathname: storage.ontap.filer-dqs-201.system.system.iscsi_ops, raw value: 13505653235&lt;/P&gt;&lt;P&gt;[2013-08-07 10:12:42,503] [Thread-1] pathname: storage.ontap.filer-dqs-201.system.system.iscsi_ops, raw value: 13505891169&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[2013-08-07 10:12:42,641] [Thread-1] key storage.ontap.filer-dqs-201.system.system.iscsi_ops, derivative[key] 87162.6869319, time_delta 2.72976899147, multiplier 1, prettyname iscsi_iops, device filer-dqs-201&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So derivative[key] = (13505891169 - 13505653235) / time_delta&amp;nbsp; = 87162.6869319&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I run "stats show -i 60 system::iscsi_ops" via CLI on the same filer (I believe it fetches the same counter) I get something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instance iscsi_ops&lt;BR /&gt;&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;&amp;nbsp;&amp;nbsp; /s&lt;BR /&gt;&amp;nbsp; system&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6779&lt;BR /&gt;&amp;nbsp; system&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5576&lt;BR /&gt;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So not even close to the value I got via API call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And by the way, the document you are referring to is from 2008, I'd think it's outdated by now, is there anything newer than that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Vladimir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Aug 2013 08:24:32 GMT</pubDate>
    <dc:creator>vladimirzhigulin</dc:creator>
    <dc:date>2013-08-07T08:24:32Z</dc:date>
    <item>
      <title>*_ops metric values</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ops-metric-values/m-p/66617#M598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use SDK v5.1 to&amp;nbsp; query a bunch of FAS32{50,70} running OnTAP 8.1.X, what I'm after at this point&amp;nbsp; is " *_ops " metrics of "perf-object-get-instances-iter-start" object eg total_ops, fcp_ops, iscsi_ops etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a discrepancy I observe for "iscsi_ops" :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SDK call output - ~100000&lt;BR /&gt;CLI's sysstat output - ~4000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So something is about of factor 2.5 .. does anyone have an idea why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SDK doc says "*ops" metrics are of unit type "per_sec", I'd say this is "OPS per sec" in this case, but apparently it's not. Any hints are appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Vladimir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:56:47 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ops-metric-values/m-p/66617#M598</guid>
      <dc:creator>vladimirzhigulin</dc:creator>
      <dc:date>2025-06-05T05:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: *_ops metric values</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ops-metric-values/m-p/66622#M599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vladimir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SDK typically returns raw values (not a rate).&amp;nbsp; Check this &lt;A _jive_internal="true" href="https://community.netapp.com/servlet/JiveServlet/previewBody/1044-102-1-1022/Performance_Management_DesignGuide.pdf" target="_blank"&gt;guide&lt;/A&gt; for more info.&amp;nbsp; If you're still stuck let me know!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris Madden&lt;/P&gt;&lt;P&gt;Storage Architect, NetApp EMEA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2013 06:51:00 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ops-metric-values/m-p/66622#M599</guid>
      <dc:creator>madden</dc:creator>
      <dc:date>2013-08-07T06:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: *_ops metric values</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ops-metric-values/m-p/66626#M600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the tip. Yes, I'm aware about raw values. I'm using derivative function to get "rate" value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example of what I get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[2013-08-07 10:11:41,905] [Thread-1] pathname: storage.ontap.filer-dqs-201.system.system.iscsi_ops, raw value: 13505653235&lt;/P&gt;&lt;P&gt;[2013-08-07 10:12:42,503] [Thread-1] pathname: storage.ontap.filer-dqs-201.system.system.iscsi_ops, raw value: 13505891169&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[2013-08-07 10:12:42,641] [Thread-1] key storage.ontap.filer-dqs-201.system.system.iscsi_ops, derivative[key] 87162.6869319, time_delta 2.72976899147, multiplier 1, prettyname iscsi_iops, device filer-dqs-201&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So derivative[key] = (13505891169 - 13505653235) / time_delta&amp;nbsp; = 87162.6869319&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I run "stats show -i 60 system::iscsi_ops" via CLI on the same filer (I believe it fetches the same counter) I get something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instance iscsi_ops&lt;BR /&gt;&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;&amp;nbsp;&amp;nbsp; /s&lt;BR /&gt;&amp;nbsp; system&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6779&lt;BR /&gt;&amp;nbsp; system&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5576&lt;BR /&gt;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So not even close to the value I got via API call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And by the way, the document you are referring to is from 2008, I'd think it's outdated by now, is there anything newer than that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Vladimir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2013 08:24:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ops-metric-values/m-p/66626#M600</guid>
      <dc:creator>vladimirzhigulin</dc:creator>
      <dc:date>2013-08-07T08:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: *_ops metric values</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ops-metric-values/m-p/66631#M601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vladimir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure your time_delta is correct?&amp;nbsp; In the API response you have a timestamp and details for each instance.&amp;nbsp; So compare the timestamp values, and the iscsi_ops values, and you get your rate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't see the timestamp values from the API response in your log output, but just using the logger timestamp wouldn't the &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;time_delta be more like 60 (and not 2.7)&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I did a test in my lab (DOT 8.1.3 7-mode) and from CLI, PowerShell na-invoke-sysstat, and ZAPI API all gave consistent results.&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;We did have &lt;A href="http://support.netapp.com/NOW/cgi-bin/bol?Type=Detail&amp;amp;Display=444125&amp;amp;app=portal" target="_blank"&gt;bug 444125&lt;/A&gt; whereby we lacked latency reporting for large LUNs (&amp;gt; 2TB LUN size) but I haven't heard of problems with with iops counters.&amp;nbsp; That said, a bug is always possible.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Regarding the documentation, I'm not aware of any update.&amp;nbsp; The counter subsystems itself hasn't changed in years...counters, yes, subsystem, no.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;Cheers,&lt;BR /&gt;Chris Madden&lt;BR /&gt;Storage Architect, NetApp EMEA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2013 11:25:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ops-metric-values/m-p/66631#M601</guid>
      <dc:creator>madden</dc:creator>
      <dc:date>2013-08-07T11:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: *_ops metric values</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ops-metric-values/m-p/66639#M602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Are you sure your time_delta is correct?&amp;nbsp; In the API response you&amp;nbsp; have a timestamp and details for each instance.&amp;nbsp; So compare the&amp;nbsp; timestamp values, and the iscsi_ops values, and you get your rate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you've got the point, let me check my routines to measure "time_delta" .. it looks wrong indeed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Vladimir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2013 11:37:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ops-metric-values/m-p/66639#M602</guid>
      <dc:creator>vladimirzhigulin</dc:creator>
      <dc:date>2013-08-07T11:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: *_ops metric values</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ops-metric-values/m-p/66643#M603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for helping me out with this &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt; It was indeed a bug with some of procedures in my script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Vladimir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 14:55:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ops-metric-values/m-p/66643#M603</guid>
      <dc:creator>vladimirzhigulin</dc:creator>
      <dc:date>2013-08-08T14:55:17Z</dc:date>
    </item>
  </channel>
</rss>

