From owner-freebsd-current@freebsd.org Mon Nov 30 20:48:56 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 F3BA34A7173 for ; Mon, 30 Nov 2020 20:48:56 +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 4ClHQJ50t2z4drt for ; Mon, 30 Nov 2020 20:48:56 +0000 (UTC) (envelope-from david@catwhisker.org) Received: by mailman.nyi.freebsd.org (Postfix) id A9BB24A7172; Mon, 30 Nov 2020 20:48:56 +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 A844E4A7171 for ; Mon, 30 Nov 2020 20:48:56 +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 4ClHQJ2Q59z4dxd; Mon, 30 Nov 2020 20:48:55 +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 0AUKml0X022414; Mon, 30 Nov 2020 20:48:47 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.16.1/8.16.1/Submit) id 0AUKmlmC022413; Mon, 30 Nov 2020 12:48:47 -0800 (PST) (envelope-from david) Date: Mon, 30 Nov 2020 12:48:47 -0800 From: David Wolfskill To: current@freebsd.org Subject: Re: Laptop exhibits erratic responsiveness Message-ID: Reply-To: current@freebsd.org Mail-Followup-To: current@freebsd.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="lwqYMeKFau3B6yCE" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4ClHQJ2Q59z4dxd 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 20:48:57 -0000 --lwqYMeKFau3B6yCE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 30, 2020 at 05:21:28AM -0800, David Wolfskill wrote: > ... > FWIW, the copy of the laptop's "head" kernel config in > http://www.catwhisker.org/~david/FreeBSD/head/CANARY is current. >=20 > And the only difference between the stable/12 config and the head config > is: >=20 > g1-48(12.2-S)[3] diff -u FreeBSD-1{2,3}/CANARY > --- FreeBSD-12/CANARY 2019-07-08 10:43:51.940026000 -0700 > +++ FreeBSD-13/CANARY 2015-03-22 10:03:41.000000000 -0700 > @@ -342,7 +342,7 @@ > # from some parts of the kernel. As this makes everything more noisy, > # it is disabled by default. > # > -# options DIAGNOSTIC > +options DIAGNOSTIC > =20 > # > # REGRESSION causes optional kernel interfaces necessary only for regres= sion >=20 > Hmmm... so I suppose that re-disbling DIAGNOSTIC might be a reasonable > thing to try, as well, yeah...? :-} > .... Well, success(ish): * I was able to reproduce the observed effect using the newer laptop, running a kernel from 14 Nov (thus, r367674): * I was able to reproduce the observed effect using the newer laptop, running a kernel from 14 Nov (thus, r367674). (I had cloned the old laptop's disk drive and slapped it inito the newer laptop.) * I then updated the kernel config file ("CANARY") to comment out the DIAGNOSTIC option, then rebuilt/installed the kernel. * Upon reboot, "ping albert" showed remarkably consistent RTTs (compared to before) -- e.g., the initial example I posted showed: --- albert.catwhisker.org ping statistics --- 67 packets transmitted, 67 packets received, 0.0% packet loss round-trip min/avg/max/stddev =3D3D 0.428/1024.248/68482.244/8303.513 ms On the newer laptop after the above change, I saw: --- albert.catwhisker.org ping statistics --- 30 packets transmitted, 30 packets received, 0.0% packet loss round-trip min/avg/max/stddev =3D 0.463/0.574/0.671/0.054 ms Please especially note the maxima & standard deviations. FWIW, I do have (in /boot/loader.conf): # Try to reduce WITNESS overhead vm.debug.divisor=3D4 (which I also utilize at work). I suppose I will be commenting out that DIAGNOSTIC option now.... :-} Peace, david --=20 David H. Wolfskill david@catwhisker.org There's no point in asking Trump "Sir, have you no decency?" -- it is already well established that neither he nor his enablers have any. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --lwqYMeKFau3B6yCE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAl/FWq9fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 PcmaAAf9EYdq5N4UBXJXDsdkeu2aEqxQRPb4BPnRFTUaB7pnlQVcJF/U01WyfRaK dAidNDi4IWd0IOghLzMmxLKskYtfQB7BKh+LGqT7hyuccKM9UPRheWINr26XmRtM k46hq0lfu6bteJFnD4Q51paGDRthKsVZJ5tYoUdnlwiZdSXYcIB656B5h+dsBfGc YXUXDy9Cgz4vEZjBwg9zVG5UP049MQ87iCmcCUzDNlqP6tj/CwxkCr7c7PSdPxP+ gfacliZhNgWQB3ilmKMq3KTJ/8WQ0f5kuZ4F1yHr2t1ueLybl1dDhGGNrk7ZfDwD ZncuYnmSoE0bG+u9tVGuCsekpLxZYA== =Tp0m -----END PGP SIGNATURE----- --lwqYMeKFau3B6yCE--