[DRBD-user] DRBD is deadly slow.

James Perry jperry at mezeo.com
Tue Mar 30 15:48:07 CEST 2010

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


Read this!

http://www.drbd.org/users-guide/s-configure-syncer-rate.html

On Mar 30, 2010, at 8:35 AM, PN wrote:

Try to increase the syncer rate to a much higher number and restart DRBD on both nodes will definitely help to increase the sync speed.

PN



2010/3/30 Balreddy Medipally <balreddy.m at imimobile.com<mailto:balreddy.m at imimobile.com>>
 Hi All,

       I am running DRBD 8.3.0 on RedHat Enterprise Linux AS 4.8 64-bit
OS for production purpose. MySQL works superfast in when load was not
there, when load was there it become deadly slow. Can any one please
help me to make it faster.

Here is my drbd.conf file.

[root at imi-drbd1 ~]# cat /etc/drbd.conf
resource drbd0 {
protocol C;
startup {
become-primary-on both;
}
net {
allow-two-primaries;
cram-hmac-alg sha256;
shared-secret DRBD2KVM123456;
after-sb-0pri discard-least-changes;
after-sb-1pri violently-as0p;
after-sb-2pri violently-as0p;
rr-conflict violently;
}
syncer {
rate 44M;
}

on imi-drbd1 {
        device           /dev/drbd0;
        disk             /dev/sda2;
        address          ipv4 192.168.168.1:7768<http://192.168.168.1:7768/>;
        meta-disk        internal;
}
on imi-drbd2 {
        device           /dev/drbd0;
        disk             /dev/sda2;
        address          ipv4 192.168.168.2:7768<http://192.168.168.2:7768/>;
        meta-disk        internal;
       }
}
[root at imi-drbd1 ~]#

Thanks,
BalReddy.
_______________________________________________
drbd-user mailing list
drbd-user at lists.linbit.com<mailto:drbd-user at lists.linbit.com>
http://lists.linbit.com/mailman/listinfo/drbd-user



--
Best Regards,
PN Lai
Storage Manager / HPC Specialist
Galactic Computng Corp.
Tel: 86-755-26733939 ext 826
Mobile: 86-13823161729 / 852-60333151
Fax: 86-755-26733780
URL: http://www.galactic.com.hk<http://www.galactic.com.hk/>
_______________________________________________
drbd-user mailing list
drbd-user at lists.linbit.com<mailto:drbd-user at lists.linbit.com>
http://lists.linbit.com/mailman/listinfo/drbd-user

James Perry
Principal Consultant
Mezeo Software
t: 713.244.0859
f: 713.244.0851
m: 713.444.0251

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20100330/496d6941/attachment.htm>


More information about the drbd-user mailing list