Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jan 2024 17:33:49 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        stable@freebsd.org
Cc:        Mark Millard <marklmi@yahoo.com>
Subject:   Re: Should changes in src/usr.sbin/bhyve/ trigger an llvm rebuild?
Message-ID:  <ZbcAfTSR7zfsOaDj@albert.catwhisker.org>
In-Reply-To: <A20E1EB3-1D51-44FF-840F-69DB41C5CEA7@yahoo.com>
References:  <EAD76C2C-065E-4EFA-901F-1C0FD13FFC65.ref@yahoo.com> <EAD76C2C-065E-4EFA-901F-1C0FD13FFC65@yahoo.com> <ZbZ2u9FlUhvb1orU@albert.catwhisker.org> <5BCB8F1A-B5D5-4506-87E1-8B26E713C6F5@yahoo.com> <ZbbPyYNtF6prkdtd@albert.catwhisker.org> <B1231700-D7A1-4190-AA2A-495CEA954535@yahoo.com> <8A79DE24-403E-4E73-82B6-0E5CF4F27604@yahoo.com> <Zbbrr6fh3sQ_VX-8@albert.catwhisker.org> <A20E1EB3-1D51-44FF-840F-69DB41C5CEA7@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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
"<reboot in single user>" 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZbcAfTSR7zfsOaDj>