[DRBD-user] drbd 0.7.12 has an extremely slow sync speed.

Andre Konopka andre.konopka at presse-data.de
Tue Aug 30 13:55:32 CEST 2005

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


Hi all,

yes, I can confirm the extrem slow sync speed of drbd 0.7.12.


I run a two node cluster with SLES9/2.6.5-7.193-bigsmp kernel and drbd 
on lvm.

Yesterday (both nodes with drbd 0.7.11) I synced a 1 GByte 'Partition' 
with a throughput of around 1100K/sec. (aprox. 100 seconds to finish)


Wire protocol: C
Net options:
  timeout = 6.0 sec (default)
  connect-int = 10 sec (default)
  ping-int = 10 sec (default)
  max-epoch-size = 2048  (default)
  max-buffers = 2048  (default)
  sndbuf-size = 131070  (default)
  ko-count = 0  (default)
Syncer options:
  rate = 102400 KB/sec
  group = 1
  al-extents = 257


To reproduce Jeff's problem I updated one node to drbd 0.7.12 today

cat /proc/drbd
version: 0.7.12 (api:77/proto:74)
SVN Revision: 1924 build by root at pdftpn001, 2005-08-30 11:37:48
  0: cs:SyncSource st:Primary/Secondary ld:Consistent
     ns:37864 nr:2 dw:258 dr:37675 al:0 bm:66 lo:0 pe:0 ua:0 ap:0
         [>...................] sync'ed:  4.3% (1010968/1048576)K
         finish: 51:20:43 speed: 4 (4) K/sec
  1: cs:Connected st:Primary/Secondary ld:Consistent
     ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
  2: cs:Connected st:Primary/Secondary ld:Consistent
     ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
  3: cs:Unconfigured
  4: cs:Unconfigured


on the secondary (still 0.7.11) I invalidated 'r0'

Aug 30 11:41:52 pdftpn002 kernel: drbd0: drbdsetup [6982]: cstate 
Connected --> WFBitMapT
Aug 30 11:41:52 pdftpn002 kernel: drbd0: 1048576 KB now marked 
out-of-sync by on disk bit-map.
Aug 30 11:41:52 pdftpn002 kernel: drbd0: drbdsetup [6982]: cstate 
WFBitMapT --> SyncTarget
Aug 30 11:41:52 pdftpn002 kernel: drbd0: Resync started as SyncTarget 
(need to sync 1048576 KB [262144 bits set]).


Now it's 2 hours later and the sync is still running!!!!!




Best regards

Andre











Jeff Fisher wrote:
> Hey all,
> 
> I know there is already a thread on this; however, I just joined the list.
> 
> I had been using drbd 0.7.11 on two machines (P4 3Ghz machines w/ 1 gig
> of ram each and a SCSI hardware RAID1 hdd setup -- of which 50gig is
> setup for drbd) and I was use to seeing  38,000 to 42,000 K/sec sync
> speeds on the initial sync.
> 
> I upgraded to drbd 0.7.12 and to test I invalidated the remote side and
> started a full sync. The fastest sync speed I saw was 88 K/sec.
> 
> I am using the same config with both 0.7.11 and 0.7.12 and the syncer
> option is set to 50M.
> 
> Any ideas?
> 
> Jeff
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user


-- 
Mit freundlichen Grüßen


Andre Konopka
Basissysteme

RB Presse-Data GmbH
40196 Düsseldorf
Hausadresse:
Zülpicher Str. 8a                         Tel:  0211 / 5697- 379
40549 Düsseldorf                           Fax: 0211 / 5697- 352
E-Mail: Andre.Konopka at Presse-Data.de



More information about the drbd-user mailing list