From owner-freebsd-current@freebsd.org Mon Nov 30 12:46:00 2020 Return-Path: Delivered-To: freebsd-current@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 6153F47B3A0 for ; Mon, 30 Nov 2020 12:46:00 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4Cl4j40HTLz3KYg for ; Mon, 30 Nov 2020 12:46:00 +0000 (UTC) (envelope-from david@catwhisker.org) Received: by mailman.nyi.freebsd.org (Postfix) id 07DBC47B39F; Mon, 30 Nov 2020 12:46:00 +0000 (UTC) Delivered-To: current@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 0664A47B5F3 for ; Mon, 30 Nov 2020 12:46:00 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cl4j34qr3z3KLh for ; Mon, 30 Nov 2020 12:45:59 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.16.1/8.15.2) with ESMTP id 0AUCjuVx019238; Mon, 30 Nov 2020 12:45:56 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.16.1/8.16.1/Submit) id 0AUCjtwQ019237; Mon, 30 Nov 2020 04:45:55 -0800 (PST) (envelope-from david) Date: Mon, 30 Nov 2020 04:45:55 -0800 From: David Wolfskill To: Mateusz Guzik Cc: current@freebsd.org Subject: Re: Laptop exhibits erratic responsiveness Message-ID: Reply-To: current@freebsd.org Mail-Followup-To: current@freebsd.org, Mateusz Guzik References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ENSCgXiFNPZM3e6F" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4Cl4j34qr3z3KLh X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Nov 2020 12:46:00 -0000 --ENSCgXiFNPZM3e6F Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 29, 2020 at 03:20:15PM +0100, Mateusz Guzik wrote: > On 11/29/20, David Wolfskill wrote: > > On Sat, Nov 28, 2020 at 10:47:57AM -0500, Jonathan Looney wrote: > >> FWIW, I would try running lockstat on the box. (My supposition is that > >> the > >> delay is due to a lock. That could be incorrect. Lockstat may provide > >> some > >> clue as to whether this is a line of inquiry worth pursuing.) > >> .... > > > > Thanks (again), Jonathan. > > > > So... I did that (during this morning's daily upgrade cycle); the > > results may be "of interest" to some. > ... > > http://www.catwhisker.org/~david/FreeBSD/head/lockstat/README > ... >=20 > According to the data you got the entire kernel "freezes" every 11-12 > seconds. So something way off is going on there. >=20 > Given that the bug seems to be reproducible I think it would be best > if you just bisected to the offending commit. >=20 > --=20 > Mateusz Guzik I had thought that the issue arose (as noted in my initial message) around 09 Nov, which was the day that my daily update on head went from r367484 to r367517. So for my inital attempt at a "before the breakage" kernel (& world), I "updated" sources to r367444, as I had updated to that revision on 07 Nov. Testing (again, via "ping albert") still showed most RTTs around 0.600 ms, but (around) every 11th packet, I would see an RTT in the 400 - 650 ms range -- around a factor of 1000(ish). So while I was not seeing RTTs in excess of 68 seconds (as I did at least one time for the initial message), I believe(d) that the underlying issue still existed at r367444. Lather, rinse, repeat -- for: * r367484 (from 08 Nov) * r367243 (from 01 Nov) * r366312 (from 01 Oct) * r363759 (from 01 Aug) At this point, I was questioning many assumptions, so I cleared /usr/obj completely and then updated back to r368143... and the issue remained. (The laptop was quite busy yesterday.) I definitely do NOT see anything like this running stable/12 (presently at r368181). I will try some experiments with another laptop (a newer one, for which the built-in mouse is detected weirdly, making it annoying to use for me -- but I can still ping from it). Peace, david --=20 David H. Wolfskill david@catwhisker.org "Make America Great Again," he said -- and THIS is what he did??!? See http://www.catwhisker.org/~david/publickey.gpg for my public key. --ENSCgXiFNPZM3e6F Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAl/E6YNfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 PcnAFAf/dGX09t6WqOBtK6mBs79PQcPiG+W5CpT14ZcBiVcmEg+ooUOAEfYdvvnA FD/Uxge1OPiN32Ezh5yNAz+hgfy23wPe8oLW9H1xOsJ2HoXnrmBrlycdniyXfsvB dKYDg6VfbEcbE9p5iVSTeYTOxz40n9iriD2SrunpiwFIvEhrCsCBhK0Y/rgrI6e+ lGN/Y6lQOwmiX3aZFj6t8LmPcgQ8HnTaemybtQ7gLC7UjfYSpODwcV8AlLeNoYKS 8pJGbEG+KEuJ59dn3aGqk6EG/oc6ylrWgRQCNkitPul6KzpTYMJ6mNXFJ0j5hVMN djM1V3msW+2/KbU6di7ugkfkm307Nw== =Vt8d -----END PGP SIGNATURE----- --ENSCgXiFNPZM3e6F--