From owner-freebsd-current@freebsd.org Sun Nov 29 14:12:05 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 0AB504A336B for ; Sun, 29 Nov 2020 14:12:05 +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 4CkVfr5FZ6z4fth for ; Sun, 29 Nov 2020 14:12:04 +0000 (UTC) (envelope-from david@catwhisker.org) Received: by mailman.nyi.freebsd.org (Postfix) id B42614A336A; Sun, 29 Nov 2020 14:12:04 +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 B3ED94A34DB for ; Sun, 29 Nov 2020 14:12:04 +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 4CkVfr3KCgz4gDj for ; Sun, 29 Nov 2020 14:12:04 +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 0ATEBvmw002558; Sun, 29 Nov 2020 14:11:57 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.16.1/8.16.1/Submit) id 0ATEBvuF002557; Sun, 29 Nov 2020 06:11:57 -0800 (PST) (envelope-from david) Date: Sun, 29 Nov 2020 06:11:57 -0800 From: David Wolfskill To: Jonathan Looney Cc: current@freebsd.org Subject: Re: Laptop exhibits erratic responsiveness Message-ID: Mail-Followup-To: David Wolfskill , Jonathan Looney , current@freebsd.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="iXykAK5xzccJVsxh" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4CkVfr3KCgz4gDj 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: Sun, 29 Nov 2020 14:12:05 -0000 --iXykAK5xzccJVsxh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 so= me > 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. I have placed copies of the typescripts in: http://www.catwhisker.org/~david/FreeBSD/head/lockstat/ I also scribbled a "README" in that same directory (though it doesn't seem to show up in the listing); it may be accessed via http://www.catwhisker.org/~david/FreeBSD/head/lockstat/README My prior message in this thread showed what I saw during a "ping albert" =66rom the laptop while it was running head -- most RTTs were around 0.600 ms, but some were notably longer, with at least one that was over 68 seconds. So I did a "lockstat ping -c 64 albert" while the laptop was running stable/12@r368123 (as a reference point); it is probably boring. :-} Then (this morning), I tried a simple "lockstat sleep 600" on the laptop while it was running head@r368119 (and building head@r368143); we see the "lockstat" output in the "lockstat_head" file. It then occurred to me that trying a "lockstat ping albert" might be useful, so I fired up "lockstat ping -c 600 albert" -- which started up OK, and demonstrated some long RTTs about every 11 packets or so, but we see thing come to a screeching halt with: =2E.. 64 bytes from 172.16.8.13: icmp_seq=3D534 ttl=3D63 time=3D0.664 ms lockstat: dtrace_status(): Abort due to systemic unresponsiveness 64 bytes from 172.16.8.13: icmp_seq=3D535 ttl=3D63 time=3D9404.383 ms and we get no lockstat output. :-/ Finally, as another "control," I ran similar commands from freebeast, while it was running head@r368119 (and building head@r368143). Those results are in the "lockstat_freebeast" file. 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. --iXykAK5xzccJVsxh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAl/DrC1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 PcnZmgf9GXyejsRt5mK2SvaMBQg3KrTOjz0omSksa+LP7rbPnNmetzOHQtDOqTkb k7thfvAlkgpGlZxBJjpbLURMpezAmgg+kFYyyV1q3Jcy0lpuwNEua2fpff/NbgWu WWHGTc/TsJVm+jGJQymqiU/VUt1DbaoUoRRopOHTmwSDzeRkdWOO7R5gAEdzg8Ny x9l7vxoTpRD3kj6arP2w7XxGjkdS6ZrI7ZpXHcdFlhlU4GZynSxFTitQlJDcK+de lZKnEy0kjygPl8Ff37DBDcc6R0ShVVigtamR8Kpx9sCABYuGjNxFzxjGMm7Cw6bI QFjZQYAShPwetJ9Fd7uUNY9O0ZdVHA== =alCB -----END PGP SIGNATURE----- --iXykAK5xzccJVsxh--