How does Element Software calculate IOPS and throughput to display in graphical reports?
Applies to
Element Software
Answer
Element Software uses readBytes, writeBytes, readOps and writeOps to calculate and display IOPS and throughput in graphical reports.
(How do we arrive or calculate these numbers?)
On a per-volume bases, Element Software tracks cumulative:
-readOps
-writeOps
-readBytes
-writeBytes
For each of the above, two samples are taken and then compared. Samples are taken at 5 second intervals. The difference between the two samples and the time delta between sampling is used to calculate and IOPS and throughput in bytes. The results are displayed in the graphical report.
Example
Additional Information
The following example API can be used to display cumulative readBytes, writeBytes, readOps and writeOps:
http://mvip/json-rpc/5.0/?method=GetVolumeStats&volumeID=16
(Replace 16 with intended volume ID)
API Output
{"id":null,"result":{"volumeStats":{"accountID":3,
"actualIOPS":0,
"averageIOPSize":0,
"burstIOPSCredit":0,
"clientQueueDepth":0,
"latencyUSec":0,
"nonZeroBlocks":2740968,
"readBytes":1392640,
"readLatencyUSec":0,
"readOps":340,
"throttle”0,
"timestamp":"2014-02-18T17:27:40.751257Z",
"unalignedReads":0,
"unalignedWrites":0,
"volumeAccessGroups":[],"volumeID":16,
"volumeSize":150000001024,
"volumeUtilization":0,
"writeBytes":288772096,
"writeLatencyUSec":0,
"writeOps":70501,
"zeroBlocks":33880126}}}