Effective December 3, NetApp adopts Microsoft’s Business-to-Customer (B2C) identity management to simplify and provide secure access to NetApp resources.
For accounts that did not pre-register (prior to Dec 3), access to your NetApp data may take up to 1 hour as your legacy NSS ID is synchronized to the new B2C identity.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Microsoft Virtualization Discussions

Perf Counters with Get-NaPerfData

aschneider146

I am trying to figure out the math to get iSCSI latency.  I have the following code to get the raw data but I am trying to figure out the relationship between counters and base-counters

$counters =  (Get-NaPerfData iscsi).counters

$counters has values for iscsi_latency (units = ms) and iscsi_ops (units = ops per second) . Also, I have found that iscsi_ops is the "base counter." What post processing math do I need to get iscsi latency in ms?

Thanks,

Andy

2 REPLIES 2

aschneider146

I think I just answered my own question. It looks like the raw numbers do not correspond to the units (aka ops/sec or ms) All i need to do is divide the latency counter by its base counter. This seems to line up with the data we are getting from "My Auto Support."

If I am missing something, please do let me know.

Thanks,

Andy

cknight

Hi, Andy.  Yes, that looks correct for an averaging metric such as latency.  To measure latency over a specific interval, you can get the values at the start and end of the interval and then use:

average = (counter_t2 - counter_t1) / (base_t2 - base_t1)

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public