Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Feb 2023 18:09:07 +0100
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Freddie Cash <fjwcash@gmail.com>
Cc:        mike tancsa <mike@sentex.net>, freebsd-fs <freebsd-fs@freebsd.org>
Subject:   Re: speeding up zfs send | recv (update)
Message-ID:  <d55595b5-39b4-b4a2-b773-129d299de545@quip.cz>
In-Reply-To: <CAOjFWZ7k7ANwcGyNCoYMg%2BLUBzAz2VyNfxQo5rKcrYj8XFgG3Q@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>

next in thread | previous in thread | raw e-mail | index | archive | help
On 22/02/2023 22:43, Freddie Cash wrote:
> [Sorry for top part, GMail sucks for replies.]
> 
> If this is a LAN or private WAN where you trust the network, piping the 
> send stream through netcat will remove ssh from the equation.
> 
> That's what we switched to using once it became almost impossible to get 
> the "none" cipher working with ssh on FreeBSD.

It would be good if I can run it without ssh overhead but I don't found 
any example on the internet how to use Sanoid / Syncoid without SSH. It 
looks like ssh is requirement and mbuffer and pv is optional.

> We use ssh to connect to the remote server and enable a netcat listener 
> on port X, then pipe the send through netcat to the remote system on 
> port X. That way it's logged and uses ssh for authentication.
> 
> We easily saturate gigabit links between our ZFS systems using netcat.

Nice trick. Next time I will need to move fet TB of zfs data I will try 
different solution instead of Syncoid to avoid slow ssh. Netcat or 
direct mbuffer listening on TCP port seems better.

Kind regards
Miroslav Lachman




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d55595b5-39b4-b4a2-b773-129d299de545>