[DRBD-user] Debian Lenny - drbd 8.3.9 - poor write performance

For@ll forall at stalowka.info
Mon Sep 17 12:46:41 CEST 2012

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


Hi,

I have got problem with drbd). I've got problem with write speed on drbd 
partitions.
On drbd partition write speed is 15-16 MB/s. On other partitions write i 
3x larger - 48MB/s. Is there something what can i do/change what will 
improve write.

# cat /proc/drbd
version: 8.3.9 (api:88/proto:86-95)
drbd8-utils  2:8.3.7-1~bpo50+1

drbd.conf

global {
         usage-count no;
}

common {
   syncer { rate 1G; }
}

resource r0 {
   protocol C;
   handlers {
     pri-on-incon-degr "echo o > /proc/sysrq-trigger ; halt  f";
     pri-lost-after-sb "echo o > /proc/sysrq-trigger ; halt f";
     local-io-error "echo o > /proc/sysrq-trigger ; halt f";
     outdate-peer "/usr/lib/heartbeat/drbd-peer-outdater -t 5";
   }

   startup {
     degr-wfc-timeout 120;    # 2 minutes.
   }

   disk {
     fencing resource-only;
     on-io-error   detach;
   }

   net {
     after-sb-0pri disconnect;
     after-sb-1pri disconnect;
     after-sb-2pri disconnect;
     rr-conflict disconnect;
     sndbuf-size 0;
     rcvbuf-size 0;
   }

   syncer {
     rate 1G;
     al-extents 257;
   }

         on vm-bb1 {
                 device     /dev/drbd0;
                 disk       /dev/sda6;
                 address    1.1.1.1:7777;
                 meta-disk  internal;
         }

         on vm-bb2 {
                 device     /dev/drbd0;
                 disk       /dev/sda6;
                 address    1.1.1.2:7777;
                 meta-disk  internal;
         }
}

resource r1 {
   protocol C;
   handlers {
     pri-on-incon-degr "echo o > /proc/sysrq-trigger ; halt  f";
     pri-lost-after-sb "echo o > /proc/sysrq-trigger ; halt f";
     local-io-error "echo o > /proc/sysrq-trigger ; halt f";
     outdate-peer "/usr/lib/heartbeat/drbd-peer-outdater -t 5";
   }

   startup {
     degr-wfc-timeout 120;    # 2 minutes.
   }

   disk {
     fencing resource-only;
     on-io-error   detach;
   }

   net {
     after-sb-0pri disconnect;
     after-sb-1pri disconnect;
     after-sb-2pri disconnect;
     rr-conflict disconnect;
     sndbuf-size 0;
     rcvbuf-size 0;
   }

   syncer {
     rate 1G;
     al-extents 257;
   }

         on vm-bb1 {
                 device     /dev/drbd1;
                 disk       /dev/sda7;
                 address    1.1.1.1:7778;
                 meta-disk  internal;
         }

         on vm-bb2 {
                 device     /dev/drbd1;
                 disk       /dev/sda7;
                 address    1.1.1.2:7778;
                 meta-disk  internal;
         }
}

resource r2 {
   protocol C;
   handlers {
     pri-on-incon-degr "echo o > /proc/sysrq-trigger ; halt  f";
     pri-lost-after-sb "echo o > /proc/sysrq-trigger ; halt f";
     local-io-error "echo o > /proc/sysrq-trigger ; halt f";
     outdate-peer "/usr/lib/heartbeat/drbd-peer-outdater -t 5";
   }

   startup {
     degr-wfc-timeout 120;    # 2 minutes.
   }

   disk {
     fencing resource-only;
     on-io-error   detach;
   }

   net {
     after-sb-0pri disconnect;
     after-sb-1pri disconnect;
     after-sb-2pri disconnect;
     rr-conflict disconnect;
     sndbuf-size 0;
     rcvbuf-size 0;
   }

   syncer {
     rate 1G;
     al-extents 257;
   }

         on vm-bb1 {
                 device     /dev/drbd2;
                 disk       /dev/sda8;
                 address    1.1.1.1:7779;
                 meta-disk  internal;
         }

         on vm-bb2 {
                 device     /dev/drbd2;
                 disk       /dev/sda8;
                 address    1.1.1.2:7779;
                 meta-disk  internal;
         }
}


Albert




More information about the drbd-user mailing list