Alipay, Hangzhou

IO Test for EBS Volumes: RAID10 and RAID0′s performance

RAID10 is the most widely used RAID in the database area, and RAID0 is the one recommended by Amazon. I am going to test performance of them in the same way I tested RAID5.

Environment:
EC2 type: c1.xlarge
EBS num: 10
OS: Redhat 6.2
FS: Ext4
Tool: sysbench-0.4.12
Parameter: block size = 16K; thread number = 16

Here is result:

seq-writeseq-rewriteseq-readrand-writerand-read
RAID013.697Mb/s13.661Mb/s81.380Mb/s70.939Mb/s24.906Mb/s
RAID1011.235Mb/s10.709Mb/s88.707Mb/s42.887Mb/s24.462Mb/s

So far as we tested, RAID0 is superior to RAID10 in random write. But considering the durability RAID10 provided, it is still a good choice for database. Even for application instance, RAID10 is still suitable because there are a lot of appending logs.

Tags: , , , , , ,

Leave a Reply

You must be logged in to post a comment.