From owner-freebsd-arm@freebsd.org Tue Jul 7 07:43:23 2020 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3C184358A0E for ; Tue, 7 Jul 2020 07:43:23 +0000 (UTC) (envelope-from s199p.wa1k9r@gmail.com) Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) (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 4B1DvG3pX0z4C24 for ; Tue, 7 Jul 2020 07:43:22 +0000 (UTC) (envelope-from s199p.wa1k9r@gmail.com) Received: by mail-pg1-x532.google.com with SMTP id w2so18813383pgg.10 for ; Tue, 07 Jul 2020 00:43:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TPukZiSA5gwETHUDX/LaI0hNV+dRcOxrOsst7WTjRZE=; b=HzRv0mHOr5tZoLOTSDbVkhhUPhyurfUieeyO9eJsgZl8sYI0/jDpfbSv4gw7LmQTwn +quAyq8nSe/55GkaFCRLfPuB1cs2Ll1Bkz79LbnUpq7r47et+Isqmz0cAnAyVWBH0GZk v6rUftO5TcY5xUvY4kCZf1p9fjjMR234K0JGsu2imuK08PhVEj0C50WkDoYSAImpTFyP UH/gfZi5MO6/5QVIufi/grtvGpBsL3ItXpwZEmPRiPedFRjUsmLkYmQVMleN+uPXp0Ug Uv/0yNMf657qXpMoM2SHZw1rAt9Bfzlzkv7M5YjZzZevO7cV5uTDi7Zqkgul3xHL4uCB gyrg== 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=TPukZiSA5gwETHUDX/LaI0hNV+dRcOxrOsst7WTjRZE=; b=Xc2R/WFyU/krW0+rSFvJf+o1Z4IA7lZrQcWMpDrPioe9OQizLicLMw3BUOHofUuOZJ PrxNHK+qWrgfBddM7315DLwnsjqybeNbKHVREl//LE/CzKPgox61nwHQpsQwercluLNE cxFulnUTCWkbUTO+myl5cG0rUxyeJ7hrewq0ea7Q5Bvrqq4Lc6o5/Xup0hQhe6LZGKUg Rg3UcohT2Pl7vitohqZK32gWrYVZPr2p/jiGpf5uJfvvlloFTUtRFifPGP1lI9iZl8GV GoMnaph5edrz4IpXTBGdyCabPYNbUOOnVWpejAQvwwsQacVlUfIMGEbco3Avhqur084w nwzA== X-Gm-Message-State: AOAM531pTd9so1aBhxbQNptopgI6C78EXd7vNvZvcsEFHKGiRk6nYR2U PCpTtHby7zUQEKAYEIMsQTLPiYgOqvD3pKNDLd8= X-Google-Smtp-Source: ABdhPJzyyqrIwiTpCW2cgXQb/EofYFifYYXDsZEZ1nFhPTZ3v6MdFfxdy0gAAmcDCURX9t6xV/mz46rPugZ9zaG3HHg= X-Received: by 2002:a62:404:: with SMTP id 4mr49868742pfe.133.1594107800126; Tue, 07 Jul 2020 00:43:20 -0700 (PDT) MIME-Version: 1.0 References: <1731fbded28.10a3342f0357159.8148813293316485882@fkardame.com> <20200706204707.GA94158@bluezbox.com> <0A2E974E-39D3-46C8-8791-3BD914EBE7E9@yahoo.com> <0C77695E-A9D0-410A-B105-5B69823E17E2@yahoo.com> In-Reply-To: From: Sleep Walker Date: Tue, 7 Jul 2020 10:42:59 +0300 Message-ID: Subject: Re: freebsd-arm Digest, Vol 740, Issue 7 (Rock64 Ethernet testing) To: Mark Millard Cc: Oleksandr Tymoshenko , Peter Jeremy , freebsd-arm X-Rspamd-Queue-Id: 4B1DvG3pX0z4C24 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=HzRv0mHO; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of s199pwa1k9r@gmail.com designates 2607:f8b0:4864:20::532 as permitted sender) smtp.mailfrom=s199pwa1k9r@gmail.com X-Spamd-Result: default: False [-3.96 / 15.00]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-0.97)[-0.974]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.004]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::532:from]; NEURAL_HAM_SHORT(-0.98)[-0.984]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jul 2020 07:43:23 -0000 Hi! On Khadas-EDGE-V ot@khadas-edge-v:~ # sysctl dev.cpu.0.freq dev.cpu.0.freq: 1416 root@khadas-edge-v:~ # uname -aUK FreeBSD khadas-edge-v 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r362798M 0fb6ad5-c996(nanopi): Tue Jun 30 19:44:09 MSK 2020 root@dev.kubsu.ru:/usr/crochet/work/obj/usr/crochet/src-13.0/arm64.aarch64/= sys/FREENAS arm64 1300100 1300100 root@khadas-edge-v:~ # iperf3 -c 192.168.1.100 Connecting to host 192.168.1.100, port 5201 [ 5] local 192.168.1.101 port 26993 connected to 192.168.1.100 port 5201 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 57.4 MBytes 481 Mbits/sec 0 144 KBytes [ 5] 1.00-2.00 sec 56.8 MBytes 476 Mbits/sec 0 161 KBytes [ 5] 2.00-3.00 sec 56.8 MBytes 476 Mbits/sec 0 161 KBytes [ 5] 3.00-4.00 sec 56.8 MBytes 476 Mbits/sec 0 161 KBytes [ 5] 4.00-5.00 sec 56.8 MBytes 476 Mbits/sec 0 161 KBytes [ 5] 5.00-6.00 sec 56.8 MBytes 476 Mbits/sec 0 161 KBytes [ 5] 6.00-7.00 sec 56.8 MBytes 476 Mbits/sec 0 175 KBytes [ 5] 7.00-8.00 sec 56.8 MBytes 476 Mbits/sec 0 175 KBytes [ 5] 8.00-9.00 sec 56.8 MBytes 476 Mbits/sec 0 175 KBytes [ 5] 9.00-10.00 sec 56.8 MBytes 476 Mbits/sec 0 175 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 568 MBytes 477 Mbits/sec 0 sende= r [ 5] 0.00-10.34 sec 568 MBytes 461 Mbits/sec receiver iperf Done. root@khadas-edge-v:~ # iperf3 -R -c 192.168.1.100 Connecting to host 192.168.1.100, port 5201 Reverse mode, remote host 192.168.1.100 is sending [ 5] local 192.168.1.101 port 45336 connected to 192.168.1.100 port 5201 [ ID] Interval Transfer Bitrate [ 5] 0.00-1.01 sec 4.65 MBytes 38.5 Mbits/sec [ 5] 1.01-2.01 sec 9.39 MBytes 79.3 Mbits/sec [ 5] 2.01-3.00 sec 6.15 MBytes 51.8 Mbits/sec [ 5] 3.00-4.01 sec 5.79 MBytes 48.0 Mbits/sec [ 5] 4.01-5.01 sec 2.75 MBytes 23.1 Mbits/sec [ 5] 5.01-6.00 sec 6.84 MBytes 57.7 Mbits/sec [ 5] 6.00-7.00 sec 2.01 MBytes 16.9 Mbits/sec [ 5] 7.00-8.01 sec 1.97 MBytes 16.4 Mbits/sec [ 5] 8.01-9.01 sec 2.06 MBytes 17.3 Mbits/sec [ 5] 9.01-10.00 sec 1.69 MBytes 14.3 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.34 sec 43.4 MBytes 35.2 Mbits/sec 1636 sender [ 5] 0.00-10.00 sec 43.3 MBytes 36.3 Mbits/sec receiver iperf Done. root@khadas-edge-v:~ # iperf3 -u -c 192.168.1.100 Connecting to host 192.168.1.100, port 5201 [ 5] local 192.168.1.101 port 52129 connected to 192.168.1.100 port 5201 [ ID] Interval Transfer Bitrate Total Datagrams [ 5] 0.00-1.00 sec 128 KBytes 1.05 Mbits/sec 90 [ 5] 1.00-2.00 sec 128 KBytes 1.05 Mbits/sec 90 [ 5] 2.00-3.00 sec 128 KBytes 1.05 Mbits/sec 90 [ 5] 3.00-4.00 sec 128 KBytes 1.05 Mbits/sec 90 [ 5] 4.00-5.00 sec 127 KBytes 1.04 Mbits/sec 89 [ 5] 5.00-6.00 sec 128 KBytes 1.05 Mbits/sec 90 [ 5] 6.00-7.00 sec 128 KBytes 1.05 Mbits/sec 90 [ 5] 7.00-8.00 sec 128 KBytes 1.05 Mbits/sec 90 [ 5] 8.00-9.00 sec 127 KBytes 1.04 Mbits/sec 89 [ 5] 9.00-10.00 sec 128 KBytes 1.05 Mbits/sec 90 - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Jitter Lost/Total Datagrams [ 5] 0.00-10.00 sec 1.25 MBytes 1.05 Mbits/sec 0.000 ms 0/898 (0%) sender [ 5] 0.00-10.04 sec 1.25 MBytes 1.04 Mbits/sec 0.007 ms 0/898 (0%) receiver iperf Done. root@khadas-edge-v:~ # iperf3 -R -u -c 192.168.1.100 Connecting to host 192.168.1.100, port 5201 Reverse mode, remote host 192.168.1.100 is sending [ 5] local 192.168.1.101 port 39861 connected to 192.168.1.100 port 5201 [ ID] Interval Transfer Bitrate Jitter Lost/Total Datagrams [ 5] 0.00-1.00 sec 134 KBytes 1.10 Mbits/sec 0.013 ms 0/94 (0%) [ 5] 1.00-2.00 sec 127 KBytes 1.04 Mbits/sec 0.008 ms 0/89 (0%) [ 5] 2.00-3.00 sec 128 KBytes 1.05 Mbits/sec 0.008 ms 0/90 (0%) [ 5] 3.00-4.00 sec 128 KBytes 1.05 Mbits/sec 0.004 ms 0/90 (0%) [ 5] 4.00-5.00 sec 128 KBytes 1.05 Mbits/sec 0.008 ms 0/90 (0%) [ 5] 5.00-6.00 sec 127 KBytes 1.04 Mbits/sec 0.004 ms 0/89 (0%) [ 5] 6.00-7.00 sec 128 KBytes 1.05 Mbits/sec 0.005 ms 0/90 (0%) [ 5] 7.00-8.00 sec 128 KBytes 1.05 Mbits/sec 0.004 ms 0/90 (0%) [ 5] 8.00-9.00 sec 128 KBytes 1.05 Mbits/sec 0.004 ms 0/90 (0%) [ 5] 9.00-10.00 sec 127 KBytes 1.04 Mbits/sec 0.049 ms 0/89 (0%) - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Jitter Lost/Total Datagrams [ 5] 0.00-10.04 sec 1.25 MBytes 1.05 Mbits/sec 0.000 ms 0/901 (0%) sender [ 5] 0.00-10.00 sec 1.25 MBytes 1.05 Mbits/sec 0.049 ms 0/901 (0%) receiver iperf Done. root@khadas-edge-v:~ # =D0=B2=D1=82, 7 =D0=B8=D1=8E=D0=BB. 2020 =D0=B3. =D0=B2 10:16, Sleep Walker= : > Hi! > > On NanoPC-T4 r361538 nodebug > > root@freenas:~ # uname -aUK > FreeBSD freenas 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r361538: Tue May 26 > 23:53:06 MSK 2020 root@freenas:/usr/obj/usr/src/arm64.aarch64/sys/FRE= ENAS > arm64 1300096 1300096 > root@freenas:~ # iperf3 -c 192.168.1.100 > Connecting to host 192.168.1.100, port 5201 > [ 5] local 192.168.1.101 port 55179 connected to 192.168.1.100 port 5201 > [ ID] Interval Transfer Bitrate Retr Cwnd > [ 5] 0.00-1.00 sec 60.4 MBytes 507 Mbits/sec 0 161 KBytes > > [ 5] 1.00-2.00 sec 59.9 MBytes 503 Mbits/sec 0 161 KBytes > > [ 5] 2.00-3.00 sec 59.9 MBytes 503 Mbits/sec 0 161 KBytes > > [ 5] 3.00-4.00 sec 59.9 MBytes 503 Mbits/sec 0 161 KBytes > > [ 5] 4.00-5.00 sec 59.9 MBytes 503 Mbits/sec 0 161 KBytes > > [ 5] 5.00-6.00 sec 59.9 MBytes 503 Mbits/sec 0 161 KBytes > > [ 5] 6.00-7.00 sec 59.9 MBytes 503 Mbits/sec 0 161 KBytes > > [ 5] 7.00-8.00 sec 59.9 MBytes 503 Mbits/sec 0 161 KBytes > > [ 5] 8.00-9.00 sec 59.9 MBytes 503 Mbits/sec 0 161 KBytes > > [ 5] 9.00-10.00 sec 59.9 MBytes 503 Mbits/sec 0 175 KBytes > > - - - - - - - - - - - - - - - - - - - - - - - - - > [ ID] Interval Transfer Bitrate Retr > [ 5] 0.00-10.00 sec 600 MBytes 503 Mbits/sec 0 > sender > [ 5] 0.00-10.34 sec 599 MBytes 486 Mbits/sec > receiver > > iperf Done. > root@freenas:~ # iperf3 -R -c 192.168.1.100 > Connecting to host 192.168.1.100, port 5201 > Reverse mode, remote host 192.168.1.100 is sending > [ 5] local 192.168.1.101 port 40284 connected to 192.168.1.100 port 5201 > [ ID] Interval Transfer Bitrate > [ 5] 0.00-1.01 sec 3.11 MBytes 26.0 Mbits/sec > [ 5] 1.01-2.01 sec 2.77 MBytes 23.1 Mbits/sec > [ 5] 2.01-3.01 sec 3.22 MBytes 27.1 Mbits/sec > [ 5] 3.01-4.01 sec 2.34 MBytes 19.7 Mbits/sec > [ 5] 4.01-5.00 sec 4.55 MBytes 38.5 Mbits/sec > [ 5] 5.00-6.01 sec 4.88 MBytes 40.5 Mbits/sec > [ 5] 6.01-7.01 sec 3.72 MBytes 31.3 Mbits/sec > [ 5] 7.01-8.01 sec 3.80 MBytes 31.9 Mbits/sec > [ 5] 8.01-9.00 sec 1.73 MBytes 14.6 Mbits/sec > [ 5] 9.00-10.00 sec 1.18 MBytes 9.97 Mbits/sec > - - - - - - - - - - - - - - - - - - - - - - - - - > [ ID] Interval Transfer Bitrate Retr > [ 5] 0.00-10.34 sec 31.4 MBytes 25.5 Mbits/sec 1100 > sender > [ 5] 0.00-10.00 sec 31.3 MBytes 26.3 Mbits/sec > receiver > > iperf Done. > root@freenas:~ # iperf3 -u -c 192.168.1.100 > Connecting to host 192.168.1.100, port 5201 > [ 5] local 192.168.1.101 port 30151 connected to 192.168.1.100 port 5201 > [ ID] Interval Transfer Bitrate Total Datagrams > [ 5] 0.00-1.00 sec 128 KBytes 1.05 Mbits/sec 90 > [ 5] 1.00-2.00 sec 128 KBytes 1.05 Mbits/sec 90 > [ 5] 2.00-3.00 sec 128 KBytes 1.05 Mbits/sec 90 > [ 5] 3.00-4.00 sec 128 KBytes 1.05 Mbits/sec 90 > [ 5] 4.00-5.00 sec 127 KBytes 1.04 Mbits/sec 89 > [ 5] 5.00-6.00 sec 128 KBytes 1.05 Mbits/sec 90 > [ 5] 6.00-7.00 sec 128 KBytes 1.05 Mbits/sec 90 > [ 5] 7.00-8.00 sec 128 KBytes 1.05 Mbits/sec 90 > [ 5] 8.00-9.00 sec 127 KBytes 1.04 Mbits/sec 89 > [ 5] 9.00-10.00 sec 128 KBytes 1.05 Mbits/sec 90 > - - - - - - - - - - - - - - - - - - - - - - - - - > [ ID] Interval Transfer Bitrate Jitter Lost/Tota= l > Datagrams > [ 5] 0.00-10.00 sec 1.25 MBytes 1.05 Mbits/sec 0.000 ms 0/898 (0%= ) > sender > [ 5] 0.00-10.04 sec 1.25 MBytes 1.04 Mbits/sec 0.025 ms 0/898 (0%= ) > receiver > > iperf Done. > root@freenas:~ # iperf3 -R -u -c 192.168.1.100 > Connecting to host 192.168.1.100, port 5201 > Reverse mode, remote host 192.168.1.100 is sending > [ 5] local 192.168.1.101 port 13018 connected to 192.168.1.100 port 5201 > [ ID] Interval Transfer Bitrate Jitter Lost/Tota= l > Datagrams > [ 5] 0.00-1.00 sec 134 KBytes 1.10 Mbits/sec 0.012 ms 0/94 (0%) > [ 5] 1.00-2.00 sec 128 KBytes 1.05 Mbits/sec 0.004 ms 0/90 (0%) > [ 5] 2.00-3.00 sec 127 KBytes 1.04 Mbits/sec 0.003 ms 0/89 (0%) > [ 5] 3.00-4.00 sec 128 KBytes 1.05 Mbits/sec 0.007 ms 0/90 (0%) > [ 5] 4.00-5.00 sec 128 KBytes 1.05 Mbits/sec 0.004 ms 0/90 (0%) > [ 5] 5.00-6.00 sec 128 KBytes 1.05 Mbits/sec 0.006 ms 0/90 (0%) > [ 5] 6.00-7.00 sec 127 KBytes 1.04 Mbits/sec 0.005 ms 0/89 (0%) > [ 5] 7.00-8.00 sec 128 KBytes 1.05 Mbits/sec 0.009 ms 0/90 (0%) > [ 5] 8.00-9.00 sec 128 KBytes 1.05 Mbits/sec 0.006 ms 0/90 (0%) > [ 5] 9.00-10.00 sec 128 KBytes 1.05 Mbits/sec 0.008 ms 0/90 (0%) > - - - - - - - - - - - - - - - - - - - - - - - - - > [ ID] Interval Transfer Bitrate Jitter Lost/Tota= l > Datagrams > [ 5] 0.00-10.04 sec 1.26 MBytes 1.05 Mbits/sec 0.000 ms 0/902 (0%= ) > sender > [ 5] 0.00-10.00 sec 1.26 MBytes 1.05 Mbits/sec 0.008 ms 0/902 (0%= ) > receiver > > iperf Done. > root@freenas:~ # > > =D0=B2=D1=82, 7 =D0=B8=D1=8E=D0=BB. 2020 =D0=B3. =D0=B2 09:44, Mark Milla= rd via freebsd-arm < > freebsd-arm@freebsd.org>: > >> >> >> On 2020-Jul-6, at 23:22, Mark Millard wrote: >> >> > On 2020-Jul-6, at 23:03, Mark Millard wrote: >> > >> > >> >> On 2020-Jul-6, at 14:21, Mark Millard wrote: >> >> >> >>> On 2020-Jul-6, at 13:47, Oleksandr Tymoshenko >> wrote: >> >>> >> >>>> Furkan Salman (furkan@fkardame.com) wrote: >> >>>>> Hello Peter, >> >>>>> >> >>>>> I have rockpiE which is somewhat similar to Rock64, If s133pwa1k9r= @ >> or gonzo@ can confirm if rockpie can be used to test RK3328 Lan issue >> then I am happy to help with testing. >> >>>> >> >>>> >> >>>> Hi Furkan, >> >>>> >> >>>> Yes, RockPi E seems to be a good test target. If you could check th= e >> >>>> GigE interface before and after the patch. Whether it works/doesn't >> work >> >>>> and if it works in both cases - try testing performance with iperf3= , >> >>>> just to see if performance was affected in any way. >> >>> >> >>> For folks not familiar with the general type of activity >> >>> or specifically with iperf3 (or other specifics), more >> >>> detailed information to "collect and report . . ., collecting >> >>> the information via the commands . . ." could help: more >> >>> step-by-step. >> >>> >> >>> Also: Do you care between debug kernels vs. non-debug >> >>> kernels? Debug ones of the appropriate vintage for head >> >>> are available via artifacts.ci.freebsd.org but there >> >>> might be performance consequences to using such. >> >> >> >> I put a copy of the -r362982 *debug* kernel from >> >> artifacts.ci.freebsd.org on the Rock64 V2.0 that >> >> I sometimes have access to. There are no hardware >> >> mods to the Rock64 V2.0. >> >> >> >> It did DHCP to pick up an address just fine during >> >> the boot. I ssh'd into it just fine after the boot. >> >> >> >> # uname -apKU >> >> FreeBSD Rock64orRPi4 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r362982: Tu= e >> Jul 7 03:41:02 UTC 2020 >> root@FreeBSD-head-aarch64-build.jail.ci.FreeBSD.org:/usr/obj/usr/src/ar= m64.aarch64/sys/GENERIC >> arm64 aarch64 1300100 1300092 >> >> >> >> # ifconfig >> >> dwc0: flags=3D8843 metric 0 m= tu >> 1500 >> >> options=3D80008 >> >> ether # >> >> hwaddr # >> >> inet # netmask # broadcast # >> >> media: Ethernet autoselect (1000baseT ) >> >> status: active >> >> nd6 options=3D29 >> >> . . . >> >> >> >> I'll note that the Rock64 is the only thing running a debug >> >> kernel for this note. >> >> >> >> An rsync copying an approximately 4 GiByte tar file to the Rock64 >> >> reported: >> >> >> >> # rsync -axHh --info=3Dprogress2 --delete -r >> /usr/obj/clang-cortexA53-installworld-poud.tar X@Y:/tmp/ >> >> >> >> 4.01G 100% 28.91MB/s 0:02:12 (xfr#1, to-chk=3D0/1) >> >> >> >> I'll note that at times it listed over 32MB/s. The storage media >> >> is a USB3 SSD plugged into the USB3 port. It has the Rock64's >> >> root filesystem. >> >> >> >> For reference, locally duplicating the file on the Rock64 via >> >> rsync reported: >> >> >> >> # rsync -axHh --info=3Dprogress2 -r >> /tmp/clang-cortexA53-installworld-poud.tar /tmp/mmjnk.tar >> >> 4.01G 100% 38.48MB/s 0:01:39 (xfr#1, to-chk=3D0/1) >> >> >> >> (from/to: same media). I do not expect that the rsync over the >> >> network was limited by the target media on the Rock64. >> >> >> >> Copying from the same machine to a large, fast machine instead >> >> of to the Rock64: >> >> >> >> # rsync -axHh --info=3Dprogress2 --delete -r >> /usr/obj/clang-cortexA53-installworld-poud.tar X@Y:/tmp/ >> >> 4.01G 100% 77.32MB/s 0:00:49 (xfr#1, to-chk=3D0/1) >> >> >> >> So that should not be the side constraining the to-Rock64 >> >> rate. >> >> >> >> Copying from the Rock64 to the large, fast machine: >> >> >> >> rsync -axHh --info=3Dprogress2 --delete -r >> /tmp/clang-cortexA53-installworld-poud.tar X@Y:/tmp/ >> >> 4.01G 100% 21.35MB/s 0:02:59 (xfr#1, to-chk=3D0/1) >> >> >> >> It did not list figures much higher than above, so slower than >> >> the copy to the Rock64 fairly generally. >> >> >> >> All this activity is over the local network, nothing remote. >> >> All machines were running head -r360311 (non-debug), except >> >> for the Rock64 having the -r362982 *debug* kernel instead. >> >> >> >> I hope that the above helps. >> >> >> >> I see that there are now iperf3 usage instructions so at some >> >> point I may get that going and report the results, including >> >> doing a non-debug kernel build and install. >> >> >> > >> > Still using the debug kernel, but I figured I'd show >> > the results from proving that I can get iperf3 to do >> > the requested type of testing: >> > >> > # iperf3 -c 192.168.1.122 >> > Connecting to host 192.168.1.122, port 5201 >> > [ 5] local 192.168.1.109 port 17015 connected to 192.168.1.122 port >> 5201 >> > [ ID] Interval Transfer Bitrate Retr Cwnd >> > [ 5] 0.00-1.00 sec 45.4 MBytes 381 Mbits/sec 0 730 >> KBytes >> > [ 5] 1.00-2.00 sec 45.4 MBytes 380 Mbits/sec 0 730 >> KBytes >> > [ 5] 2.00-3.00 sec 44.9 MBytes 376 Mbits/sec 0 730 >> KBytes >> > [ 5] 3.00-4.00 sec 45.3 MBytes 380 Mbits/sec 0 730 >> KBytes >> > [ 5] 4.00-5.00 sec 44.7 MBytes 375 Mbits/sec 0 730 >> KBytes >> > [ 5] 5.00-6.00 sec 45.2 MBytes 378 Mbits/sec 0 730 >> KBytes >> > [ 5] 6.00-7.00 sec 44.7 MBytes 376 Mbits/sec 0 730 >> KBytes >> > [ 5] 7.00-8.00 sec 44.6 MBytes 374 Mbits/sec 0 730 >> KBytes >> > [ 5] 8.00-9.00 sec 44.7 MBytes 375 Mbits/sec 0 730 >> KBytes >> > [ 5] 9.00-10.00 sec 45.3 MBytes 380 Mbits/sec 0 730 >> KBytes >> > - - - - - - - - - - - - - - - - - - - - - - - - - >> > [ ID] Interval Transfer Bitrate Retr >> > [ 5] 0.00-10.00 sec 450 MBytes 377 Mbits/sec 0 >> sender >> > [ 5] 0.00-10.62 sec 450 MBytes 355 Mbits/sec >> receiver >> > >> > # iperf3 -R -c 192.168.1.122 >> > Connecting to host 192.168.1.122, port 5201 >> > Reverse mode, remote host 192.168.1.122 is sending >> > [ 5] local 192.168.1.109 port 54738 connected to 192.168.1.122 port >> 5201 >> > [ ID] Interval Transfer Bitrate >> > [ 5] 0.00-1.00 sec 61.4 MBytes 515 Mbits/sec >> > [ 5] 1.00-2.00 sec 61.3 MBytes 514 Mbits/sec >> > [ 5] 2.00-3.00 sec 61.3 MBytes 515 Mbits/sec >> > [ 5] 3.00-4.00 sec 61.4 MBytes 515 Mbits/sec >> > [ 5] 4.00-5.00 sec 61.4 MBytes 515 Mbits/sec >> > [ 5] 5.00-6.00 sec 61.2 MBytes 513 Mbits/sec >> > [ 5] 6.00-7.00 sec 61.4 MBytes 515 Mbits/sec >> > [ 5] 7.00-8.00 sec 61.3 MBytes 514 Mbits/sec >> > [ 5] 8.00-9.00 sec 61.4 MBytes 515 Mbits/sec >> > [ 5] 9.00-10.00 sec 61.3 MBytes 514 Mbits/sec >> > - - - - - - - - - - - - - - - - - - - - - - - - - >> > [ ID] Interval Transfer Bitrate Retr >> > [ 5] 0.00-10.61 sec 614 MBytes 486 Mbits/sec 28 >> sender >> > [ 5] 0.00-10.00 sec 613 MBytes 515 Mbits/sec >> receiver >> > >> > I'll note that I run with the following in /etc/sysctl.conf : >> > >> > # The Rock64 does not seem to automatically adjust from 600MHz, >> > # so do so manually. (The specifics likely would not be >> > # appropriate to the RPi4/3.) >> > dev.cpu.0.freq=3D1200 >> > >> > It is a historical artifact that I've not checked on the >> > status of in a very long time: it works so I leave it >> > there. >> >> Looks like it will be some time before I deal with >> updating to a more modern kernel/world (non-debug). >> >> But I switched back to my non-debug head -r360311 >> kernel (and dtb) build and here are the iperf3 >> results for that context: >> >> # iperf3 -c 192.168.1.122 >> Connecting to host 192.168.1.122, port 5201 >> [ 5] local 192.168.1.109 port 39541 connected to 192.168.1.122 port 520= 1 >> [ ID] Interval Transfer Bitrate Retr Cwnd >> [ 5] 0.00-1.00 sec 73.6 MBytes 617 Mbits/sec 0 1.07 MBytes >> >> [ 5] 1.00-2.00 sec 72.9 MBytes 612 Mbits/sec 0 1.60 MBytes >> >> [ 5] 2.00-3.00 sec 72.9 MBytes 611 Mbits/sec 0 1.60 MBytes >> >> [ 5] 3.00-4.00 sec 72.8 MBytes 611 Mbits/sec 0 1.60 MBytes >> >> [ 5] 4.00-5.00 sec 72.9 MBytes 611 Mbits/sec 0 1.60 MBytes >> >> [ 5] 5.00-6.00 sec 72.9 MBytes 611 Mbits/sec 0 1.60 MBytes >> >> [ 5] 6.00-7.00 sec 72.7 MBytes 610 Mbits/sec 0 1.60 MBytes >> >> [ 5] 7.00-8.00 sec 72.8 MBytes 610 Mbits/sec 0 1.60 MBytes >> >> [ 5] 8.00-9.00 sec 72.8 MBytes 611 Mbits/sec 0 1.60 MBytes >> >> [ 5] 9.00-10.00 sec 72.8 MBytes 610 Mbits/sec 0 1.60 MBytes >> >> - - - - - - - - - - - - - - - - - - - - - - - - - >> [ ID] Interval Transfer Bitrate Retr >> [ 5] 0.00-10.00 sec 729 MBytes 611 Mbits/sec 0 >> sender >> [ 5] 0.00-10.32 sec 729 MBytes 593 Mbits/sec >> receiver >> >> # iperf3 -R -c 192.168.1.122 >> Connecting to host 192.168.1.122, port 5201 >> Reverse mode, remote host 192.168.1.122 is sending >> [ 5] local 192.168.1.109 port 50696 connected to 192.168.1.122 port 520= 1 >> [ ID] Interval Transfer Bitrate >> [ 5] 0.00-1.00 sec 112 MBytes 941 Mbits/sec >> [ 5] 1.00-2.00 sec 112 MBytes 942 Mbits/sec >> [ 5] 2.00-3.00 sec 112 MBytes 941 Mbits/sec >> [ 5] 3.00-4.00 sec 84.4 MBytes 708 Mbits/sec >> [ 5] 4.00-5.00 sec 112 MBytes 941 Mbits/sec >> [ 5] 5.00-6.00 sec 112 MBytes 941 Mbits/sec >> [ 5] 6.00-7.00 sec 112 MBytes 941 Mbits/sec >> [ 5] 7.00-8.00 sec 112 MBytes 941 Mbits/sec >> [ 5] 8.00-9.00 sec 112 MBytes 941 Mbits/sec >> [ 5] 9.00-10.00 sec 112 MBytes 941 Mbits/sec >> - - - - - - - - - - - - - - - - - - - - - - - - - >> [ ID] Interval Transfer Bitrate Retr >> [ 5] 0.00-10.31 sec 1.07 GBytes 892 Mbits/sec 55 >> sender >> [ 5] 0.00-10.00 sec 1.07 GBytes 918 Mbits/sec >> receiver >> >> >> =3D=3D=3D >> Mark Millard >> marklmi at yahoo.com >> ( dsl-only.net went >> away in early 2018-Mar) >> >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >> >