天天看點

存儲性能名額--iops

    IOPS是指機關時間内系統能處理的I/O請求數量,一般以每秒處理的I/O請求數量為機關。随機讀寫頻繁的應用,如OLTP(Online Transaction Processing),IOPS是關鍵衡量名額。

    傳統磁盤本質上是一種機械裝置,轉速通常為5400/7200/10K/15K rpm不等。磁盤完成一個I/O請求所花費的時間,由尋道時間、旋轉延遲和資料傳輸時間三部分構成。尋道時間Tseek是指将磁頭移動至正确的磁道上所需要的時間,其平均值一般在3~15ms。旋轉延遲Trotation是指盤片旋轉将請求資料所在扇區移至讀寫磁頭下方所需要的時間,取決于磁盤轉速,通常使用磁盤旋轉一周所需時間的1/2表示,如,7200 rpm磁盤平均旋轉延遲大約為60*1000/7200/2 = 4.17ms。資料傳輸時間Ttransfer是指傳輸所請求資料所需要的時間,它取決于資料傳輸率,目前IDE/ATA能達到133MB/s,SATA II可達到300MB/s的資料傳輸率。相對于尋道時間Tseek和旋轉延遲Trotation,資料傳輸時間Ttransfer所占的比例往往是非常小的(取決于每次傳輸的資料量的大小,資料量大,則比例高,資料量小,則比例低)。

    IOPS與讀寫負載特征息息相關。如果為順序讀寫,則兩次順序讀寫之間的尋道時間和旋轉時間可以忽略,是以順序讀寫iops往往遠大于随機讀寫iops。除此之外,iops也與存儲的緩存、陣列的結構等有關。理論上可以計算出磁盤的最大随機IOPS,即IOPS = 1000 ms/ (Tseek + Troatation),其值一般在100~200之間。

    下面的圖表非常清楚的表示了IOPS和讀寫特征的關系:(配置12塊Maxtor 250GB, 7,200RPM的磁盤,512MB Cache)

存儲性能名額--iops
存儲性能名額--iops
存儲性能名額--iops
存儲性能名額--iops
存儲性能名額--iops

    在磁盤陣列系統中, 磁盤數量越多, IOPS 值越大 ( 幾乎呈線性增長 )

存儲性能名額--iops

    而且在同樣的配置下,IOPS值随磁盤中資料量的增加而下降

存儲性能名額--iops

    下面是常用磁盤的IOPS清單,參考自維基百科

Device Type IOPS Interface Notes
7,200 rpm SATA drives HDD ~75-100 IOPS[2] SATA 3 Gbit/s
10,000 rpm SATA drives HDD ~125-150 IOPS[2] SATA 3 Gbit/s
10,000 rpm SAS drives HDD ~140 IOPS[2] SAS
15,000 rpm SAS drives HDD ~175-210 IOPS[2] SAS

Solid State Devices

Device Type IOPS Interface Notes
Simple SLC SSD SSD ~400 IOPS[citation needed] SATA 3 Gbit/s
Intel X25-M G2(MLC) SSD ~8,600 IOPS[11] SATA 3 Gbit/s Intel's data sheet[12] claims 6,600/8,600 IOPS (80 GB/160 GB version) and 35,000 IOPS for random 4 KB writes and reads, respectively.
Intel X25-E(SLC) SSD ~5,000 IOPS[13] SATA 3 Gbit/s Intel's data sheet[14] 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.[15]
G.Skill Phoenix Pro SSD ~20,000 IOPS[16] SATA 3 Gbit/s SandForce-1200 based SSD drives with enhanced firmware, states up to 50,000 IOPS, but benchmarking shows for this particular drive ~25,000 IOPS for random read and ~15,000 IOPS for random write.[16]
OCZ Vertex 3 SSD Up to 60,000 IOPS[17] SATA 6 Gbit/s Random Write 4 KB (Aligned)
Corsair Force Series GT SSD Up to 85,000 IOPS[18] SATA 6 Gbit/s 240 GB Drive, 555 MB/s sequential read & 525 MB/s sequential write, Random Write 4 KB Test (Aligned)
OCZ Vertex 4 SSD Up to 120,000 IOPS[19] SATA 6 Gbit/s 256 GB Drive, 560 MB/s sequential read & 510 MB/s sequential write, Random Read 4 KB Test 90K IOPS, Random Write 4 KB Test 85K IOPS
Texas Memory Systems RamSan-20 SSD 120,000+ Random Read/Write IOPS[20] PCIe Includes RAM cache
Fusion-ioioDrive SSD 140,000 Read IOPS, 135,000 Write IOPS[21] PCIe
Virident SystemstachIOn SSD 320,000 sustained READ IOPS using 4KB blocks and 200,000 sustained WRITE IOPS using 4KB blocks[22] PCIe
OCZ RevoDrive 3 X2 SSD 200,000 Random Write 4K IOPS[23] PCIe
Fusion-io ioDrive Duo SSD 250,000+ IOPS[24] PCIe
Violin MemoryViolin 3200 SSD 250,000+ Random Read/Write IOPS[25] PCIe /FC/Infiniband/iSCSI Flash Memory Array
WHIPTAIL, ACCELA SSD 250,000/200,000+ Write/Read IOPS[26] Fibre Channel, iSCSI, Infiniband/SRP, NFS, CIFS Flash Based Storage Array
DDRdrive X1, SSD 300,000+ (512B Random Read IOPS) and 200,000+ (512B Random Write IOPS)[27][28][29][30] PCIe
SolidFireSF3010/SF6010 SSD 250,000 4KB Read/Write IOPS[31] iSCSI Flash Based Storage Array (5RU)
Texas Memory Systems RamSan-720 Appliance SSD 500,000 Optimal Read, 250,000 Optimal Write 4KB IOPS[32] FC / InfiniBand
OCZ Single SuperScale Z-Drive R4 PCI-Express SSD SSD Up to 500,000 IOPS[33] PCIe
WHIPTAIL,INVICTA SSD 650,000/550,000+ Read/Write IOPS[34] Fibre Channel, iSCSI, Infiniband/SRP, NFS Flash Based Storage Array
Violin MemoryViolin 6000 3RU Flash Memory Array 1,000,000+ Random Read/Write IOPS[35] /FC/Infiniband/10Gb(iSCSI)/ PCIe
Texas Memory Systems RamSan-630 Appliance SSD 1,000,000+ 4KB Random Read/Write IOPS[36] FC / InfiniBand
Fusion-io ioDrive Octal (single PCI Express card) SSD 1,180,000+ Random Read/Write IOPS[37] PCIe
OCZ 2x SuperScale Z-Drive R4 PCI-Express SSD SSD Up to 1,200,000 IOPS[33] PCIe
Texas Memory Systems RamSan-70 SSD 1,200,000 Random Read/Write IOPS[38] PCIe Includes RAM cache
Kaminario K2 Flash/DRAM/Hybrid SSD Up to 1,200,000 IOPS SPC-1 IOPS with the K2-D (DRAM)[39][40] FC
Fusion-io ioDrive2 SSD Up to 9,608,000 IOPS[41] PCIe