[DRBD-user] Performance tuning

David Ruggles david at safedatausa.com
Wed May 27 21:35:46 CEST 2009

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


Should have thought to include this in the first post. This is a test
network so there's nothing sensitive in this config:

#
# please have a a look at the example configuration file in
# /usr/share/doc/drbd82/drbd.conf
#
global {
        usage-count     no;
}
resource r0 {
        protocol        C;
        syncer {
                rate            110M;
                al-extents      3833;
        }
        disk {
                on-io-error     detach;
        }
        net {
                unplug-watermark        128;
                max-buffers             8192;
                after-sb-0pri           discard-zero-changes;
                after-sb-1pri           discard-secondary;
                after-sb-2pri           disconnect;
        }
        on mysql1.local {
                device          /dev/drbd0;
                disk            /dev/sda5;
                address         10.0.0.1:7789;
                meta-disk       /dev/sda6[0];
        }
        on mysql2.local {
                device          /dev/drbd0;
                disk            /dev/sda5;
                address         10.0.0.2:7789;
                meta-disk       /dev/sda6[0];
        }
}

Thanks,

David Ruggles
CCNA MCSE (NT) CNA A+
Network Engineer	Safe Data, Inc.
(910) 285-7200	david at safedatausa.com



-----Original Message-----
From: drbd-user-bounces at lists.linbit.com
[mailto:drbd-user-bounces at lists.linbit.com] On Behalf Of Daniel Bourque
Sent: Wednesday, May 27, 2009 11:20 AM
To: drbd-user at lists.linbit.com
Subject: Re: [DRBD-user] Performance tuning


you did configure the syncer rate in the dbrbd.conf, right ?

Daniel Bourque
Sr. Systems Engineer
WeatherData Service Inc
An Accuweather Company


Gordan Bobic wrote:
> Have you tried no-disk-flushes, no-md-flushes options?
> http://www.drbd.org/users-guide/re-drbdconf.html
>
> Flushes and/or barriers can cause performance issues on some RAID
hardware.
> Make sure you don't disable drain, though.
>
> Gordan
>
> On Wed, 27 May 2009 08:57:02 -0400, David Ruggles <david at safedatausa.com>
> wrote:
>   
>> I've got a gigabit crossover link between two Dell PE 2650s running
>>     
> CentOS
>   
>> 5.3
>>
>> I've tested the link with iperf and it tests out to a 980Mbps link,
>>     
> however
>   
>> drbd only achieves about 5-8 MBps during full sync. (I'm not sure how to
>> see
>> what the normal sync performance is) I would expect to get some where
>> around
>> 100 MBps.
>>
>> I've googled and read everything I can find on optimizing, but nothing
>>     
> I've
>   
>> tried has made a difference. I was hoping someone might have some
>> experience
>> with this config and be able to offer some suggestions (or even just be
>> able
>> to say that's the max on this hardware)
>>
>> TIA
>>
>> Thanks,
>>
>> David Ruggles
>> CCNA MCSE (NT) CNA A+
>> Network Engineer	Safe Data, Inc.
>> (910) 285-7200	david at safedatausa.com
>>
>>
>> _______________________________________________
>> drbd-user mailing list
>> drbd-user at lists.linbit.com
>> http://lists.linbit.com/mailman/listinfo/drbd-user
>>     
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
>
>
>
>   
_______________________________________________
drbd-user mailing list
drbd-user at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user




More information about the drbd-user mailing list