From nobody Sun Aug 22 23:39:44 2021 X-Original-To: freebsd-fs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 41925178AF9A for ; Sun, 22 Aug 2021 23:40:00 +0000 (UTC) (envelope-from ggm@algebras.org) Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GtBgL4y8Lz4rh6 for ; Sun, 22 Aug 2021 23:39:58 +0000 (UTC) (envelope-from ggm@algebras.org) Received: by mail-lj1-x233.google.com with SMTP id s3so28139012ljp.11 for ; Sun, 22 Aug 2021 16:39:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=algebras-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MVB273vGrKdc9fN1PwqFUTe47V1aZIuurEqyzt6FFAM=; b=mic0vkm5A7B1d4ov2OtG+Oy5Qnqp4fliuQXZcL7dUr+Hbv3OL2+rtHQQBuc2/GawDV r9nuOje7kpnL+oGpt7Kw8hjjyHE9obfJ1SNHN9eABEtwYwJ7OfpnPvyml9CM1b7B7jJN UM4nNVj3Bpo1YcsMp4cyWZzzoP77obRyoBphHKW4sFwoMhiDL3vNyQ4jK4I8BUExkQjS 7U51yu3xuZaMLrT4ruea7j9FA+ykdwXgKsqbmadCgvGdyGo+fBrt5UXqOIh40AgBnDk0 z4z/WmmEGarnHR3PVOEU9nXAeViz8lntwSxnK42gVFt3KR6Z0Vy629Zo6XZHglna34mV dZbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MVB273vGrKdc9fN1PwqFUTe47V1aZIuurEqyzt6FFAM=; b=t+s0lhsetNJlBA+M8oWxo1GJ8mXemTOL3L6TgvwaKEgi3OH5YznY7Ua9LDEONT0Jfa 8wT/YsaKFtUhaa0Q8u1+WK9HAJRjkt1zGXQt1CYsKpUw6+qqjogzSgLRHVqksNy2O6xe VX8bU78VUiAcyYjbdA/1fh9zEZBquKCnEJeBKuImtETW/UPGmPeiuekPW6LkDc+tu5kQ TkPZyCWb4zcvpNaiI38dcK/ZXfpjdhBEKzk/lSDfoEx58cxY14DpOqurDKABP9TEMv8A HOL3LZgVZXbNzWQ+BlfZbBa7R/pqJPtaFxFV7o2pWTL14EflVxyxF03AiDewoxU2JJF5 oa1w== X-Gm-Message-State: AOAM532tKOaeNmWukv3kJqnE/wq3C+DFjqPwnhHr8NHS3QHfJ8NWKN/1 AmZRSO9znG5AvJ3wLQ634PidzqKbn6WX1Em9XAmLhQ== X-Google-Smtp-Source: ABdhPJxBwjxLpdOvxAChGiQd+ucRaUKTZI41UiOVmNA6ln55gloMQ1+E5NODQjoNQ/rYVkxQItTisKFBQ/CWa4O1t78= X-Received: by 2002:a2e:8598:: with SMTP id b24mr20971226lji.209.1629675596807; Sun, 22 Aug 2021 16:39:56 -0700 (PDT) List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 References: <023225AD-2A97-47C5-9FE4-3ABF1BFD66F1@gmx.com> In-Reply-To: <023225AD-2A97-47C5-9FE4-3ABF1BFD66F1@gmx.com> From: George Michaelson Date: Mon, 23 Aug 2021 09:39:44 +1000 Message-ID: Subject: Re: ZFS on high-latency devices To: Ben RUBSON Cc: freebsd-fs@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4GtBgL4y8Lz4rh6 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=algebras-org.20150623.gappssmtp.com header.s=20150623 header.b=mic0vkm5; dmarc=none; spf=pass (mx1.freebsd.org: domain of ggm@algebras.org designates 2a00:1450:4864:20::233 as permitted sender) smtp.mailfrom=ggm@algebras.org X-Spamd-Result: default: False [0.36 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.88)[-0.885]; R_DKIM_ALLOW(-0.20)[algebras-org.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; NEURAL_SPAM_SHORT(1.00)[1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; DMARC_NA(0.00)[algebras.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[algebras-org.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::233:from]; NEURAL_SPAM_LONG(0.74)[0.740]; FREEMAIL_TO(0.00)[gmx.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N I don't want to abuse the subject line too much, but I can highly recommend the mbuffer approach, I've used this repeatedly, BSD-BSD and BSD-Linux. It definitely feels faster than SSH, since the 'no cipher' options were removed, and in the confusion of the HPC buffer changes. But, its not crypted on-the-wire. Mbuffer tuning is a bit of a black art: it would help enormously if there was some guidance on this, and personally I've never found the mbuffer -v option to work well: I get no real sense of how full or empty the buffer "is" or, if the use of sendmsg/recvmsg type buffer chains is better or worse. -G On Fri, Aug 20, 2021 at 6:19 PM Ben RUBSON wrote: > > > On 19 Aug 2021, at 11:37, Peter Jeremy wrote: > > > > (...) or a way to improve throughput doing "zfs recv" to a pool with a high RTT. > > You should use zfs send/receive through mbuffer, which will allow to sustain better throughput over high latency links. > Feel free to play with its buffer size parameters to find the better settings, depending on your link characteristics. > > Ben > >