[DRBD-user] drbd read/write performance

Dennis Jacobfeuerborn dennisml at conversis.de
Thu Aug 16 13:21:09 CEST 2012

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


On 08/16/2012 08:38 AM, Mia Lueng wrote:
> Hi All:
> I setup a drbd device on a storage . Its write performance can reach
> to 300MB/s tested by dd. But when I setup a drbd device on it , use dd
> to test its write performance (peer node does not connect). The test
> result is only 40MB/s.  drbd version is 8.3.13.   And the read
> performance is also very pool(40MB/s).
> 
> here is the configuration
> 
> 
> resource drbd0 {
>     protocol               A;
>     on c-160 {
>         device           /dev/drbd0 minor 0;
>         disk             /dev/hadrvg/edrbd;
>         address          ipv4 10.62.100.160:7700;
>         meta-disk        internal;
>     }
>     on c-191 {
>         device           /dev/drbd0 minor 0;
>         disk             /dev/hadrvg/edrbd;
>         address          ipv4 10.62.100.191:7700;
>         meta-disk        internal;
>     }
>     net {
>         ping-timeout     100;
>         ping-int         100;
>         data-integrity-alg crc32c;
>         max-buffers      8000;
>         max-epoch-size   8000;
>         unplug-watermark  16;
>         sndbuf-size        0;
>     }
>     disk {
>         on-io-error      pass_on;
>     }
>     syncer {
>         rate             1000M;
>         csums-alg        md5;
>         verify-alg       md5;
>         c-plan-ahead      20;
>         c-fill-target      0;
>         c-delay-target    30;
>     }
> }

Can you provide the output of "vmstat 5" on both machines while dd is
running? 10-15 lines should be enough.
What connection do you use between the systems? According to the configured
syncer rate of 1000M that should be a 10Gbit connection?

Regards,
  Dennis



More information about the drbd-user mailing list