Toolvito

Works on this device

Storage Iops Calculator

Work with IOPS, the number of read and write requests a storage system serves each second. Estimate the IOPS of a RAID array, the drives a load needs, the throughput at a block size, the IOPS of a spinning hard drive and the tie between latency and queue depth. The figures of your drives are yours to type: none are built in.

Enter your values

Drives × IOPS of one drive, reduced by the extra drive operations that writes need on each RAID level.

Your values

Example value. Type the random IOPS of your own drive, from its data sheet or from a test. The tool has no drive data.

Example value. The rest are writes. A monitoring program of your system shows the real mix.

Leave blank to use the usual figure for the level: RAID 0: 1, RAID 1 and 10: 2, RAID 5: 4, RAID 6: 6. Type another figure if your system differs.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Calculate.

How to use this calculator

  1. Keep the first choice, IOPS of a RAID array, or choose another calculation.
  2. Choose the RAID level and type the number of drives.
  3. Type the IOPS of one drive. Take it from the data sheet of the drive or from your own test. The starting value is an example.
  4. Type the share of requests that are reads. The rest are writes.
  5. Choose Calculate. The table shows every RAID level for the same drives and mix.

The formulas

  • Usable IOPS of an array = drives × IOPS of one drive ÷ (read share + write share × write penalty).
  • Drives needed = target IOPS × (read share + write share × write penalty) ÷ IOPS of one drive, rounded up.
  • Throughput in bytes each second = IOPS × block size in bytes.
  • Spinning drive IOPS = 1000 ÷ (average seek time in ms + 30000 ÷ rpm). Half a rotation takes 30000 ÷ rpm milliseconds.
  • Latency and queue depth (Little's law): requests in progress = IOPS × average latency in seconds.

The usual write penalty

One small random write needs more than one drive operation on most RAID levels. The usual figures are a convention. You can type your own figure.

Usual write penalty of each RAID level
RAID level Write penalty Why
RAID 0 1 One write to one drive
RAID 1 2 One write to each of the two copies
RAID 10 2 One write to each of the two copies
RAID 5 4 Read the old data and the old parity, then write the new data and the new parity
RAID 6 6 Read the old data and two parities, then write the new data and two parities

Worked examples

Array: 8 drives of 150 IOPS give 1,200 IOPS together. In RAID 5 with 70% reads, usable IOPS = 1,200 ÷ (0.7 + 0.3 × 4) = 1,200 ÷ 1.9 = 632.

Drives needed: a load of 2,000 IOPS with 70% reads on RAID 5 needs 2,000 × 1.9 = 3,800 drive operations each second. With 150 IOPS for each drive that is 25.33, so 26 drives.

Throughput: 10,000 IOPS at a block size of 4 KiB move 10,000 × 4,096 = 40,960,000 bytes each second. That is 40.96 MB/s, or 327.68 Mbit/s.

Spinning drive: at 7,200 rpm half a rotation takes 30000 ÷ 7200 = 4.167 ms. With an average seek time of 8.5 ms, one request takes 12.667 ms, so the drive serves about 78.9 random IOPS.

Latency: 20,000 IOPS at a queue depth of 32 mean an average latency of 32 ÷ 20,000 = 0.0016 seconds, which is 1.6 ms.

Limits you should know

  • The tool has no data about any drive, SSD, controller or storage array, and no figures of any maker. The starting values are examples.
  • The array formula is a planning estimate for small random requests. Caches, the controller, large or sequential requests and the stripe size change real figures a lot.
  • The write penalty is a convention. Real systems often do better than it.
  • The spinning drive estimate is for a queue depth of 1 and does not apply to solid-state drives.
  • Little's law ties averages together. It does not tell you the slowest requests.
  • Measure the real system with your own workload before you depend on a figure.

Related tools