SSD盘的性能初步测试

作者:osdba | 分类: 大话技术 | 标签: | 日期:2009-05-06

吞吐量使用dd工具,随机IO使用我写的一个工具iopress。

一款MLC的SSD测试结果:
随机读IOPS:7074,响应时间14ms,随机写IOPS:3065,响应时间33ms。
dd的吞吐量:读129Mbytes/s,写73Mbytes/s

一款SLC的 SSD:
随机读IOPS:17832,响应时间5.6ms,随机写IOPS:13152,响应时间7.60ms。
dd的吞吐量:读222Mbytes/s,写182Mbytes/s

结论:随机读的性能MLC SSD是SLC SSD的2.5倍左右,随机写SLC SSD是MLC SSD的4倍多,所以虽然MLC的价格比SLC价格便宜很多,但是性能也差很多。

MLC SSD盘的测试过程:

[root ]#iopress 0 100 60 8192 /dev/rdsk/c0t1d0p0
Start to read data test…
Large file is supported,file /dev/rdsk/c0t1d0p0 size is 47103 Mbytes,blocksize is 8192.
IO count is 426900,Times is 60.34seconds,IOPS is 7074,mean response time is 14.13ms,Cpu is 0.49%

[root ]#iopress 1 100 60 8192 /dev/rdsk/c0t1d0p0
Start to write data test…
Large file is supported,file /dev/rdsk/c0t1d0p0 size is 47103 Mbytes,blocksize is 8192.
IO count is 190100,Times is 62.02seconds,IOPS is 3065,mean response time is 32.63ms,Cpu is 0.04%

SLC SSD  单盘测试过程:
[root ]#iopress 0 100 60 8192 /dev/rdsk/c0t4d0p0
Start to read data test…
Large file is supported,file /dev/rdsk/c0t4d0p0 size is 29951 Mbytes,blocksize is 8192.
IO count is 1073600,Times is 60.21seconds,IOPS is 17832,mean response time is 5.61ms,Cpu is 1.58%

[root ]#iopress 1 100 60 8192 /dev/rdsk/c0t4d0p0
Start to write data test…
Large file is supported,file /dev/rdsk/c0t4d0p0 size is 29951 Mbytes,blocksize is 8192.
IO count is 792800,Times is 60.28seconds,IOPS is 13152,mean response time is 7.60ms,Cpu is 0.79%

4人发表了评论  ↓发表评论↓
  • (⊙ˍ⊙)looks nice.该工具有提供下载吗?支持的OS版本有?

    babyblue @ May 7, 2009 |

  • 单盘,没做raid?

    yejr @ May 7, 2009 |

  • 是的,是单盘,没有做raid。

    osdba @ May 7, 2009 |

  • (─.─||)
    结论:随机读的性能MLC SSD是SLC SSD的2.5倍左右,

    这个,,写反了吧,

    貌似测试iops,不同文件大小和随机程度得出的结果不一样, 你们可以根据你们的数据库环境, 测试符合你们的随机/顺序的读/写比例的情况. 到时候希望你们能提供测试数据,呵呵.

    iometer和passmark应该都有对应的非win版本,里头有一般情况的数据库模式

    xeonwell @ May 7, 2009 |

表情:<( ̄︶ ̄)> | (⊙ˍ⊙) | >﹏< | b( ̄▽ ̄)d | (─.─||) | (^_-)

[ Ctrl+Enter提交 ]

DBA