[DRBD-user] Full resync vs real-time sync

Gennadiy Nerubayev parakie at gmail.com
Wed May 6 00:49:06 CEST 2009

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


On Tue, May 5, 2009 at 6:15 PM, Lars Ellenberg <lars.ellenberg at linbit.com>wrote:

> On Tue, May 05, 2009 at 03:57:16PM -0400, Gennadiy Nerubayev wrote:
> > On Sat, May 2, 2009 at 2:06 PM, Lars Ellenberg <
> lars.ellenberg at linbit.com>wrote:
> >
> > > nice. you are going into page cache here, mostly
> > > (how much RAM did you say you have?)
> > >
> >
> > 4GB on one node, 8GB on the other. I verified that benchmark numbers are
> the
> > same on both nodes.
> >
> >  > dd if=/dev/zero of=/dev/drbd0 bs=4M count=1000 oflag=direct
> > > > 4194304000 bytes (4.2 GB) copied, 17.6633 seconds, 237 MB/s
> > >
> > > do variations.
> > > use 512k, 1M, 2M, 100M.
> > >
> >
> > After rerunning these various sizes, there is no appreciable performance
> > difference from bs=4M, in either connected or disconnected mode, across
> all
> > flags. I didn't do connected benchmarks on a single core, as the resync
> > performance dropped by 100MB/s with only one core..
>
> Ah. right.
> in that case, try "syncer { cpu-mask 3; }" and see if that improves
> performance during normal operation on your dual core cpu.


Not much effect, except dsync which appears to be a little faster by about
10MB/s.

-Gennadiy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20090505/ee382672/attachment.htm>


More information about the drbd-user mailing list