From nobody Sat Sep 02 20:13:15 2023 X-Original-To: freebsd-hackers@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 4RdR0z0t12z4s1Q2 for ; Sat, 2 Sep 2023 20:13:23 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RdR0y2ffbz3gVC for ; Sat, 2 Sep 2023 20:13:22 +0000 (UTC) (envelope-from wojtek@puchar.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=puchar.net header.s=default header.b=JpceOdKw; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net; dmarc=none Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.17.1) with ESMTPS id 382KDGA1006600 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 2 Sep 2023 22:13:19 +0200 (CEST) (envelope-from wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1693685600; bh=5Q7sOqBgmUdPRThSHhLxgL7F4elr75oMnKOkdcPQNU0=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=JpceOdKwmtjq6RMlJh/SotJCy54nEbgmuz+5DiG7VvosJq/fm1iy/vEfngidYBdEI fJBiB7ehUFUuB01w7DOUYosWubA2yGWVP4w3I/t5jkvtDsXP21TRQIbVv0GwVcS0x3 9icQyB6C+LI6fEyTPZksLo81oNb6nyPgbt2Ine+8= Received: from wojtek.intra (localhost [127.0.0.1]) by wojtek.intra (8.16.1/8.16.1) with ESMTP id 382KDF0b050864; Sat, 2 Sep 2023 22:13:15 +0200 (CEST) (envelope-from wojtek@puchar.net) Received: from localhost (wojtek@localhost) by wojtek.intra (8.16.1/8.16.1/Submit) with ESMTP id 382KDFUl050861; Sat, 2 Sep 2023 22:13:15 +0200 (CEST) (envelope-from wojtek@puchar.net) X-Authentication-Warning: wojtek.intra: wojtek owned process doing -bs Date: Sat, 2 Sep 2023 22:13:15 +0200 (CEST) From: Wojciech Puchar To: Wei Hu cc: Mark Millard , FreeBSD Hackers Subject: RE: Very slow scp performance comparing to Linux In-Reply-To: Message-ID: <59b9639e-80c7-38c5-a55d-7fa11b431bad@puchar.net> References: <948CAEBD-EB60-46B9-96EE-FE41CA6C64A1@yahoo.com> <07C2C9E3-7317-43AF-A60C-393ADF90079D@yahoo.com> List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; R_DKIM_ALLOW(-0.20)[puchar.net:s=default]; R_SPF_ALLOW(-0.20)[+mx:c]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_CC(0.00)[yahoo.com,freebsd.org]; DKIM_TRACE(0.00)[puchar.net:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[194.1.144.90:from]; TO_DN_ALL(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[puchar.net]; HAS_XAW(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4RdR0y2ffbz3gVC > 1. ext4 caches a lot more than ufs? > 2. there is a tcp performance gap in the network stack between FreeBSD and Ubuntu? > > Would you also try run scp on ufs on your bare metal arm host? I am curious to now how different between ufs and zfs. > run on the same machine with FreeBSD directly. Compare to your VM host. Personally i never run FreeBSD on VM except for tests. Exactly reverse since bhyve exist.