Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On Mon, Mar 12, 2012 at 05:22:57PM +0100, Felix Frank wrote:
> On 03/12/2012 05:13 PM, Jake Smith wrote:
> > drbdsetup /dev/drbd0 syncer -r 110M
>
> Good call.
>
> > drbdadm adjust 0
>
> Stressing this: Do the latter only *after* your test is done and you
> want to rid yourself of the temporary adjustment.
>
> Cheers,
> Felix
Hi folks,
I've tried changing the syncer rate as you mentioned in the previous
post, but it hasn't changed the sync speed one bit (literally ;-).
It seems like I'm running out of options fast, the old hardware we're
intending to replace does 44MB/sec write speed in similar setup, but
on much inferior hardware, so I'm hoping to achieve at least the same
speeds once we'll migrate to the new servers.
For the record:
# cat /proc/drbd
version: 8.3.7 (api:88/proto:86-91)
srcversion: EE47D8BF18AC166BE219757
0: cs:SyncSource ro:Primary/Secondary ds:UpToDate/Inconsistent C
r----
ns:873115000 nr:0 dw:2048 dr:873127461 al:1 bm:53289 lo:1 pe:3151
ua:1699 ap:0 ep:1 wo:d oos:2281801072
[====>...............] sync'ed: 25.6% (2228320/2992484)M
finish: 32:20:18 speed: 19,396 (12,256) K/sec
# drbdsetup /dev/drbd0 show
disk {
size 0s _is_default; # bytes
on-io-error pass_on _is_default;
fencing dont-care _is_default;
no-disk-barrier ;
no-disk-flushes ;
no-md-flushes ;
max-bio-bvecs 0 _is_default;
}
net {
timeout 60 _is_default; # 1/10 seconds
max-epoch-size 2048 _is_default;
max-buffers 2048 _is_default;
unplug-watermark 128 _is_default;
connect-int 10 _is_default; # seconds
ping-int 10 _is_default; # seconds
sndbuf-size 0 _is_default; # bytes
rcvbuf-size 0 _is_default; # bytes
ko-count 0 _is_default;
cram-hmac-alg "sha1";
shared-secret "XXXXX";
after-sb-0pri disconnect _is_default;
after-sb-1pri disconnect _is_default;
after-sb-2pri disconnect _is_default;
rr-conflict disconnect _is_default;
ping-timeout 5 _is_default; # 1/10 seconds
}
syncer {
rate 92160k; # bytes/second
after -1 _is_default;
al-extents 127 _is_default;
}
protocol C;
_this_host {
device minor 0;
disk "/dev/vg00/lvol0";
meta-disk internal;
address
ipv4 192.168.168.200:7788;
}
_remote_host {
address ipv4 192.168.168.210:7788;
All the best & thanks again for your help,
Uwe
--
uwe.schuerkamp at nionex.net fon: [+49] 5242.91 - 4740, fax:-69 72
Hauptsitz: Avenwedder Str. 55, D-33311 Gütersloh, Germany
Registergericht Gütersloh HRB 4196, Geschäftsführer: H. Gosewehr, D. Suda
NIONEX --- Ein Unternehmen der Bertelsmann AG