<div class="gmail_quote">On Tue, May 5, 2009 at 6:15 PM, Lars Ellenberg <span dir="ltr">&lt;<a href="mailto:lars.ellenberg@linbit.com">lars.ellenberg@linbit.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Tue, May 05, 2009 at 03:57:16PM -0400, Gennadiy Nerubayev wrote:<br>
&gt; On Sat, May 2, 2009 at 2:06 PM, Lars Ellenberg &lt;<a href="mailto:lars.ellenberg@linbit.com">lars.ellenberg@linbit.com</a>&gt;wrote:<br>
&gt;<br>
&gt; &gt; nice. you are going into page cache here, mostly<br>
&gt; &gt; (how much RAM did you say you have?)<br>
&gt; &gt;<br>
&gt;<br>
&gt; 4GB on one node, 8GB on the other. I verified that benchmark numbers are the<br>
&gt; same on both nodes.<br>
&gt;<br>
&gt;  &gt; dd if=/dev/zero of=/dev/drbd0 bs=4M count=1000 oflag=direct<br>
&gt; &gt; &gt; 4194304000 bytes (4.2 GB) copied, 17.6633 seconds, 237 MB/s<br>
&gt; &gt;<br>
&gt; &gt; do variations.<br>
&gt; &gt; use 512k, 1M, 2M, 100M.<br>
&gt; &gt;<br>
&gt;<br>
&gt; After rerunning these various sizes, there is no appreciable performance<br>
&gt; difference from bs=4M, in either connected or disconnected mode, across all<br>
&gt; flags. I didn&#39;t do connected benchmarks on a single core, as the resync<br>
&gt; performance dropped by 100MB/s with only one core..<br>
<br>
</div>Ah. right.<br>
in that case, try &quot;syncer { cpu-mask 3; }&quot; and see if that improves<br>
performance during normal operation on your dual core cpu.</blockquote><div><br>Not much effect, except dsync which appears to be a little faster by about 10MB/s.<br><br>-Gennadiy</div></div>