[DRBD-user] Diagnosing DRBD Slowness

Robinson, Eric eric.robinson at psmnv.com
Tue Oct 21 22:06:56 CEST 2008

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


> Hm, how fast is 

> % dd if=/dev/zero of=/dev/null bs=1M count=100

[root at ha03 download]# dd if=/dev/zero of=/dev/null bs=1M count=100
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 0.00234371 seconds, 44.7 GB/s


That looks pretty dang fast to me. 

However, I can eliminate the network link by piping it to nc running on
the same host, and guess what? Now it's slow again...

[root at ha03 download]# ifconfig eth3
eth3      Link encap:Ethernet  HWaddr 00:15:17:5C:1B:1B
          inet addr:2.1.1.1  Bcast:2.1.1.255  Mask:255.255.255.0
          inet6 addr: fe80::215:17ff:fe5c:1b1b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:53291576 errors:0 dropped:0 overruns:0 frame:0
          TX packets:94847554 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3761343430 (3.5 GiB)  TX bytes:4219210262 (3.9 GiB)
          Memory:fc6a0000-fc6c0000
[root at ha03 download]#
[root at ha03 download]# nc -l 10000 &
[1] 19909
[root at ha03 download]# dd if=/dev/zero bs=1M count=100 | nc 2.1.1.1 10000
7+0 records in
6+0 records out
6291456 bytes (6.3 MB) copied, 19.1196 seconds, 329 kB/s

[root at ha03 download]#


Disclaimer - October 21, 2008 
This email and any files transmitted with it are confidential and intended solely for Peter Sabaini,drbd-user at lists.linbit.com. If you are not the named addressee you should not disseminate, distribute, copy or alter this email. Any views or opinions presented in this email are solely those of the author and might not represent those of . Warning: Although  has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments. 
This disclaimer was added by Policy Patrol: http://www.policypatrol.com/



More information about the drbd-user mailing list