Changes

Jump to: navigation, search

SYA810 RAID Benchmarking Lab

2,444 bytes added, 17:38, 12 February 2009
no edit summary
|-
|Kezhong Liang
|2009-02-10 23:30 - ??2009-02-11 15:30
|RAID - 1+0
===Kezhong Liang===
*Raid Type: RAID 1+0
*My Test RAID 1+0 disk performance steps:  mdadm -C /dev/md9 -l1 -n2 /dev/sd[a,b]9 mdadm -C /dev/md10 -l1 -n2 /dev/sd]c,d]9 mdadm -C /dev/md11 -l1 -n2 /dev/sd[e,f]9 cat /proc/mdstat mdadm -C /dev/md12 -l0 -n3 /dev/md9 /dev/md10 /dev/md11 mkfs.ext3 /dev/md12 mkdir /media/raid10 mount /dev/md12 /media/raid10** Run the scripts, and write down the result. After finished, delete the raid10 I've created. umount /dev/md12 mdadm --fail /dev/md12 /dev/md9 mdadm --fail /dev/md12 /dev/md10 mdadm --fail /dev/md12 /dev/md11 mdadm --fail /dev/md9 /dev/sd[a,b]9 mdadm --fail /dev/md10 /dev/sd[c,d]9 mdadm --fail /dev/md11 /dev/sd[e,f]9 mdadm -S /dev/md12 mdadm -S /dev/md9 mdadm -S /dev/md10 mdadm -S /dev/md11 *The result of using my Script
{|class="mediawiki" border="1" width="90%"
|-
|-
|Read Rate: 146 204 MB/sec|Read Rate: 113 170 MB/sec|Read Rate: 113 204 MB/sec
|-
|Write Rate: 85 102 MB/sec
|Write Rate: 102 MB/sec
|Write Rate: 93 MB/sec
|}
*The result of using Milton's Script
{|class="mediawiki" border="1" width="90%"
|-
|-
| 8372.9532 2998 s, 128 149 MB/s|169.5242 s, 154 MB/s|174.3364 s, 144 MB/s
|-
| 8471.3996 5798 s, 127 150 MB/s|268.4565 s, 157 MB/s|276.9103 s, 140 MB/s
|-
| 8478.9578 171 s, 126 137 MB/s|369.6763 s, 154 MB/s|381.2547 s, 132 MB/s
|-
| 8170.3142 153 s, 132 153 MB/s|469.0485 s, 156 MB/s|474.9017 s, 143 MB/s
|-
| 8374.765 2309 s, 128 145 MB/s|569.2078 s, 155 MB/s|571.7726 s, 150 MB/s
|-
| 8573.7293 7941 s, 125 146 MB/s|673.1318 s, 147 MB/s|669.8053 s, 154 MB/s
|-
| 8774.1597 8228 s, 123 144 MB/s|769.0291 s, 156 MB/s|775.1002 s, 143 MB/s
|-
| 9072.8568 4651 s, 118 148 MB/s|875.5166 s, 142 MB/s|870.8875 s, 151 MB/s
|-
| 9374.2736 2831 s, 115 145 MB/s|974.2722 s, 145 MB/s|972.1222 s, 149 MB/s
|-
| 8872.5399 935 s, 121 147 MB/s|1070.74 s, 152 MB/s|1071.1439 s, 151 MB/s
|-
| real 751.44 user 0.00 sys 386.13
| real 943.22 user 0.00 sys 394.61
| real 980.07 user 0.00 sys 400.46
|}
*Conclusion
I did this lab three times. I failed in the first time, because the sdf9 couldn't be used. Then I used 4 disks to do the lab, it succeeded. After I
asked Chris, I found the problem. The sdf9 was used by another raid(md_d8, it is inactive), so I stopped it. Finally, I finished the lab. I compared
the result with Milton's and my second times. I find the disk speed of the raid 10 is slower than raid0(it should be) and the speed using 6 disks is
faster than 4 disks.
 
==Mohak Vyas==
* RAID type: <b>RAID-4</b>
<b># mdadm --create /dev/md8 --level=4 --raid-devices=4 /dev/sd[a,b,c,d]9</b>
<b># cat /proc/mdstat</b>
.........
.........
.........
md8 : active raid4 sdd9[4] sdc9[2] sdb9[1] sda9[0]
619353600 blocks level 4, 64k chunk, algorithm 0 [4/3] [UUU_]
[>....................] recovery = 0.7% (1505028/206451200) finish=49.9m
in speed=68410K/sec
<b># mkfs.ext3 /dev/md8</b>
<b># mount /dev/md8 /mnt1</b>
Run your performance script.
My script creates <b>2000 100KB files</b>. It took <b>1792.0 Seconds</b> to create those files.
Testing with Kezhong's script:
The write disk performance: 68 MB/sec
The read disk performance: 204 MB/sec
1
edit

Navigation menu