On Wed, 16 Jan 2008, Greg Cormier wrote:

What sort of tools are you using to get these benchmarks, and can I
used them for ext3?

Very interested in running this on my server.


Thanks,
Greg


You can use whatever suits you, such as untar kernel source tree, copy files, 
untar backups, etc--, you should benchmark specifically what *your* workload is.

Here is the skeleton, using bash:: (don't forget to turn off the cron daemon)

for i in 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768 65536
do
  cd /
  umount /r1
  mdadm -S /dev/md3
  mdadm --create --assume-clean --verbose /dev/md3 --level=5 --raid-devices=10 
--chunk=$i --run /dev/sd[c-l]1

  /etc/init.d/oraid.sh # to optimize my raid stuff

  mkfs.xfs -f /dev/md3
  mount /dev/md3 /r1 -o logbufs=8,logbsize=262144

  # then simply add what you do often here
  # everyone's workload is different
  /usr/bin/time -f %E -o ~/$i=chunk.txt bash -c 'dd if=/dev/zero of=/r1/bigfile 
bs=1M count=10240; sync'
done

Then just, grep : /root/*chunk* | sort -n to get the results in the same format.

Justin.
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to