how to benchmark ubuntu RAID setup

zman099

n00b
Joined
Feb 9, 2006
Messages
49
how would i go about doing this? someone said use the DD command but i dont know extaclty how to use it. wouldnt anyone know how i would test it's speeds?


Thanks
 
Bonnie++ is one, plus both myself and Unhappy_mage has tested a could cards with it.

Search through Unhappy's posts to find the useage and results of the one line DD script.
 
Another command you can run is:

hdparm -Tt /dev/md0 (or whatever you raid disk is)

/dev/md0:
Timing cached reads: 2784 MB in 2.00 seconds = 1391.91 MB/sec
Timing buffered disk reads: 340 MB in 3.02 seconds = 112.73 MB/sec
 
zman099 said:
child of wonder how did you optimize you raid system to be that fast?

*shrug* lol

I didn't optimize anything. The drives are Seagate 500GB 16MB cache PATA and there are 2 in RAID 0 running software RAID.

The 16MB cache on each is probably what gets the cached read so high.

I also set the chunk size of the RAID array to 64k since I store a lot of large files on them.
 
actually md0 is faster now, i must of been copying something at the sametime when i was benchmarking it.


its a 2.8ghz p4 with 512ram and 1 74gig raptor and 1 250gig 7200rpm WD hd
 
raid0 i dont know how to tweak the performance out of it, but i set it up as raid 0 when i installed ubuntu .
 
That's your problem right there.

While you can set up RAID with different disks and only certain partitions, you're going to take a large performance hit for doing so.

You're probably better off using LVM if you need the space combined into one larger volume for /home.
 
Back
Top