Hi All,<div><br></div><div>Here is one problem I have encountered but haven`t figured out the answer yet.</div><div><br></div><div>In my testing environment, I have ten DRBD devices configured as primary/primary. I do have a cluster management software that is irrelevant to the topic. My client is running IOMeter with queue depth set to 16 for each target.</div>
<div><br></div><div>If I reboot one of server, all IOs will failover to its partner, no error is reported. However, during DRBD resync, it seems to me that DRBD dedicates all its resources to resync traffic which leaves new IOs from client pending too long and eventually timed out. Does DRBD have a mechanism that can tune the aggressiveness of the the resync operation? In other word, how can I tell DRBD to favor application pending(ap) IO as opposed to resync IO so that from client`s point of view QoS is guaranteed.</div>
<div><br></div><div><div>resource drbd10 {</div><div>  on FA33 {</div><div>    device /dev/drbd10;</div><div>    disk /dev/disk/by-id/scsi-360030480003ae2e0159207cc2a2ac9d4;</div><div>    address <a href="http://192.168.251.1:7799">192.168.251.1:7799</a>;</div>
<div>    meta-disk internal;</div><div>  }</div><div>  on FA34 {</div><div>    device /dev/drbd10;</div><div>    disk /dev/disk/by-id/scsi-360030480003ae32015920a821ca7f075;</div><div>    address <a href="http://192.168.251.2:7799">192.168.251.2:7799</a>;</div>
<div>    meta-disk internal;</div><div>  }</div><div>  net {</div><div>    allow-two-primaries;</div><div>    after-sb-0pri discard-younger-primary;</div><div>    after-sb-1pri discard-secondary;</div><div>    after-sb-2pri violently-as0p;</div>
<div>    rr-conflict violently;</div><div>    max-buffers 8000;</div><div>    max-epoch-size 8000;</div><div>    unplug-watermark 16;</div><div>    sndbuf-size 0;</div><div>  }</div><div>  syncer {</div><div>    rate 300M;</div>
<div>    verify-alg crc32c;</div><div>    al-extents 3800;</div><div>  }</div><div>  startup {</div><div>    become-primary-on both;</div><div>  }</div><div>  handlers {</div><div>    before-resync-target &quot;/sbin/before_resync_target.sh&quot;;</div>
<div>    after-resync-target &quot;/sbin/after_resync_target.sh&quot;;</div><div>  }</div><div>}</div></div><div><br></div><div>Any help is appreciated.</div><div>Thanks</div><div>Ben </div><div>Commit yourself to constant self-improvement<br>

</div>