Menu Close

IOPS

What Is IOPS?

IOPS

IOPS (Input/Output Operations Per Second) is a performance metric that measures how many individual read and write operations a storage device or storage system can complete in one second.

IOPS is widely used to evaluate Solid-State Drives (SSDs), Hard Disk Drives (HDDs), storage arrays, Network Attached Storage (NAS), Storage Area Networks (SAN), and cloud storage services.

For example, an SSD capable of completing 100,000 input/output operations per second under a specified workload has a performance rating of 100,000 IOPS.

However, IOPS alone does not describe overall storage performance.

The result depends on operation size, read/write ratio, queue depth, and other workload conditions.

How Does IOPS Work?

When an application accesses stored data, the operating system generates input/output requests that are processed by the storage system.

Each completed request counts as an I/O operation. Reading a 4 KB block and writing a 4 KB block are examples of individual operations.

IOPS is calculated as:

IOPS = Number of Completed I/O Operations / Time in Seconds

For example, if a storage device completes 50,000 operations in one second, its measured performance is 50,000 IOPS.

Storage benchmarks often use small, randomly accessed blocks to measure IOPS because this workload reveals how efficiently a device handles frequent independent requests.

SSDs generally achieve much higher random IOPS than HDDs because SSDs do not require mechanical head movement or rotational positioning.

What Factors Affect IOPS?

Several factors influence IOPS performance.

Block Size: Smaller operations generally allow more I/O requests per second, while larger operations transfer more data per request.

Queue Depth: The number of outstanding I/O requests affects how much work the storage system can process concurrently.

Read/Write Ratio: Read operations and write operations may have different performance characteristics.

Storage Latency: The time required to complete an individual operation influences achievable IOPS.

Storage Technology: NAND Flash, magnetic disks, controllers, interfaces, and firmware affect performance.

Workload Pattern: Random access and sequential access place different demands on storage hardware.

Consequently, meaningful IOPS comparisons require consistent testing conditions.

IOPS vs. Throughput vs. Latency

IOPS, throughput, and latency describe different aspects of storage performance.

IOPS: Measures the number of completed read or write operations per second.

Throughput: Measures how much data is transferred per second, commonly expressed in MB/s or GB/s.

Latency: Measures the time required to complete an individual storage operation, commonly expressed in milliseconds or microseconds.

For example, a storage device performing 100,000 operations per second with a 4 KB transfer size achieves approximately 409.6 MB/s, assuming each operation transfers 4,096 bytes.

A device can provide high throughput for large sequential transfers without delivering equally high random IOPS.

Likewise, higher IOPS does not necessarily mean lower latency under every workload.

How Is IOPS Measured?

IOPS is commonly measured using storage benchmarking software.

On Linux, fio (Flexible I/O Tester) is widely used to generate controlled read and write workloads.

A benchmark can specify block size, queue depth, read/write ratio, test duration, and the number of concurrent jobs.

For example, a test using 4 KB random reads evaluates a different performance characteristic from a test using large sequential writes.

Benchmark results should also identify whether caching is involved and whether the workload reaches a stable performance state.

Advertised maximum IOPS figures may not represent performance under normal application conditions.

Where Is IOPS Important?

IOPS is particularly important for databases, virtualization platforms, transaction-processing systems, and enterprise storage.

For example, a database server may generate thousands of small random read and write requests while processing customer transactions.

Virtualization hosts may also require high IOPS because many virtual machines access shared storage simultaneously.

Cloud providers sometimes specify provisioned IOPS limits for particular storage volumes.

However, applications requiring high performance should consider latency and throughput alongside IOPS.

Conclusion

IOPS measures the number of storage input/output operations completed per second.

It is an important metric for evaluating SSDs, HDDs, databases, and enterprise storage systems.

Understanding IOPS together with throughput, latency, block size, and queue depth provides a more complete picture of storage performance.

Leave a Reply