# devices
device 0 osd.0
device 1 osd.1
device 2 osd.2
root default {
id -1 # do not change unnecessarily
# weight 0.070
alg straw
hash 0 # rjenkins1
item c5 weight 0.030
item c2 weight 0.030
item c3 weight 0.010
} Volume Name: cindervol1
Type: Distributed-Replicate
Volume ID: a06a22f2-8aa5-4a63-8922-414e11ccf3fd
Status: Started
Number of Bricks: 2 x 3 = 6
Transport-type: tcp
Bricks:
Brick1: c5:/cinder-brick1/sdb
Brick2: c3:/cinder-brick1/sdb
Brick3: c2:/cinder-brick1/sdb
Brick4: c5:/cinder-brick2/sdb
Brick5: c3:/cinder-brick2/sdb
Brick6: c2:/cinder-brick2/sdb 

./all.sh "dd if=/dev/zero of=gluster-test/gluster bs=1G count=1"
./all.sh "dd if=/dev/zero of=ceph-test/ceph bs=1G count=1"
./all.sh "dd if=/dev/zero of=gluster-test/gluster bs=1G count=1"
root@c5:~# 1+0 records in
1+0 records out
1073741824 bytes (1.1 GB) copied, 184.559 s, 5.8 MB/s
1+0 records in
1+0 records out
1073741824 bytes (1.1 GB) copied, 387.49 s, 2.8 MB/s
1+0 records in
1+0 records out
1073741824 bytes (1.1 GB) copied, 460.413 s, 2.3 MB/s
./all.sh "dd if=/dev/zero of=ceph-test/ceph bs=1G count=1"
1+0 records in
1+0 records out
1073741824 bytes (1.1 GB) copied, 479.482 s, 2.2 MB/s
1+0 records in
1+0 records out
1073741824 bytes (1.1 GB) copied, 483.764 s, 2.2 MB/s
1+0 records in
1+0 records out
1073741824 bytes (1.1 GB) copied, 513.093 s, 2.1 MB/s





ssh -i ~/.ssh/cloud.key -o StrictHostKeyChecking=no ${VM} -l ubuntu "sudo dd if=/dev/zero of=/dev/vdb bs=1M count=$BLOCKS ; sync
ssh ${VM} "mkfs -t ext4 /dev/vdb"
ssh ${VM} "mkdir /mnt/test"
ssh ${VM} 'echo "/dev/vdb /mnt/test ext4 defaults" >> /etc/fstab; mount -a && mount
ssh vm${i} "pkill vmstat ; vmstat -n ${INTERVAL} | sed -e 's/^[\t]*//' -e '3d'" > ${RESULT_DIR}/vmstat_vm${i}.log &
ssh vm${i} "pkill iostat ; iostat -xdm | grep Device ; iostat -xdm ${INTERVAL} ${VM_DEV} | awk '/${VM_DEV}/{i++; if (i>1) print}'" > ${RESULT_DIR}/iostat_vm${i}.log & ssh vm${i} "iozone -w -c -C -e -i ${2} -+n -r ${3} -s ${4} -t ${VM_COUNT} -+u -F /mnt/test/tmp" | tee ${RESULT_DIR}/${IOZ_RESULT}.txt | 1 VM Read (kB/s) | 1 VM Write (kB/s) | 2 VM Read (kB/s) | 2 VM Write (kB/s) | |
|---|---|---|---|---|
| Gluster | 73712.89 | 55650.09 | sin ram | sin ram |
| CEPH | 93034.62 | 91937.97 | sin ram | sin ram |
| 2 VM Read (kB/s) | 2 VM Write (kB/s) | |
|---|---|---|
| Gluster | 181654 | 96410 |
| CEPH | 223824 | 176650 |