[DRBD-user] initial sync: 0.6.12 fast, 0.7 stalls

Eugene Crosser crosser at rol.ru
Wed Apr 21 19:18:44 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.


On my previous setup: kernel 2.4.25 and drbd 0.6.12 initial sync speed
was rather high: about 95Mb/sec on a GigE link and hardware raid0
below.  I had sync-max=128M sync-min=32M.

Now I set up 2.6.5 kernel with today's CVS drbd 0.7 (on the same
hardware), and initial sync speed looks really strange.  It started at
32Mb/sec and gradually slows down to a complete halt:

 0: cs:SyncTarget st:Secondary/Primary ld:Inconsistent
    ns:0 nr:3223924 dw:3223924 dr:0 al:0 bm:418 lo:0 pe:2019 ua:0
        [=>..................] sync'ed:  5.2% (57646/60794)M
        finish: 137:25:58 speed: 119 (3,195) K/sec

Here I have

syncer {
  rate = 128M
  al-extents = 257
}

CPU usage and iowait are near zero.  This is 'ps' ouput on the primary:

#  ps axl|grep drbd
1     0   134     1  15   0     0    0 drbd_get_ee DW ?       0:11 [drbd0_receiver]
1     0   540     1  15   0     0    0 schedule_timeout SW ?   0:06 [drbd0_asender]
1     0   541     1  15   0     0    0 __down_interruptible SW ?   0:09 [drbd0_worker]
4     0   595   200  16   0  1484  460 pipe_wait S pts/0      0:00 grep drbd

ans this is on the secondary:

# ps axl|grep drbd
1     0   133     1  15   0     0    0 schedule_timeout SW ?   0:20 [drbd0_receiver]
1     0   137     1  15   0     0    0 schedule_timeout SW ?   0:08 [drbd0_asender]
1     0   138     1  15   0     0    0 __down_interruptible SW ?   0:01 [drbd0_worker]
4     0   235   205  15   0  1488  464 pipe_wait S pts/0      0:00 grep drbd

I tried "drbdadm disconnect all" on the primary; secondary turned to
StandAlone, but on primary I get:

# drbdadm disconnect all
Child process does not terminate!
Exiting.
#  ps axl|grep drbd
1     0   134     1  15   0     0    0 drbd_get_ee DW ?       0:11 [drbd0_receiver]
4     0   601     1  15   0  1360  264 __down D    pts/0      0:00 /sbin/drbdsetup /dev/nb0 disconnect
4     0   603   200  15   0  1488  464 pipe_wait S pts/0      0:00 grep drbd
# cat /proc/drbd
version: 0.7-pre6 (api:72/proto:72)
 
 0: cs:SyncSource st:Primary/Secondary ld:Consistent
    ns:3223956 nr:0 dw:0 dr:3223924 al:0 bm:620 lo:0 pe:0 ua:0
        [=>..................] sync'ed:  5.2% (57646/60794)M
        finish: 235:27:36 speed: 69 (2,007) K/sec

Any thoughts/suggestions?

Eugene
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20040421/91767ecf/attachment.pgp>


More information about the drbd-user mailing list