Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stats() returns incorrect ReadIOPS/WriteIOPS values #341

Open
zoetrope opened this issue Mar 8, 2018 · 0 comments
Open

Stats() returns incorrect ReadIOPS/WriteIOPS values #341

zoetrope opened this issue Mar 8, 2018 · 0 comments

Comments

@zoetrope
Copy link

zoetrope commented Mar 8, 2018

I got statistics via Jiva's stats API.

{
  "Name": "pvc-30266c71-21b1-11e8-953c-060010b04334",
  "ReadIOPS": "327066",
  "ReplicaCounter": 0,
  "RevisionCounter": 0,
  "SCSIIOCount": {
    "0": 6640,
    "158": 454,
    "160": 2,
    "163": 2,
    "18": 3388,
    "26": 908,
    "40": 327066,
    "42": 258086
  },
  "SectorSize": "4096",
  "Size": "5368709120",
  "TotalReadBlockCount": "17549045760",
  "TotalReadTime": "307301413134",
  "TotalWriteTime": "215794984886",
  "TotatWriteBlockCount": "5395550208",
  "UpTime": 81611.82397587,
  "UsedBlocks": "57861",
  "UsedLogicalBlocks": "29075",
  "WriteIOPS": "244996",
  "actions": {},
  "links": {
    "self": "http://192.168.1.11:9501/v1/stats"
  },
  "type": "stats"
}

I think that these ReadIOPS/WriteIOPS values is TotalIOCount rather than IOPS.
I would like gotgt to return correct IOPS values.

@kmova kmova transferred this issue from openebs-archive/gotgt Dec 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant