[DRBD-user] DRBD sync speed is too fast comparing to my conf

Jake Smith jsmith at argotec.com
Thu Nov 3 16:14:02 CET 2011

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


----- Original Message -----
> From: "vferon" <valferon at gmail.com>
> To: drbd-user at lists.linbit.com
> Sent: Friday, October 14, 2011 9:13:12 AM
> Subject: [DRBD-user] DRBD sync speed is too fast comparing to my conf
> 
> Hello,
> 
> In my config file I specified a sync rate of 30M but in reality, when
> a
> create a file on the master, it replicates it at more thant 70M/s and
> using most of my bandwidth.

Syncer rate only applies to background sync i.e. when one node is not "uptodate" it will bring it back "uptodate" at that rate.  If you are talking about creating a file on one node when both are "uptodate" then that is foreground replication and that goes as fast as the stack/IO/bandwidth will allow.  If you tried to change that speed it would negatively impact the application speed.  You do have the replication on a seperate link right?

HTH

Jake

> 
> Here is my config file :
> /****************************************************************************************************/
> global { usage-count no; }
> resource r0 {
>         protocol C;
>         startup {
>                 wfc-timeout  15;     # wfc-timeout can be dangerous
> (http://forum.proxmox.com/threads/3465-Is-it-safe-to-use-wfc-timeout-in-DRBD-configuration)
>                 degr-wfc-timeout 60;
>         }
>         net {
>                 cram-hmac-alg sha1;
>                 shared-secret "sdlkjSFcqseazecj3345Sd";
>                 after-sb-0pri discard-zero-changes;
>                 after-sb-1pri discard-secondary;
>                 after-sb-2pri disconnect;
>                 max-buffers 80000;
>                 max-epoch-size 20000;
>                 unplug-watermark 16;
>                 sndbuf-size 10485760;
> 
>         }
>         syncer {
>         rate 30M;
>         }
>         on plmbnas01 {
>                 device /dev/drbd0;
>                 disk /dev/sda4;
>                 address 10.0.0.11:7788;
>                 meta-disk internal;
>         }
>         on plmanas01 {
>                 device /dev/drbd0;
>                 disk /dev/sda4;
>                 address 10.0.0.10:7788;
>                 meta-disk internal;
>         }
> }
> /****************************************************************************************************/
> 
> 
> Did someone has the same problem and how dit he solve it?
> 
> Thanks
> 
> Valentin Feron
> 
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
> 
> 



More information about the drbd-user mailing list