<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Test this options<br>
<br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<font face="Times New Roman, serif"> </font><tt>net { </tt><tt><br>
</tt><tt> max-buffers 8000;</tt><tt><br>
</tt><tt> max-epoch-size 8000;</tt><tt><br>
</tt><tt><font color="#000000"> max-buffers 16000;</font></tt><tt><br>
</tt><tt><font color="#000000"> max-epoch-size 16000;</font></tt><tt><br>
</tt><tt> unplug-watermark 16;</tt><tt><br>
</tt><tt><font color="#000000"> unplug-watermark 16000;</font></tt><tt><br>
</tt><tt>} </tt><tt><br>
</tt><tt> </tt><tt><br>
</tt><tt>
</tt><tt><br>
</tt><tt> disk {</tt><tt><br>
no-disk-barrier;</tt><tt><br>
</tt><tt> no-disk-flushes;</tt><tt><br>
</tt><tt>}</tt><tt><br>
</tt><tt><br>
</tt><tt>syncer {</tt><tt><br>
</tt><tt> al-extents 3389;</tt><tt><br>
</tt><tt>}
</tt><tt><br>
</tt><tt><br>
</tt><tt>
</tt><tt><br>
</tt><tt>
</tt>
<title></title>
<meta name="generator" content="LibreOffice 4.2.8.2 (Linux)">
<style type="text/css">
        <!--
                @page { margin: 2cm }
                td p { margin-bottom: 0cm }
                p { margin-bottom: 0.25cm; line-height: 120% }
                p.western { font-family: "Times New Roman", serif }
                p.cjk { font-size: 10pt }
                a:link { so-language: zxx }
        -->
        </style><tt><br>
</tt><br>
<div class="moz-cite-prefix">El 04/01/16 a las 17:48, Ricardo Branco
escribió:<br>
</div>
<blockquote cite="mid:568AA275.60104@wenn.com" type="cite">I have an
odd situation with resync.
<br>
<br>
Resync seems to always be limited to max 40MB/s, if I am doing
both of my resources at the same time then both are at 40MB/s
(total 80M), but never goes above this.
<br>
If I copy a 20G file which is on drbd then the sync speed to the
other server reaches 800GB/s, doing a dd gives similar results
around 1GB/s.
<br>
Does not matter what param I tweek i can not get the sync speed to
be above 40MB/s.
<br>
To test that cachecade is not getting in the way I have disabled
it for tests but nothing changed.
<br>
<br>
This server has been running 8.4.3 up to recently, now 8.4.6.
<br>
Before the upgrade I am sure when I did a sync I saw much higher
resync rates.
<br>
<br>
The server setup is:
<br>
16x 3TB SAS 7.2k RAID 6 on LSI Megaraid 9271-4i (FBWC + CacheCade)
<br>
10G Ethernet direct link between servers
<br>
<br>
<br>
Config:
<br>
resource d0 {
<br>
options {
<br>
cpu-mask ""; # default
<br>
on-no-data-accessible io-error; # default
<br>
}
<br>
net {
<br>
protocol C; # default
<br>
timeout 60; # 1/10 seconds, default
<br>
max-epoch-size 2048; # default
<br>
max-buffers 2048; # default
<br>
unplug-watermark 128; # default
<br>
connect-int 10; # seconds, default
<br>
ping-int 10; # seconds, default
<br>
sndbuf-size 0; # bytes, default
<br>
rcvbuf-size 0; # bytes, default
<br>
ko-count 7; # default
<br>
allow-two-primaries no; # default
<br>
cram-hmac-alg ""; # default
<br>
shared-secret ""; # default
<br>
after-sb-0pri disconnect; # default
<br>
after-sb-1pri disconnect; # default
<br>
after-sb-2pri disconnect; # default
<br>
always-asbp no; # default
<br>
rr-conflict disconnect; # default
<br>
ping-timeout 5; # 1/10 seconds, default
<br>
data-integrity-alg ""; # default
<br>
tcp-cork yes; # default
<br>
on-congestion block; # default
<br>
congestion-fill 0s; # bytes, default
<br>
congestion-extents 1237; # default
<br>
csums-alg ""; # default
<br>
csums-after-crash-only no; # default
<br>
verify-alg "crc32c";
<br>
use-rle yes; # default
<br>
socket-check-timeout 0; # default
<br>
}
<br>
_remote_host {
<br>
address ipv4 192.168.10.1:7789;
<br>
}
<br>
_this_host {
<br>
address ipv4 192.168.10.2:7789;
<br>
volume 0 {
<br>
device minor 1;
<br>
disk "/dev/vg_raid1/drbd0";
<br>
meta-disk internal;
<br>
disk {
<br>
size 0s; # bytes, default
<br>
max-bio-bvecs 0; # default
<br>
on-io-error detach; # default
<br>
fencing resource-only;
<br>
disk-barrier no; # default
<br>
disk-flushes no;
<br>
disk-drain yes; # default
<br>
md-flushes yes; # default
<br>
resync-rate 512000k; # bytes/second
<br>
resync-after -1; # default
<br>
al-extents 1237; # default
<br>
al-updates yes; # default
<br>
c-plan-ahead 0; # 1/10 seconds
<br>
c-delay-target 10; # 1/10 seconds,
default
<br>
c-fill-target 100s; # bytes, default
<br>
c-max-rate 102400k; # bytes/second,
default
<br>
c-min-rate 250k; # bytes/second,
default
<br>
disk-timeout 0; # 1/10 seconds, default
<br>
read-balancing prefer-local; # default
<br>
}
<br>
}
<br>
}
<br>
}
<br>
<br>
0: cs:SyncTarget ro:Secondary/Primary ds:Inconsistent/UpToDate C
r-----
<br>
ns:0 nr:262361424 dw:325178528 dr:0 al:0 bm:0 lo:0 pe:0 ua:0
ap:0 ep:1 wo:d oos:11362364
<br>
[==>.................] sync'ed: 15.5% (11096/13116)M
<br>
finish: 0:05:15 speed: 35,944 (31,844) want: 512,000 K/sec
<br>
<br>
<br>
</blockquote>
<br>
</body>
</html>