[DRBD-user] syncer performance problem

Lars Ellenberg Lars.Ellenberg at linbit.com
Fri Jul 30 23:40:27 CEST 2004

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


/ 2004-07-30 23:29:30 +0200
\ Lars Ellenberg:
> / 2004-07-30 16:34:32 -0400
> \ Tim Tregubov:
> > Heya -
> > 
> > Same problem here!
> > 
> > With a 3ware SATA Raid  with 7 Maxtor 7Y250M0 drives.
> > 
> > With scp rates are about 25MB/s  (from machine1 raid to machine2 
> > raid(without drbd))
> > with netcat up to 30MB.  (from file on machine1 raid to file on 
> > machine2 raid(without drbd))
> > 
> > Bonnie shows good performance on the HD's themselves.
> > 
> > 
> > BUT:
> > 
> > [root at topdog root]# cat /proc/drbd
> > version: 0.7.0 svn $Rev: 1438 $ (api:74/proto:74)
> > 
> >  0: cs:SyncSource st:Secondary/Secondary ld:Consistent
> >     ns:268888 nr:0 dw:0 dr:272000 al:0 bm:16 lo:0 pe:563 ua:778 ap:0
> >         [===================>] sync'ed: 99.9% (1058590/1058850)M
> >         finish: 68:26:02 speed: 4,396 (4,937) K/sec
> 
> if you use anything before this revision:
> 
> | r1451 | lars | 2004-07-23 16:18:42 +0200 (Fri, 23 Jul 2004) | 1 line
> | Changed paths:
> |    M /trunk/drbd/drbd_proc.c
> | 
> | fix integer overflow in progress bar
> 
> (and you do: 0.7.0 tgz is 1438 or 1439)
> 
> it may just deisplay the wrong value...
> please verify that by a grep in syslog:
>  grep -E "Resync (started|done)" /tmp/2004-07-*/screenlog.1
> and do the calculation yourself, based on the timestamp and the amount
> announced on start.
> 
> just an idea...


if its not that,
then try to set the rate to some large figure (100M or something)
the syncer in drbd 0.7.0 follows a weird timer based pattern, which I
personally dislike, but in our test environments it did work...

	Lars Ellenberg

-- 
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list