[sheepdog] sheepdog performance testing

徐展聪 xuzhancong at cloudkc.net
Wed Sep 11 14:13:12 CEST 2013


hello,
https://s3.amazonaws.com/aws001/guided_trek/Performance_in_a_Gluster_Systemv6F.pdf

we have made performance testing of sheepdog cluster.
we choose dd to test write& read speed ,and fio for iops testing.

Here is the configuration:4 servers each have 6*1T disk(SATA2 3GB  7200rpm) ,use 10G Ethernet port for io handle.
All of the testing runing on single vm on this cluster.

sheepdog start script :
mountdir=/cloud
zookeeper="192.168.10.45:2181 192.168.10.46:2181 192.168.10.41:2181 192.168.10.47:2181"
sheep /home/gateway -l 7 -p 7000 -g 64 -z 3 -D -c zookeeper:${zookeeper}
sheep -l 7 ${mountdir}/0,${mountdir}/1,${mountdir}/2,${mountdir}/3,${mountdir}/4 -w size=100G,dir=${mountdir}/cache -i host=192.168.10.46,port=7010 -p 7020 -D -c zooke
eper:${zookeeper}

Sheepdog daemon version 0.7.50

1GB uncached write test, 1MB block size
$ dd if=/dev/zero of=/home/xxx bs=1M count=1024 oflag=direct
     result:67.3MB/s

 1GB uncached read test, 1MB block size
$ dd if=/home/xxx of=/dev/null bs=1M iflag=direct
    result:62.5MB/s

DD testing scripts,as attachment ddtest.sh
DD testing result,as attachment dd.result

FIO Testing scripts from sheepdog.taobao.org:
[root at vm1973882 home]# cat fiotest.sh
#!/bin/bash
for i in `echo "1 2 4 8 16 32 64 128 256"`
do
fio -name iops -rw=randwrite -runtime=120 -iodepth ${i} -directory /home -size 800m -ioengine libaio -direct=1 -bs=4k >> fio.txt
fio -name iops -rw=write -runtime=120 -iodepth ${i} -directory /home -size 800m -ioengine libaio -direct=1 -bs=4k >> fio.txt
fio -readonly -name iops -rw=randread -runtime=120 -iodepth ${i} -filename /dev/sda -ioengine libaio -direct=1 -bs=4k >> fio.txt
fio -readonly -name iops -rw=read -runtime=120 -iodepth ${i} -filename /dev/sda -ioengine libaio -direct=1 -bs=4k >> fio.txt
done

FIO test reslut,attachment fio.txt


Dose sheepdog have any plan or possible to become an optional of kernel like ceph ?



ps:sheedog.taobao.org still can't open.It is very helpfull for newbies like me.




Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20130911/301e3aec/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dd.result
Type: application/octet-stream
Size: 7794 bytes
Desc: dd.result
URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20130911/301e3aec/attachment-0006.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fio.txt
URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20130911/301e3aec/attachment-0003.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ddtest.sh
Type: application/octet-stream
Size: 298 bytes
Desc: ddtest.sh
URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20130911/301e3aec/attachment-0007.obj>


More information about the sheepdog mailing list