YP.Lam | 服务器SSD以及SSD RAID性能测试
  • In Linux
  • /
  • Posted 2015-08-15

服务器SSD以及SSD RAID性能测试

最近拿到几块Intel的企业级SSD准备搭建新的服务器,下面分享一些这段时间的测试数据。

测试主要在DELL R610、阿里云4核非IO优化SSD服务器环境下进行,测试工具为sysbench。

测试过程主要是使用sysbench命令分别对 SATA、SAS、SSD盘进行测试,其中测试重点在于SSD性能对比。

结果

对比显示,RAID0与RAID10的SSD性能最好,当中,家用SSD比商用的也快不少。

SSD搭建RAID1后性能有部分损失,但不大,162/199;

SSD组RAID5后性能有明显损失,73/199;

测试主要命令:


sysbench --test=fileio --file-total-size=2G prepare

sysbench --test=fileio --file-total-size=2G --file-test-mode=rndrw --init-rng=on --max-time=300 --max-requests=0 run

sysbench --test=fileio --file-total-size=2G cleanup

下面为测试数据:

普通sata硬盘


Operations performed: 148200 Read, 98800 Write, 316059 Other = 563059 Total
Read 2.2614Gb Written 1.5076Gb Total transferred 3.7689Gb (12.862Mb/sec)
823.17 Requests/sec executed

Test execution summary:
total time: 300.0585s
total number of events: 247000
total time taken by event execution: 2.2265
per-request statistics:
min: 0.01ms
avg: 0.01ms
max: 0.15ms
approx. 95 percentile: 0.01ms

Threads fairness:
events (avg/stddev): 247000.0000/0.00
execution time (avg/stddev): 2.2265/0.00

SAS盘RAID5

Operations performed: 213600 Read, 142400 Write, 455562 Other = 811562 Total
Read 3.2593Gb Written 2.1729Gb Total transferred 5.4321Gb (18.523Mb/sec)
1185.46 Requests/sec executed

Test execution summary:
total time: 300.3062s
total number of events: 356000
total time taken by event execution: 3.6042
per-request statistics:
min: 0.00ms
avg: 0.01ms
max: 0.74ms
approx. 95 percentile: 0.01ms

Threads fairness:
events (avg/stddev): 356000.0000/0.00
execution time (avg/stddev): 3.6042/0.00

阿里云SSD,非IO优化

Operations performed: 253860 Read, 169240 Write, 541558 Other = 964658 Total
Read 3.8736Gb Written 2.5824Gb Total transferred 6.456Gb (22.036Mb/sec)
1410.33 Requests/sec executed

Test execution summary:
total time: 300.0010s
total number of events: 423100
total time taken by event execution: 3.2958
per-request statistics:
min: 0.00ms
avg: 0.01ms
max: 11.76ms
approx. 95 percentile: 0.01ms

Threads fairness:
events (avg/stddev): 423100.0000/0.00
execution time (avg/stddev): 3.2958/0.00

金士顿普通SSD,RAID0


Operations performed: 3112380 Read, 2074920 Write, 6639620 Other = 11826920 Total
Read 47.491Gb Written 31.661Gb Total transferred 79.152Gb (270.17Mb/sec)
17290.98 Requests/sec executed

Test execution summary:
total time: 300.0004s
total number of events: 5187300
total time taken by event execution: 42.7006
per-request statistics:
min: 0.00ms
avg: 0.01ms
max: 0.12ms
approx. 95 percentile: 0.01ms

Threads fairness:
events (avg/stddev): 5187300.0000/0.00
execution time (avg/stddev): 42.7006/0.00

INTEL企业级SSD,RAID0

Operations performed: 2292180 Read, 1528120 Write, 4889859 Other = 8710159 Total
Read 34.976Gb Written 23.317Gb Total transferred 58.293Gb (198.97Mb/sec)
12734.30 Requests/sec executed

Test execution summary:
total time: 300.0007s
total number of events: 3820300
total time taken by event execution: 16.8218
per-request statistics:
min: 0.00ms
avg: 0.00ms
max: 0.21ms
approx. 95 percentile: 0.01ms

Threads fairness:
events (avg/stddev): 3820300.0000/0.00
execution time (avg/stddev): 16.8218/0.00

INTEL企业级SSD RAID10, 4盘

Operations performed: 2323620 Read, 1549080 Write, 4956949 Other = 8829649 Total
Read 35.456Gb Written 23.637Gb Total transferred 59.093Gb (201.7Mb/sec)
12908.99 Requests/sec executed

Test execution summary:
total time: 300.0003s
total number of events: 3872700
total time taken by event execution: 18.8378
per-request statistics:
min: 0.00ms
avg: 0.00ms
max: 7.08ms
approx. 95 percentile: 0.01ms

Threads fairness:
events (avg/stddev): 3872700.0000/0.00
execution time (avg/stddev): 18.8378/0.00

INTEL企业级SSD,RAID1

Operations performed: 1868760 Read, 1245840 Write, 3986627 Other = 7101227 Total
Read 28.515Gb Written 19.01Gb Total transferred 47.525Gb (162.22Mb/sec)
10381.99 Requests/sec executed

Test execution summary:
total time: 300.0002s
total number of events: 3114600
total time taken by event execution: 14.2077
per-request statistics:
min: 0.00ms
avg: 0.00ms
max: 0.58ms
approx. 95 percentile: 0.01ms

Threads fairness:
events (avg/stddev): 3114600.0000/0.00
execution time (avg/stddev): 14.2077/0.00

INTEL企业级SSD,RAID5,3盘

Operations performed: 844500 Read, 563000 Write, 1801541 Other = 3209041 Total
Read 12.886Gb Written 8.5907Gb Total transferred 21.477Gb (73.307Mb/sec)
4691.66 Requests/sec executed

Test execution summary:
total time: 300.0006s
total number of events: 1407500
total time taken by event execution: 7.8239
per-request statistics:
min: 0.00ms
avg: 0.01ms
max: 0.13ms
approx. 95 percentile: 0.01ms

Threads fairness:
events (avg/stddev): 1407500.0000/0.00
execution time (avg/stddev): 7.8239/0.00