<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Hi, <br>
<br>
Just wanted to check if you could solve the performance<br>
issues, and if yes how you solved them.<br>
<br>
Kind Regards, <br>
<br>
- Johannes<br>
<br>
<div class="moz-cite-prefix">Am 29.01.20 um 15:05 schrieb Johannes
Thoma:<br>
</div>
<blockquote type="cite"
cite="mid:571ba8f8-e9ba-8857-346d-78f4a5b4f2d1@johannesthoma.com">Hi
Max,
<br>
<br>
Thank you for testing WinDRBD.
<br>
<br>
Am 29.01.20 um 06:02 schrieb Max Bergmann:
<br>
<blockquote type="cite">Hi drbd-users,
<br>
<br>
Recently, I've been testing windrbd, but I can't seem to achieve
more than 100 Mbps (~12mb/s) throughout, even thought the
network between my nodes is 1Gpbs or more, with a simple UNC
share between hosts I get 100mb/s.
<br>
</blockquote>
<br>
<blockquote type="cite">Drbd documentation mentions to adjusting
c- parameters, but I still can't increase the performance.
<br>
</blockquote>
<br>
Did you check the DRBD user's guide
<br>
(<a class="moz-txt-link-freetext" href="https://docs.linbit.com/docs/users-guide-9.0/#p-performance">https://docs.linbit.com/docs/users-guide-9.0/#p-performance</a>)?
<br>
<br>
Since WinDRBD is DRBD internally, the strategies for performance
<br>
tuning should be the same.
<br>
<br>
<blockquote type="cite">
<br>
Surely I must be doing something wrong, here is my example
config:
<br>
<br>
protocol C;
<br>
<br>
net {
<br>
use-rle no;
<br>
max-buffers 8000;
<br>
max-epoch-size 8000;
<br>
sndbuf-size 0;
<br>
</blockquote>
<br>
I am not sure if autotuning the send buffer size is working as
expected
<br>
with WinDRBD. Please try to set a different value, 10MB is an
example:
<br>
<br>
sndbuf-size 10485760;
<br>
rcvbuf-size 10485760;
<br>
<br>
Also set the rcvbuf size.
<br>
<br>
Also Robert Altnöder mentioned that experimenting with max-buffers
helps in most
<br>
cases.
<br>
<blockquote type="cite">
<br>
}
<br>
<br>
disk {
<br>
c-plan-ahead 5;
<br>
c-max-rate 125M;
<br>
c-min-rate 30M;
<br>
c-fill-target 2M;
<br>
al-extents 6007;
<br>
no-disk-barrier;
<br>
no-disk-flushes;
<br>
}
<br>
<br>
<br>
Have you done any performance testing on WinDRBD?
<br>
</blockquote>
<br>
Since we work with VMs we did not do 'real' performance tests,
however
<br>
some users reported Windows performance numbers for the WinDRBD
<br>
devices. They are similar to storage on the local disk.
<br>
<br>
Another feature I'm missing is converting an existing NTFS volume
with its data to be used by drbd?
<br>
<br>
Yes you can do this.
<br>
<br>
First do a backup of your data, in case something goes wrong.
<br>
<br>
Configure external drbd meta data (for meta data you need a
separate
<br>
partition about 1/1000th the size of the data partition), and the
<br>
volume as backing device.
<br>
<br>
Then do a
<br>
<br>
drbdadm create-md <res>
<br>
<br>
on that resource, then do a
<br>
<br>
drbdadm up <res>
<br>
<br>
on the resource. Note that that step 'hides' the partition
<br>
from Windows so it cannot access it directly (see
<br>
windrbd hide-filesystem). You then can do a
<br>
<br>
drbdadm primary --force <res>
<br>
<br>
in order to tell DRBD that the disk contains valid data.
<br>
<br>
Please let me know if the above steps work for you (maybe I forgot
<br>
something).
<br>
<br>
<blockquote type="cite">Checksum support is another feature that I
couldn't get working on windows, any hints?
<br>
</blockquote>
<br>
Checksum support? You mean online-verify? Online verify is
currently disabled,
<br>
it would take a few days work to enable it (I don't think it is
that hard,
<br>
its just that no one requested that feature so far ...)
<br>
<br>
<blockquote type="cite">Kind regards,
<br>
Max
<br>
</blockquote>
<br>
Best regards,
<br>
<br>
- Johannes
<br>
_______________________________________________
<br>
Star us on GITHUB: <a class="moz-txt-link-freetext" href="https://github.com/LINBIT">https://github.com/LINBIT</a>
<br>
drbd-user mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a>
<br>
<a class="moz-txt-link-freetext" href="https://lists.linbit.com/mailman/listinfo/drbd-user">https://lists.linbit.com/mailman/listinfo/drbd-user</a>
<br>
</blockquote>
<br>
</body>
</html>