From nobody Tue May 03 02:23:10 2022 X-Original-To: freebsd-net@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 809871AB9B8B for ; Tue, 3 May 2022 02:23:23 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (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 "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KskK63NNyz4bhX for ; Tue, 3 May 2022 02:23:22 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.16.1/8.15.2) with ESMTPS id 2432NCdF019631 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 2 May 2022 19:23:13 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.16.1/8.15.2/Submit) id 2432NA2o019630; Mon, 2 May 2022 19:23:10 -0700 (PDT) (envelope-from fbsd) Date: Mon, 2 May 2022 19:23:10 -0700 From: bob prohaska To: Hans Petter Selasky Cc: Bakul Shah , freebsd-net@freebsd.org, bob prohaska Subject: Re: 60+% ping packet loss on Pi3 under -current and stable-13 Message-ID: <20220503022310.GA19378@www.zefox.net> References: <20220501181254.GA14961@www.zefox.net> <20220501232757.GA15446@www.zefox.net> <2F4599BF-EEDA-4D08-AB6E-7AA9F410B2C5@yahoo.com> <20220502011312.GA15807@www.zefox.net> <6f57cd1d-e1d4-5ca4-e301-2633c1d4c1fa@selasky.org> <20220502155334.GA17962@www.zefox.net> <0d131ec7-3c83-9470-7052-6a80af1bb574@selasky.org> List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0d131ec7-3c83-9470-7052-6a80af1bb574@selasky.org> X-Rspamd-Queue-Id: 4KskK63NNyz4bhX X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net X-Spamd-Result: default: False [-0.65 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.56)[-0.555]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; MLMMJ_DEST(0.00)[freebsd-net]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_WWW(0.50)[] X-ThisMailContainsUnwantedMimeParts: N On Mon, May 02, 2022 at 06:48:58PM +0200, Hans Petter Selasky wrote: > > You may also want to correlate: > > usbconfig dump_stats > On the -current Pi3 I see in part: ugen1.4: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) { UE_CONTROL_OK : 83 UE_ISOCHRONOUS_OK : 0 UE_BULK_OK : 3730195 UE_INTERRUPT_OK : 0 UE_CONTROL_FAIL : 0 UE_ISOCHRONOUS_FAIL : 0 UE_BULK_FAIL : 61 UE_INTERRUPT_FAIL : 0 } That's the USB3 hard disk boot drive. All other devices report zero bulk fails. > with netstat for ue0 . > On the same machine one gets: root@www:/home/bob # netstat -i -n ue0 Name Mtu Network Address Ipkts Ierrs Idrop Opkts Oerrs Coll lo0 16384 lo0 185 0 0 185 0 0 lo0 - ::1/128 ::1 0 - - 0 - - lo0 - fe80::%lo0/64 fe80::1%lo0 0 - - 0 - - lo0 - 127.0.0.0/8 127.0.0.1 185 - - 185 - - ue0 1500 b8:27:eb:71:46:4e 244278 0 0 213240 0 0 ue0 - 50.1.20.0/24 50.1.20.28 213957 - - 210970 - - root@www:/home/bob # Nothing obviously amiss....if I'm looking at the right data. > Especially the BULK column. If something is wrong on the USB level, it will > show up there. > On a whim, I checked a Pi4 running -current which also has a usb-sata boot drive. It reports UE_BULK_FAIL : 56 for the disk and performance seems good. An old Pi2 running -current with a relatively old USB2-sata boot disk reports zero bulk errors. No bulk errors seems desirable, but is some non-zero error rate normal? All three machines have been updated within a couple of days. Thanks for writing! bob prohaska