From nobody Mon Jan 29 01:33:49 2024 X-Original-To: stable@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 4TNW6R4WBGz57mBv for ; Mon, 29 Jan 2024 01:33:51 +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 4TNW6Q5qdHz40sC for ; Mon, 29 Jan 2024 01:33:50 +0000 (UTC) (envelope-from david@catwhisker.org) Authentication-Results: mx1.freebsd.org; none Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.17.1/8.17.1) with ESMTP id 40T1XnPY006754; Mon, 29 Jan 2024 01:33:49 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.17.1/8.17.1/Submit) id 40T1XnfB006753; Sun, 28 Jan 2024 17:33:49 -0800 (PST) (envelope-from david) Date: Sun, 28 Jan 2024 17:33:49 -0800 From: David Wolfskill To: stable@freebsd.org Cc: Mark Millard Subject: Re: Should changes in src/usr.sbin/bhyve/ trigger an llvm rebuild? Message-ID: Reply-To: stable@freebsd.org Mail-Followup-To: stable@freebsd.org, Mark Millard References: <5BCB8F1A-B5D5-4506-87E1-8B26E713C6F5@yahoo.com> <8A79DE24-403E-4E73-82B6-0E5CF4F27604@yahoo.com> List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3+SN4ImVgPPy8oWz" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4TNW6Q5qdHz40sC X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US] --3+SN4ImVgPPy8oWz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 28, 2024 at 05:13:24PM -0800, Mark Millard wrote: > ... > > As it happens, I rather fumble-fingered the (intended) reboot on the 2nd > > laptop (and started another rebuild instead). > >=20 > > And I do these within script(1), as it's handy to have a record. > >=20 > > Note that this differes from the sequence you cite above, in that I > > failed to do the reboot. > >=20 > > So I powered it back up and -- without updating sources (or the local > > repo mirror, for that matter) -- did another rebuild. > >=20 >=20 > I'm having trouble identifying the detailed sequencing > being reported below. >=20 > Doing on one machine: > installworld > buidlworld > buildworld > buildworld > . . >=20 > Will only take large times for the first one > (potentially). I have not done that. > But doing: > installworld > buidlworld > installworld > buildworld > installworld > buildworld > . . >=20 > Can have each buildworld take large times > depending the the details involved. As documented at https://www.catwhisker.org/~david/FreeBSD/upgrade.html, each "build" is (essentially) the set of steps in src/UPDATING under "To rebuild everything and install it on the current system." starting with "make buildworld" up to (and including) "make delete-old" (without the "" step). > I need to understand more about what happened > before each buildworld on each machine to know > what sort of timestamp relationships are > involved for files. installworld can > significantly change various timestamp > relationships. I have placed a copy of the complete typescript at https://www.catwhisker.org/~david/FreeBSD/stable_14/build_typescript.txt. > > Here is an extract of some salient lines from the typescript file: > >=20 > > g1-48(14.0-S)[4] egrep ' built in |Installing .* (started|completed)|Re= moving old libraries| stable/14-n' s1 > > FreeBSD g1-48.catwhisker.org 14.0-STABLE FreeBSD 14.0-STABLE #38 stable= /14-n266551-63a7e799b32c: Sat Jan 27 11:40:05 UTC 2024 root@g1-48.catwh= isker.org:/common/S1/obj/usr/src/amd64.amd64/sys/CANARY amd64 1400506 14005= 06 > >>>> World built in 2351 seconds, ncpu: 8, make -j16 >=20 > Was a prior step (ignoring reboots, say) an > installworld of 63a7e799b32c, with no other > buidlworlds after the installworld? Yes; that's how stable/14-n266551-63a7e799b32c came to be the running system. Oh: perhaps of interest: I'm not using boot environments. All of this is with UFS (well, UFS2+soft updates). > (I'm wording for major steps or my description > the possibilities would get rather complicated > and large.) >=20 > >>>> Kernel(s) CANARY built in 898 seconds, ncpu: 8, make -j16 > >>>> Installing kernel CANARY completed on Sun Jan 28 12:25:27 UTC 2024 > >>>> Installing everything started on Sun Jan 28 12:25:57 UTC 2024 > >>>> Installing everything completed on Sun Jan 28 12:28:01 UTC 2024 > > FreeBSD g1-48.catwhisker.org 14.0-STABLE FreeBSD 14.0-STABLE #38 stable= /14-n266551-63a7e799b32c: Sat Jan 27 11:40:05 UTC 2024 root@g1-48.catwh= isker.org:/common/S1/obj/usr/src/amd64.amd64/sys/CANARY amd64 1400506 14005= 06 > >>>> World built in 116 seconds, ncpu: 8, make -j16 >=20 > Was a prior step (ignoring reboots, say) an > installworld of 63a7e799b32c, with no other > buidlworlds after the installworld? >=20 > Is the answer different here? No reboots -- as mentioned, I intended to reboot, but instead initiated the build sequence. > >>>> Kernel(s) CANARY built in 920 seconds, ncpu: 8, make -j16 > >>>> Installing kernel CANARY completed on Sun Jan 28 12:47:55 UTC 2024 > >>>> Installing everything started on Sun Jan 28 12:48:25 UTC 2024 > >>>> Installing everything completed on Sun Jan 28 12:50:01 UTC 2024 > > FreeBSD g1-48.catwhisker.org 14.0-STABLE FreeBSD 14.0-STABLE #40 stable= /14-n266554-2ee407b6068a: Sun Jan 28 12:39:17 UTC 2024 root@g1-48.catwh= isker.org:/common/S1/obj/usr/src/amd64.amd64/sys/CANARY amd64 1400506 14005= 06 > >>>> Removing old libraries > > FreeBSD g1-48.catwhisker.org 14.0-STABLE FreeBSD 14.0-STABLE #40 stable= /14-n266554-2ee407b6068a: Sun Jan 28 12:39:17 UTC 2024 root@g1-48.catwh= isker.org:/common/S1/obj/usr/src/amd64.amd64/sys/CANARY amd64 1400506 14005= 06 > >>>> World built in 124 seconds, ncpu: 8, make -j16 >=20 > Was a prior step (ignoring reboots, say) an > installworld of 63a7e799b32c with no other > buidlworlds after the, installworld? Where you see ">>>> Removing old libraries", there was a reboot just before that. And only then. > >>>> Kernel(s) CANARY built in 901 seconds, ncpu: 8, make -j16 > >>>> Installing kernel CANARY completed on Sun Jan 28 23:34:39 UTC 2024 > >>>> Installing everything started on Sun Jan 28 23:35:09 UTC 2024 > >>>> Installing everything completed on Sun Jan 28 23:37:16 UTC 2024 > > FreeBSD g1-48.catwhisker.org 14.0-STABLE FreeBSD 14.0-STABLE #41 stable= /14-n266554-2ee407b6068a: Sun Jan 28 23:26:10 UTC 2024 root@g1-48.catwh= isker.org:/common/S1/obj/usr/src/amd64.amd64/sys/CANARY amd64 1400506 14005= 06 > >>>> Removing old libraries > > g1-48(14.0-S)[5] > >=20 > > (The ">>> Removing old libraries" is an artifact from "make > > delete-old-libs", which I do on the first reboot after a build.) > >=20 > > If we just look at the "make buildworld" times, we see: > >=20 > >>>> World built in 2351 seconds, ncpu: 8, make -j16 > >>>> World built in 116 seconds, ncpu: 8, make -j16 > >>>> World built in 124 seconds, ncpu: 8, make -j16 > >=20 > > I suggest that -- within *this* "experiment's" error -- 116 sec is not > > significantly different from 124 sec, but that 2351 sec is significantly > > different from either. > >=20 > > .... >=20 >=20 >=20 > =3D=3D=3D > Mark Millard > marklmi at yahoo.com > .... Peace, david --=20 David H. Wolfskill david@catwhisker.org Do these ends really justify those means? See https://www.catwhisker.org/~david/publickey.gpg for my public key. --3+SN4ImVgPPy8oWz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQSTLzOSbomIK53fjFliipiWhXYx5QUCZbcAfV8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0OTMy RjMzOTI2RTg5ODgyQjlEREY4QzU5NjI4QTk4OTY4NTc2MzFFNQAKCRBiipiWhXYx 5XMZAP48Ad/ZwW/cVL/0RynKNsjSWjuXtGZg4wilF70umLlJkgEA/3OWvM1Rx99H WTldgTXIqFFJpWNRkZ07g1RrLMiewQc= =hmcJ -----END PGP SIGNATURE----- --3+SN4ImVgPPy8oWz--