drbd-user March 2010 archive
Main Archive Page > Month Archives  > drbd-user archives
drbd-user: Re: [DRBD-user] DRBD is deadly slow.

Re: [DRBD-user] DRBD is deadly slow.

From: PN <poknam_at_nospam>
Date: Tue Mar 30 2010 - 13:35:06 GMT
To: Balreddy Medipally <balreddy.m@imimobile.com>

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@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@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;
> meta-disk internal;
> }
> on imi-drbd2 {
> device /dev/drbd0;
> disk /dev/sda2;
> address ipv4 192.168.168.2:7768;
> meta-disk internal;
> }
> }
> [root@imi-drbd1 ~]#
>
> Thanks,
> BalReddy.
> _______________________________________________
> drbd-user mailing list
> drbd-user@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

_______________________________________________
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user