[DRBD-user] Performance issue on XEN+DRBD+LVM+SOFTWARE RAID 1

mailtolouis2020-forum at yahoo.com mailtolouis2020-forum at yahoo.com
Tue Apr 30 17:42:19 CEST 2013

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hi,

We
 are setting up a drbd system use for XEN virtualization. The 
performance we tested on VM is not ideal.  The setup is like this 
XEN+DRBD+LVM+SOFTWARE RAID 1. Is anyone have this similar setup?  What 
performance you can achive?

Here are the details of our setup:
Hardware:
CPU : Intel Core i7 3770 CPU 
RAM : 32GB 
Hard Drive : 2 x 2TB SATA3 Western Digital Hard Drive, Software RAID 1 setup 
NIC : 2 Intel Gigabit Pro 1000CT PCIe. One is dedicate to DRBD direct link (cross over)

Software:
Ubuntu 12.04 for the host.
Centos 6.3 for the guest vm (Para virtualize) .
DRBD 8.4.3
Xen 4.1

drbd.conf :
global
 {
        usage-count no;
}
common {
        protocol C;
        startup {
                degr-wfc-timeout 60;
                wfc-timeout  30;
        }

        net {
                allow-two-primaries;                 ### For Primary/Primary ###
                after-sb-0pri
 discard-zero-changes;
                after-sb-1pri violently-as0p;
                after-sb-2pri violently-as0p;
                sndbuf-size 0;
        }

        syncer {
                rate 100M;
                verify-alg sha1;
        }
}
 
resource c6pv153 {
 
        disk      /dev/vmVg/c6pv153;
        device   
 /dev/drbd1;
        meta-disk internal;

        on server1 {
                address   10.0.0.1:7789;
        }
 
        on server2 {
                address   10.0.0.2:7789;
        }
}


dd command use for the test:
dd bs=1M count=1024 if=/dev/zero of=test conv=fdatasync

The dd result we can get is around 30MB/s - 34MB/s

If we run the test on the host in DRBD + LVM partition. We could get 75MB/s - 78MB/s

Is there any way we can improve it without adding/changing hardward?

I saw someone using this kind of setup XEN+LVM+DRBD+SOFTWARE RAID 1, will that make any different?



Regards
Louis

	* 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20130430/05137960/attachment.htm>


More information about the drbd-user mailing list