Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2023 23:16:52 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Mark Saad <nonesuch@longcount.org>
Cc:        Wei Hu <weh@microsoft.com>, FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: Very slow scp performance comparing to Linux [dd to /dev/null shows substantial FreeBSD vs. Ubuntu differences for bs=1k (or 1K) and bs=512]
Message-ID:  <B84E85AB-B473-4177-8B80-03BECB8C524E@yahoo.com>
In-Reply-To: <SI2P153MB0441F1DBE0BB218517B0DEBABBE5A@SI2P153MB0441.APCP153.PROD.OUTLOOK.COM>
References:  <2D466F3C-527C-4EE1-8C3D-3E8CDD8D547F@yahoo.com> <543FBABC-C75A-4AB0-BFB6-1C7C15ECBA4E@longcount.org> <96A99928-4E8E-4AB1-BF3A-D026B280EC0E@yahoo.com> <SI2P153MB0441F1DBE0BB218517B0DEBABBE5A@SI2P153MB0441.APCP153.PROD.OUTLOOK.COM>

next in thread | previous in thread | raw e-mail | index | archive | help
On Aug 30, 2023, at 20:59, Wei Hu <weh@microsoft.com> wrote:

>> -----Original Message-----
>> From: Mark Millard <marklmi@yahoo.com>
>> Sent: Thursday, August 31, 2023 10:18 AM
>> To: Mark Saad <nonesuch@longcount.org>
>> Cc: Wei Hu <weh@microsoft.com>; FreeBSD Hackers <freebsd-
>> hackers@freebsd.org>
>> Subject: Re: Very slow scp performance comparing to Linux [dd to =
/dev/null
>> shows substantial FreeBSD vs. Ubuntu differences for bs=3D1k (or 1K) =
and
>> bs=3D512]
>>=20
>> On Aug 30, 2023, at 18:45, Mark Saad <nonesuch@longcount.org> wrote:
>>=20
>>> All
>>> Why not take scp out of the picture and try iperf? Why , we could be =
looking
>> at rss by default in Linux .
>=20
> Actually I did the iperf3 test as well and posted results a couple =
days ago.=20
> Pasting here:
>=20
> FreeBSD iperf3 to localhost, single stream: 30.9 Gb/s=20
> Linux iperf3 to localhost, single stream: 48.8 Gb/s

I'll note that (48.8Gb/s) / (30.9Gb/s) is a much
smaller ratio than then either of the originally
reported Ubuntu/FreeBSD ratios:

(550 MB/s) / (70 MB/s)
or:
(350 MB/s) / (70 MB/s)

Suggesting one or more non-network issues are
contributing, especially vs. the localhost test
that had the 550/70 ratio.

> Neither of them has any tcp retry.=20
>=20
> Both VMs run on Intel(R) Xeon(R) Platinum 8473C (2100.00-MHz K8-class =
CPU).=20
> The FreeBSD VM is 16 vcpu, with 128 GB memory.
> The Linux VM is 4 vcpu, with 32 GB memory.
>=20
> Wei
>=20
>=20
>>=20
>> . . .


=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B84E85AB-B473-4177-8B80-03BECB8C524E>