A calculation for MBps to IOPS (and vice versa…)

Whilst playing around with Storage I/O control (SIOC) in my vSphere 5 lab environment, I found myself trying to calculate the IOPS to be used when limiting a virtual disk throughput to a certain amount of MBps

So here is the calculation I was using:

IOPS = (MBps Throughput / KB per IO) * 1024 

So using the above, if I wanted to configure an IOPS limit to satisfy a 10 MBps throughput using a 8KB IO request size I would require to set the SIOC IOPS limit to 1280.

IOPS = (10/8)*1024 = 1280

It is possible to use the calculation in reverse to determine the MBps required to achieve the  IOPS claim using the following:

MBps = (IOPS * KB per IO) /1024 

In the above example where the requirement is to achieve 1280 IOPS, we would need a throughput of 10MBps to satisfy that claim.

MBps = (1280 * 8) /1024 = 10 

5 thoughts on “A calculation for MBps to IOPS (and vice versa…)

  1. gajendra d ambi July 2, 2012 / 21:25

    hope you are not gonna sue for copyright..lol..but i am putting it on my blogspot in a dfft way hopefully it will be useful many others. thanks.

    Like

  2. gajendra d ambi July 2, 2012 / 21:29

    sorry i am putting it as it is with a link at the top to this site.

    Like

    • deangrant July 5, 2012 / 11:57

      Not a problem, this was a freely available formula that I found whilst studying for my VCP5, which I both thought would be helpful and ultimately remind myself in the future!

      Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s