From nobody Wed Feb 22 21:08:49 2023 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 4PMTKY0bQqz3sCjc for ; Wed, 22 Feb 2023 21:08:49 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [IPv6:2607:f3e0:0:1::12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smarthost1.sentex.ca", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PMTKY0B74z3LmW; Wed, 22 Feb 2023 21:08:49 +0000 (UTC) (envelope-from mike@sentex.net) Authentication-Results: mx1.freebsd.org; none Received: from pyroxene2a.sentex.ca (pyroxene19.sentex.ca [199.212.134.19]) by smarthost1.sentex.ca (8.16.1/8.16.1) with ESMTPS id 31ML8mYp011994 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=FAIL); Wed, 22 Feb 2023 16:08:48 -0500 (EST) (envelope-from mike@sentex.net) Received: from [IPV6:2607:f3e0:0:4::29] ([IPv6:2607:f3e0:0:4:0:0:0:29]) by pyroxene2a.sentex.ca (8.16.1/8.15.2) with ESMTPS id 31ML8lKm005496 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Wed, 22 Feb 2023 16:08:48 -0500 (EST) (envelope-from mike@sentex.net) Message-ID: <46455168-d7f1-6ca9-ad2f-9bcd3359e0f3@sentex.net> Date: Wed, 22 Feb 2023 16:08:49 -0500 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 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: speeding up zfs send | recv (update) Content-Language: en-US To: Miroslav Lachman <000.fbsd@quip.cz>, Alan Somers Cc: freebsd-fs References: <866d6937-a4e8-bec3-d61b-07df3065fca9@sentex.net> <1031e2b0-b245-1dc6-a499-8f4da3796543@quip.cz> From: mike tancsa In-Reply-To: <1031e2b0-b245-1dc6-a499-8f4da3796543@quip.cz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.84 X-Rspamd-Queue-Id: 4PMTKY0B74z3LmW X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:11647, ipnet:2607:f3e0::/32, country:CA] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 2/22/2023 4:03 PM, Miroslav Lachman wrote: > Interresting numbers. I think I am the only one who get best speed > with chacha20-poly1305@openssh.com > > > It seems the speed of SSH is limited by single core performance which > is very poor on this machine (Intel(R) Pentium(R) Dual  CPU E2160). > Even if CPU has 50% idle, ssh runs on 99.8% of single core. The CPU I have has aesni0: on motherboard which probably helps. > > I know there were some HPN patches to ssh, beside that is there any > option I can try to use less CPU? > > I will play with cpuset to pin ssh on one core and everything else on > the other core. It looks like you are running into a CPU bottleneck TBH     ---Mike > > > Kind regards > Miroslav Lachman >