Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Feb 2023 18:11:06 +0100
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        freebsd-fs@freebsd.org
Subject:   Re: speeding up zfs send | recv (update)
Message-ID:  <bd1f7403-2155-c90a-4872-5ee0f33e73d9@quip.cz>
In-Reply-To: <CAKr6gn0URKzqcx8Y7aYSmTQLS0%2BjrNdsc07Ao14oNCjScG6kcQ@mail.gmail.com>
References:  <866d6937-a4e8-bec3-d61b-07df3065fca9@sentex.net> <CAOtMX2gifUmgqwSKpRGcfzCm_=BX_szNF1AF8WTMfAmbrJ5UWA@mail.gmail.com> <f6ea3387-faf8-4c63-d1e7-906fa397b00b@sentex.net> <a38578c6-b633-249d-90f0-0652377d76c0@quip.cz> <c229a502-fb76-ec6a-a56b-934d3b56e474@sentex.net> <1031e2b0-b245-1dc6-a499-8f4da3796543@quip.cz> <46455168-d7f1-6ca9-ad2f-9bcd3359e0f3@sentex.net> <78c78aec-a34b-f188-ef96-8ced9a1eda35@quip.cz> <CAOjFWZ7k7ANwcGyNCoYMg%2BLUBzAz2VyNfxQo5rKcrYj8XFgG3Q@mail.gmail.com> <CAKr6gn0URKzqcx8Y7aYSmTQLS0%2BjrNdsc07Ao14oNCjScG6kcQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 22/02/2023 23:17, George Michaelson wrote:
> I use mbuffer for this purpose. I'm only on protected "inside" links
> even if cross-router (ie not just a switching fabric) which may make
> my use-case a poor fit for your need.
> 
> mbuffer has several strategies around how much buffer to use, what
> rate limits to apply, I believe can do tweaks to use scatter-gather
> models (the necessary ioctls to turn things on &c but these are almost
> certainly tuned to linux)
> 
> you also need to look at your ethernet card offload. Normally
> beneficial. it can interact badly with in-kernel models of end-to-end
> flow, because it's performing its own work "on your behalf"

I tried disabling rxcsum, txcum, tso4 but then it became 10 MiB/s slower.

> I sort of miss having a "null" cipher in SSH. I didn't entirely
> understand why it got stripped out: the 'who are you" initialisation
> authorisation is beneficial, even if the datastream is (deliberately)
> unprotected. the RC2 fallback didn't seem to impose much cost, but
> thats gone too now.

It would be really useful for my usecase too.

Kind regards
Miroslav Lachman




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bd1f7403-2155-c90a-4872-5ee0f33e73d9>