Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Apr 2025 08:07:32 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Gleb Popov <6yearold@gmail.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>, FreeBSD Mailing List <freebsd-ports@freebsd.org>, Baptiste Daroussin <bapt@FreeBSD.org>
Subject:   Re: UPDATE: pkg 2.1.0 looks to be making official bulk builds of packages take much longer [a specific package with large time factor]
Message-ID:  <F82E31E6-D9C1-461A-B3C8-4DB5D491C000@yahoo.com>
In-Reply-To: <CALH631mm8cdL1A9TaumnENk9OGCm=PEfMDH6uSvjKaUDuzg8Hw@mail.gmail.com>
References:  <8E2FBAD3-EF6F-4D99-A340-21F8FD19AE0F@yahoo.com> <FA9C7841-6D61-4285-AC6D-46328CBC56D2@yahoo.com> <C7BBEC76-228F-4F9E-A5F9-86E9F53372FD@yahoo.com> <D3C2F75D-838B-47E9-B125-71104A3C16EA@yahoo.com> <CD66A7B2-422B-40FE-BB17-145032DBA46F@FreeBSD.org> <84FBBAF8-025E-4B9D-9797-51735567A8DB@yahoo.com> <B295D1CB-E47D-4359-A79A-986213E7AFCE@yahoo.com> <366E27FD-FA5B-4BF8-B6C4-6C495DB289C5@yahoo.com> <CALH631mm8cdL1A9TaumnENk9OGCm=PEfMDH6uSvjKaUDuzg8Hw@mail.gmail.com>

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

On Apr 6, 2025, at 21:11, Gleb Popov <6yearold@gmail.com> wrote:

> On Mon, Apr 7, 2025 at 2:44 AM Mark Millard <marklmi@yahoo.com> wrote:
>> 
>> So: 2 min 31 sec or so difference for overall somewhat over an
>> hour, i.e., 151 sec or so. That is under 1 sec per package
>> built.
> 
> If the slowdown comes from handling shlib provides/requires, then this
> obviously depends on the amount of dependencies of a given package. It
> might be as fast as before for a package with just handful of required
> shlibs, but get exponentially worse for giant ports with a lot of
> deps.

Looks like a good example of a large factor in the overall time taken
(a factor of around 8 here) for a specific package is beefy17's
recently finished:

build of audio/gnome-metronome | gnome-metronome-1.3.0_16 ended at Mon Apr  7 13:58:19 UTC 2025
build time: 00:45:07

from log:

https://pkg-status.freebsd.org/beefy17/data/main-i386-default/pad39cc941617_s7a490725045/logs/gnome-metronome-1.3.0_16.log

I saw this showing lib-depends as the stage with a large time figure
but it had finished when I later went to looks at the log file.

Compare that to, say, the 2025-Mar-10 :

https://pkg-status.freebsd.org/beefy17/data/main-i386-default/p9229caa5b2ac_s780a4667bbd/logs/gnome-metronome-1.3.0_16.log

reporting just:

build of audio/gnome-metronome | gnome-metronome-1.3.0_16 ended at Mon Mar 10 17:46:22 UTC 2025
build time: 00:05:36

There is also (beefy18 instead):

https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/pad39cc941617_s7a490725045/logs/gnome-metronome-1.3.0_16.log

with:

build of audio/gnome-metronome | gnome-metronome-1.3.0_16 ended at Mon Apr  7 11:49:09 UTC 2025
build time: 00:36:13

https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p9229caa5b2ac_s780a4667bbd/logs/gnome-metronome-1.3.0_16.log

shows:

build of audio/gnome-metronome | gnome-metronome-1.3.0_16 ended at Tue Mar 11 12:36:53 UTC 2025
build time: 00:04:10

That is a little over a factor of 8.6 .

For reference:

beefy17: Queued 36539 Built 29757 Remaining 4657 Elapsed 222:10:58 vs. 74:19:29
beefy18: Queued 36539 Built 31255 Remaining 4685 Elapsed 222:11:05 vs. 96:28:10

("vs. ???" shows maximum-Elapsed for a completed build not involving pkg 2.1.0)

beefy17 looks to have an overall Elapsed-factor of slightly under 3.0 so far.
beefy18 looks to have an overall Elapsed-factor of slightly over  2.3 so far.

Looks like these 2 will be the first ones to complete a from-scratch build
based on use of pkg 2.1.0 .

===
Mark Millard
marklmi at yahoo.com



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F82E31E6-D9C1-461A-B3C8-4DB5D491C000>