[DRBD-user] Sgisdela! Help! Horrible DRBD performance on CentOS 5. Where do I start looking?

Andreas Kurz andreas.kurz at linbit.com
Thu Jun 10 10:05:42 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.


Hello, 

On Thursday 10 June 2010 02:32:18 Michael Joyner wrote:
.....
> root at san-node-2 ~]# cat /proc/drbd
> version: 8.3.2 (api:88/proto:86-90)

Please consider an update .... latest is 8.3.8 ....

> GIT-hash: dd7985327f146f33b86d4bff5ca8c94234ce840e build by
> mockbuild at v20z-x86-64.home.local, 2009-08-29 14:07:55
>  0: cs:SyncTarget ro:Secondary/Primary ds:Inconsistent/UpToDate C r----
>     ns:0 nr:5180 dw:5180 dr:0 al:0 bm:24 lo:1 pe:1389 ua:0 ap:0 ep:1 wo:b
> oos:43964
>     [==>.................] sync'ed: 16.7% (43964/49144)K
>     finish: 0:00:08 speed: 5,180 (5,180) K/sec
>  1: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r----
>     ns:0 nr:49044 dw:49044 dr:0 al:0 bm:44 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b
> oos:0
>  2: cs:SyncTarget ro:Secondary/Primary ds:Inconsistent/UpToDate C r----
>     ns:0 nr:6896 dw:6896 dr:0 al:0 bm:28 lo:1 pe:1346 ua:0 ap:0 ep:1 wo:b
> oos:42436
>     [===>................] sync'ed: 23.1% (42436/49332)K
>     finish: 0:00:05 speed: 6,896 (6,896) K/sec
> 
....  LVM on your system supports barriers --> drbd supports barriers --> 
barriers are used to enforce write-after-write dependencies per default ... 
use drbd config-param 'no-disk-barrier'

Regards,
Andreas

> === /etc/drbd.conf ==============================
> 
> global {
>   usage-count yes;
> }
> common {
>     protocol C;
>     syncer { rate 700000K; }
>     net {
>         sndbuf-size 0;
>         after-sb-0pri discard-least-changes;
>         after-sb-1pri discard-secondary;
>     }
>     startup {
>         degr-wfc-timeout 30000;
>     }
>     disk {
>         no-disk-flushes;
>         no-md-flushes;
>     }
> 
> }
> resource sdb {
>   on san-node-1.ewc.edu {
>     device    /dev/drbd0;
>     disk      /dev/sdb;
>     address   192.168.XXX.XX1:7789;
>     meta-disk internal;
>   }
>   on san-node-2.ewc.edu {
>     device    /dev/drbd0;
>     disk      /dev/sdb;
>     address   192.168.XXX.XX2:7789;
>     meta-disk internal;
>   }
> }
> resource sdc {
>   on san-node-1.ewc.edu {
>     device    /dev/drbd1;
>     disk      /dev/sdc;
>     address   192.168.XXX.XX1:7790;
>     meta-disk internal;
>   }
>   on san-node-2.ewc.edu {
>     device    /dev/drbd1;
>     disk      /dev/sdc;
>     address   192.168.XXX.XX2:7790;
>     meta-disk internal;
>   }
> }
> resource sdd {
>   on san-node-1.ewc.edu {
>     device    /dev/drbd2;
>     disk      /dev/sdd;
>     address   192.168.XXX.XX1:7791;
>     meta-disk internal;
>   }
>   on san-node-2.ewc.edu {
>     device    /dev/drbd2;
>     disk      /dev/sdd;
>     address   192.168.XXX.XX2:7791;
>     meta-disk internal;
>   }
> }
> 

-- 
: Andreas Kurz					 
: LINBIT | Your Way to High Availability
: Tel +43-1-8178292-64, Fax +43-1-8178292-82
:
: http://www.linbit.com

------------------------------------------------------------------------
Stay up to date on Linux and High Availability! Visit us on Facebook:
http://www.facebook.com/pages/LINBIT-DRBD/346343405475/
------------------------------------------------------------------------

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.

This e-mail is solely for use by the intended recipient(s). Information
contained in this e-mail and its attachments may be confidential,
privileged or copyrighted. If you are not the intended recipient you are
hereby formally notified that any use, copying, disclosure or
distribution of the contents of this e-mail, in whole or in part, is
prohibited. Also please notify immediately the sender by return e-mail
and delete this e-mail from your system. Thank you for your co-operation.



More information about the drbd-user mailing list