Disk iops Calculation and Measurement

Source: Internet
Author: User

Iops (input/output per second) is the input output per second (or the number of reads and writes), which is one of the main indicators to measure disk performance. Iops refers to the number of I/O requests that the system can process per second, i/O requests are generally read or write data operation requests. For applications with frequent random reads and writes, such as OLTP (online transaction processing), iops is a key indicator. Another important metric is throughput, which refers to the number of data records that can be successfully transferred per unit time. For applications with a large number of sequential reads and writes, such as VOD (video on demand), more attention is given to throughput indicators.

A traditional disk is essentially a type of mechanical device, such as FC, SAS, and SATA disks, with a speed of 5400/7200/10 k/15 K rpm. The key factor affecting the disk is the disk service time, that is, the time it takes for the disk to complete an I/O request. It consists of three parts: Seeking time, rotation delay, and data transmission time.

Seek time tseek refers to the time required to move the read/write head to the correct track. The shorter the tracing time, the faster I/O operations are. Currently, the average tracing time of a disk is generally 3-15 ms. The rotation delay trotation refers to the time required for disk rotation to move the sector where the request data is located to the bottom of the read/write head. The rotation delay depends on the disk speed, which is usually expressed by 1/2 of the time required for disk rotation for one week. For example, the average rotation latency of a 7200 RPM disk is about 60*1000/7200/2 = 4.17 ms, while the average rotation latency of a 15000 rpm disk is about 2 ms.

Data transmission time Ttransfer refers to the time required to complete the data requested for transmission. It depends on the data transmission rate, and its value is equal to the data size divided by the data transmission rate. At present, IDE/ATA can reach 133 Mb/s, and sata ii can reach the interface data transmission rate of 300 MB/S. The data transmission time is usually far earlier than the first two parts.

Therefore, theoretically the maximum iops of the disk can be calculated, that is, iops = 1000 MS/(tseek + troatation), ignoring the data transfer time. Assuming that the average physical tracing time of a disk is 3 ms and the disk speed is 1000, 10 K, and 15 K rpm, the theoretical maximum iops of the disk is 60000/7200/(3 +/2) = 140 iops = 1000/(3 + 60000/10000/2) = 167 iops = 1000/(3 + 60000/15000/2) = 200

SSD is an electronic device that avoids the time spent on track finding and rotating traditional disks and greatly reduces the overhead of storage unit addressing. Therefore, the iops can be very high, it can reach tens of thousands or even hundreds of thousands. In actual measurement, iops values are affected by many factors, including I/O load characteristics (read/write ratio, order and random, number of working threads, queue depth, and data record size), system configuration, operating system, disk drive, and so on. Therefore, when comparing disk iops measurement, it must be performed under the same test benchmark, even in case of random uncertainty. In general, iops can be subdivided into the following indicators: toatal iops, disk iops under mixed read/write and sequential random I/O load, which is the most consistent with the actual I/O situation, most applications focus on this metric.

Random read iops: iops in the case of 100% random read loads. Random write iops: iops under 100% random write loads. Sequential read iops: iops in the case of 100% sequential load reads. Sequential write iops: The iops under 100% sequential write loads.

Iops testing benchmark tools include iometer, Iozone, and FIO, which can be used to test disk iops in different situations. For an application system, you must first determine the load characteristics of the data, then select appropriate iops indicators for measurement and comparative analysis, and then select the appropriate storage medium and software system. The following disk iops data comes from http://en.wikipedia.org/wiki/iops, which provides you with a basic reference.

 

 

Device iops interface notes

7200

Rpm SATA drives

~ 90 iops SATA II

10 K

Rpm SATA drives, queue depth 1

~ 130 iops

SATA II

FIO-readonly-name iops

-RW = randread-BS = 512-runtime = 20-iodepth 1-filename/dev/SDA-ioengine libaio-Direct = 1

10 k rpm Serial Attached SCSI drives

~ 140 iops SAS

15 k rpm Serial Attached SCSI drives

~ 180 iops SAS

10 K

Rpm SATA drives, queue depth 24

~ 290 iops

SATA II

FIO-readonly-name iops-RW = randread-BS = 512-runtime = 20-iodepth 24-filename/dev/SDA-ioengine libaio-Direct = 1

Simple slc ssd ~ 400 iops SATA II

 

 

 

 

 

 

Intel X25-M G2 (MLC; as of March 2010)

~ 8,600 iops

SATA II

Intel's Data Sheet claims 6,600/8,600

Iops (80 GB/160 GB version) and 35,000 iops for random 4kb writes and reads, respectively.

Intel X25-E (SLC; as of March 2009)

~ 5,000 iops

SATA II

Intel's Data Sheet claims 3,300 iops and 35,000 iops for writes and

Reads, respectively. 5,000 iops are measured for a mix. Intel X25-E G1 has around 3 times higher iops compared to the intel X25-M G2.

Ocz Z-drive e84, a PCI Express SLC solid state drive

16,000 iops

PCIe

Maximum read/write speed of 800/750 Mbit/s ).

G. Skill Phoenix Pro et. al.

~ 20,000 iops

SATA III

SandForce-1200 based SSD Drives with enhanced firmware, States up

50,000 iops, but real-world

Performance shows for all drives from different manufacturers ~ 25,000 iops for random read and ~ 15,000 iops for random write.

Iodrive, a PCI-Express card with Flash

140,000 read

Iops, 135,000

Write iops

PCIe

Iodrive duo 250,000 + iops PCIe

Ddrdrive X1, a May 2009 PCI Express based solid-state drive

300,000 + (B

Random read iops) and 200,000 + (512b random write iops)

PCIe

 

 

 

 

 

 

Texas memory system RamSan-20 120,000 + random read/write iops

PCIe

Inlude RAM cache and ultracapacitor to preserve the memory non-volatile

Texas memory system RamSan-630 Appliance

1,000,000 + random read/write iops FC/InfiniBand

Violin memory Appliance

1,000,000 +

Random read/write iops proprietary Interconnect

Iodrive octal (single PCI Express Card)

1,000,000 +

Random read/write iops

PCIe

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.