HI Everyone,
Just trying to workout why I have a Raid 0 that is slower that a Raid 1
device..
Now I have here a /dev/md0 which is a Raid1 and /dev/md4 which is Raid0
now using hdparm to test the speed..
# hdparm -Tt /dev/md0
/dev/md0:
Timing buffer-cache reads: 128 MB in 0.52 seconds =246.15 MB/sec
Timing buffered disk reads: 64 MB in 1.60 seconds = 40.00 MB/sec
# hdparm -Tt /dev/md4
/dev/md4:
Timing buffer-cache reads: 128 MB in 0.51 seconds =250.98 MB/sec
Timing buffered disk reads: 64 MB in 2.58 seconds = 24.81 MB/sec
O.K. why is the /dev/md4 slower considering that it's a RAID0 device?
Here's my /proc/mdstat file..
Personalities : [raid0] [raid1]
read_ahead 1024 sectors
md4 : active raid0 ide/host0/bus0/target0/lun0/part10[0] ide/host0/b
us0/target1/lun0/part10[1]
11164928 blocks 64k chunks
md3 : active raid1 ide/host0/bus0/target0/lun0/part9[0] ide/host0/bu
s0/target1/lun0/part9[1]
9767424 blocks [2/2] [UU]
md2 : active raid1 ide/host0/bus0/target0/lun0/part8[0] ide/host0/bu
s0/target1/lun0/part8[1]
14651136 blocks [2/2] [UU]
md1 : active raid1 ide/host0/bus0/target0/lun0/part7[0] ide/host0/bu
s0/target1/lun0/part7[1]
4883648 blocks [2/2] [UU]
md0 : active raid1 ide/host0/bus0/target0/lun0/part6[0] ide/host0/bu
s0/target1/lun0/part6[1]
3903680 blocks [2/2] [UU]
Cheers
Mark Williamson
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com