Blog has been moved to another domain

I switched away from blogger to my new site at louwrentius.com

All content on this blog has been migrated to this new web site. This blog will not be updated anymore.

woensdag 29 september 2010

Linux Software RAID benchmarking script

Just a small post.

To benchmark your Linux software RAID array as setup with MDADM, please use my new benchmark script. I used this script to create these results.

You may need to configure some values within the header of this file to make it fit your enviroment.


DEVICES="/dev/sd[a-f]"
NO_OF_DEVICES=6
ARRAY=/dev/md5
CHUNKS="4 8 16 32 64 128 256 512 1024"
MOUNT=/storage
LOG=/var/log/raid-test.log
LOGDEBUG=/var/log/raid-test-debug.log
LEVEL="0 5 6 10"
TESTFILE=$MOUNT/test.bin
TESTFILESIZE=10000 (IN MB, thus this is 10 GB)
TRIES=5 (how many times to run a benchmark.)
By default, the script wil format the array using XFS, feel free to format it with another filesystem such as EXT4 or EXT3 or whatever you want to test.