<div>I have just set up DRBD 8.2.1 and am trying it out on Linux 2.6.18 (Xen 3.1.0 Dom0) over a gigabit ethernet with ext3. The source machine is a Pentium 4 w/ 512MB of RAM, the target is an AMD Athlon XP 3200+ w/ 1GB of RAM. Both machines use Intel PRO/1000 MT NICs.
</div>
<div> </div>
<div>I am having problems when writing large amounts of data to the drbd device. If I write, say, 250MB of data (using dd or perl) in one shot, there are no hangs and I get pretty reasonable performance (~40MB/sec). If I do that multiple times within a 5-6 seconds of each other, or I write a lot of data (1GB) in one shot, the writes take 2x-10x times longer, with intermittent disk activity on the target (it's not sitting there waiting for the disk). Once or twice it has hung so bad, that I've had to reboot both boxes.
</div>
<div> </div>
<div>I've looked at netstat -s, and there don't appear to be issues with TCP retransmissions. When in this state, I have tried to force resync the target (forced overwrite), but /proc/drbd eventually showed both systems stalled for good.
</div>
<div> </div>
<div>I have tried both protocol B and protocol C and end up with the same basic problem. </div>
<div> </div>
<div>I have modified the various performance knobs in drbd.conf as follows:</div>
<div> sndbuf-size (default)<br> max-buffers 40000<br> unplug-watermark 128<br> rate 100M<br> al-extents 3833</div>
<div> </div>
<div>I have just one resource setup thus far.</div>
<div> </div>
<div>Any ideas? If you need any more information, I will be happy to send it.</div>
<div> </div>
<div>Thanks,</div>
<div>-mike</div>
<p> </p>