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: Balreddy Medipally <balreddy.m_at_nospam>
Date: Tue Mar 30 2010 - 16:04:04 GMT
To: "James Perry" <jperry@mezeo.com>, "PN" <poknam@gmail.com>

Hi,
 
   Actually these servers are in 1GBPS local LAN only and H/W is also same for both the servers.
 
IBM xserver 3650 M2, 8GB RAM, 2x Intel Xeon Processors, 300GBx4 SAS HDD, RAID 5, 1GBPSx2 NIC's.
 
MySQL5.1.42 Advanced version
Please suggest on this.
 
Thanks,
BalReddy

________________________________

From: James Perry [mailto:jperry@mezeo.com]
Sent: Tue 3/30/2010 7:18 PM
To: PN
Cc: Balreddy Medipally; drbd-user@lists.linbit.com
Subject: Re: [DRBD-user] DRBD is deadly slow.

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@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 <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@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 <http://www.galactic.com.hk/>
        _______________________________________________
        drbd-user mailing list
        drbd-user@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

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