🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #1403

Bug#1149923: marked as done (vtk9: Please revert the usage of guess_concurrency)

#1403
From: Debian Bug Tracking System
Date: Fri, 23 Oct 2026 05:00
278 lines
13870 bytes
This is a multi-part message in MIME format...

------------=_1792731062-3068538-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Fri, 23 Oct 2026 06:49:50 +0200
with message-id <atrnaiE2xdjI_Dza@aurel32.net>
and subject line Re: Bug#1149923: vtk9: Please consider reducing --require-=
mem for guess_concurrency to 3.8G
has caused the Debian Bug report #1149923,
regarding vtk9: Please revert the usage of guess_concurrency
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


--=20
1149923: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1149923
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1792731062-3068538-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 4 Oct 2026 10:38:36 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-109.4 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
	SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,
	XMAILER_REPORTBUG autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 15; hammy, 119; neutral, 34; spammy,
	1. spammytokens:0.962-+--reserved
	hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
	0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
	0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: <aurel32@debian.org>
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:45812)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <aurel32@debian.org>)
	id 1xDJc4-009zfe-2N
	for submit@bugs.debian.org;
	Sun, 04 Oct 2026 10:38:36 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
	s=smtpauto.stravinsky; h=X-Debian-User:Date:Message-ID:Subject:To:From:
	Content-Transfer-Encoding:MIME-Version:Content-Type:Reply-To:Cc:Content-ID:
	Content-Description:In-Reply-To:References;
	bh=G415xoJ1r88x47emDWGCCYO3+5aA4AKW4ZoXFLhKo6A=; b=uKMrGJ6hv3beUsddByaKCktIkP
	OqTqFIIysSKHDmDQGlJYWA70WlRyM3aBBVVt1JljFQRQBbSeCckjPU8jOBSPSOig3ufpiigOV1gbt
	zd1IsGY516NmNc327kf+BPUY40lKdkSP50UPDocym14vqxB8HaOk2eD/CM8RCaVQJMrxlCBB1HyJ6
	RtiwW113qsLWyvQDecjnzzK9A9JgQK7MDivA1Q0g8OB0Ebf/0XgXYGMGvSd6ZHgTACjVt56nUdhEd
	/rHAnhM3e+P22H3MT+fKhWOgnBv1UCsGiFUuyLIdlNxIspQ18v516NV0dLxR61VJCE6uqv4NELsZb
	IDo3IX9A==;
Received: from authenticated-user
	by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <aurel32@debian.org>)
	id 1xDJc3-002MJb-0t
	for submit@bugs.debian.org;
	Sun, 04 Oct 2026 10:38:35 +0000
Received: from authenticated user
	by hall.aurel32.net with esmtpsa  (TLS1.3)  tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
	(Exim 4.98.2)
	(envelope-from <aurel32@debian.org>)
	id 1xDJc2-00000005CMx-3kib;
	Sun, 04 Oct 2026 12:38:34 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Aurelien Jarno <aurel32@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: vtk9: Please consider reducing --require-mem for guess_concurrency to 3.8G
Message-ID: <179111031454.1236482.9024568909533873428.reportbug@ohm.local>
X-Mailer: reportbug 13.2.0+nmu1
Date: Sun, 04 Oct 2026 12:38:34 +0200
X-Debian-User: aurel32
Delivered-To: submit@bugs.debian.org

Source: vtk9
Version: 9.6.2+ds-1
Severity: normal

Hi,

Starting with vtk9 9.6.2+ds-1, the package use guess-concurrency to
limit parallel workers, which is a good move. However on some build
daemons, it significantly increased the build time.

One of the reason is bug#1149922. The other reason is that hardware or
VMs usually use an integer number of GiB for the RAM (and often a power
of 2). There is always a bit of RAM lost (kernel code or data, reserved
memory, ...) and this is enough to get just below the 4G per core.

Would you consider reducing the required memory to 3.8G (guess-concurrency accepts
floating numbers) to account for that?

Thanks
Aurelien

------------=_1792731062-3068538-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1149923-done) by bugs.debian.org; 23 Oct 2026 04:49:55 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-113.5 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
	HAS_BUG_NUMBER,PGPSIGNATURE,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,
	USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 12; hammy, 150; neutral, 172; spammy,
	0. spammytokens:
	hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
	0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
	0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: <aurel32@debian.org>
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:47758)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <aurel32@debian.org>)
	id 1xK7E4-00Cs6n-1D
	for 1149923-done@bugs.debian.org;
	Fri, 23 Oct 2026 04:49:55 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
	s=smtpauto.stravinsky; h=X-Debian-User:In-Reply-To:Content-Type:MIME-Version:
	References:Message-ID:Subject:Cc:To:From:Date:Reply-To:
	Content-Transfer-Encoding:Content-ID:Content-Description;
	bh=zys2HtYb4Y3kQfIBgUcCqRnye6JuHhWnRcflMt3lVak=; b=q5EXPwqGa/kn09LMXp3Ec0ZC/g
	3OkVzXMcg3V4iOZdcZjGxASgE88aecTAgujwp3MS8EBPDQVuOPXnbKSOLJrMQcsup/yaXzlbklLDJ
	i9GyEJbHDadhGazGwYDcf/U1haNSCbaW7osrFfYNbtpUrB7slA+y6PEVdjcbTO6Y6cAsikRENX/Sn
	mpZhlSsKIZH9GLlL+lWOJ/FP3KjoKydeIsAVVYMvBPFvzdRYdgZbfvTz90boYh3gcVEyVWGPqEwbp
	oLXMfVZDrF8YtoBP8u0DaZasxQGsVwjWCVcZ5sVo/zcelqcetFMqyk4OtSfOhEmC9rur53PF8wfqF
	aDf+HOKg==;
Received: from authenticated-user
	by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <aurel32@debian.org>)
	id 1xK7E2-002w3K-0k
	for 1149923-done@bugs.debian.org;
	Fri, 23 Oct 2026 04:49:54 +0000
Received: from authenticated user
	by hall.aurel32.net with esmtpsa  (TLS1.3)  tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
	(Exim 4.98.2)
	(envelope-from <aurel32@debian.org>)
	id 1xK7E0-0000000EsnT-027L;
	Fri, 23 Oct 2026 06:49:52 +0200
Date: Fri, 23 Oct 2026 06:49:50 +0200
From: Aurelien Jarno <aurel32@debian.org>
To: Maximiliano Curia <maxy@gnuservers.com.ar>,
	1149923-done@bugs.debian.org
Cc: Adrian Bunk <bunk@debian.org>
Subject: Re: Bug#1149923: vtk9: Please consider reducing --require-mem for
 guess_concurrency to 3.8G
Message-ID: <atrnaiE2xdjI_Dza@aurel32.net>
References: <179111031454.1236482.9024568909533873428.reportbug@ohm.local>
 <asucmhnxZMoEWA81@localhost>
 <179111031454.1236482.9024568909533873428.reportbug@ohm.local>
 <as1SiPqc5sGKXaXY@hecuba.gnuservers.com.ar>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="xxz9980LrGe/6BWV"
Content-Disposition: inline
In-Reply-To: <as1SiPqc5sGKXaXY@hecuba.gnuservers.com.ar>
User-Agent: Mutt/2.4.1 (2026-07-04)
X-Debian-User: aurel32

--xxz9980LrGe/6BWV
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

On 2026-10-12 23:35, Maximiliano Curia wrote:
> =C2=A1Hola Adrian!
>=20
> El 2026-10-11 a las 17:26 +0300, Adrian Bunk escribi=C3=B3:
> > I'm raising the severity to serious:
> > This change has increased the build time on the slower riscv64 buildds
> > from 4 days to 6 days, it has to be reverted.
>=20
> I wasn't aware that a build taking longer than before is an RC bug, but
> I agree that we should work on this issue and fix it as soon as
> possible.
>=20
> > Given the near-perfect scaling of a 2.76x build time increase on the
> > same i386 buildd where this guess-concurrency use reduced the number of
> > cores used by a factor of 3, even 2G would likely still harm build time
> > on some architectures.
> >=20
> > It is harmful to use guess-concurrency unless:
> > 1. it is fixing an actual problem that has been observed, and
> > 2. the numbers have been properly measured and not just guessed
>=20
> I only added guess-concurrency after running into OOM issues over and
> over while working on the vtk9 package. This happened both on my local
> machine and on the debusine builders I was using to test, because in
> both cases there were a high number of processors and not as much memory
> as the build required (in my case it was 16 processors and 64 GB of
> RAM).
>=20
> So, it is indeed fixing an actual problem.
>=20
> You can see that the package that was uploaded to experimental didn't
> manage to build on riscv64 and it's almost certainly for this reason
> (when the build dies due to OOM there are no logs left behind to
> actually verify this).
>=20
> Now, regarding the measuring, it's true that in the package I uploaded
> to unstable I had added a ballpark estimation and that I didn't take
> into account that it would be a very different number for 32bits. I have
> now taken a much more accurate measure and I've found that:
>=20
> - In 64bit architectures, the maximum amount of memory that a single
>   process takes is slightly over 6 GB. - In 64bit architectures, the
> time-weighted average amount of memory is 1 GB.
> - In 32bit architectures, the maximum amount of memory is slightly over 2=
 GB
> - In 32bit architectures, the time-weighted average amount of memory is 5=
50 MB.
> - In both cases, the memory consumption is quite skewed, some processes
>   take very little memory and very little CPU time, while others take a
>   lot of memory and time.
>=20

Thanks for doing that. The above changes combined to the fix done on the=20
guess-concurrency side (#1149922), 4 jobs are used again on the riscv64=20
build daemons. There is still less jobs than before used on amd64 and=20
i386, but the resulting build time is comparable.

I am therefore closing the bug.

Regards
Aurelien

--=20
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                     http://aurel32.net

--xxz9980LrGe/6BWV
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEUryGlb40+QrX1Ay4E4jA+JnoM2sFAmra52oACgkQE4jA+Jno
M2sXKQ/+PxOzjVvMsqRGrwsAlkcJQQ02bNaZl8boXDgnVpB4gmrM3BbpiIjdKzTX
WvDzQPTYC+Vctz5MbSJfyfpKBlZvQjDyAzng8W0b7HjuBy18DF8sT2+/vAn/Dc6i
9+E/HX2GDngfRGhyjDv4rGqWK0NeSZKf7tTLXDSwN4NEd0EDh69UFcWJgxRkLwpk
cwnpdLB+G4Et18cZiQWixBghXlT8MF7B+MaVSuAtk4bXEg1pnV87J08y6tXMwJjl
O5zo0oMusB7AL4YJ2rfe63jUtTbblb+hnEpXfEbqsUW2DhZV5VDM8HOko6hscJUA
v2f610MG/7pJ7ktpje3hFb9GT3lgy1Dc7KV/wLUx9WtI4k1MZZwSY+7WdhDQ64Vp
3cqSA9yawIQPZiBjv5wymBliXS13HY0XEenWj094y2daNFTvh3241j0Gu1RDNP4P
tSCm6IaSCF61Ixbc50e9Ng+p7TOl9LsiVaVskeHzKJO9jbj7pVizpmWki01EBDGT
JVZSfVey35/0su/PqKTJioNLBgSjkNNzGGz3WqbylMYl0WIa7x3NwpM49uvD5Sj2
mYpJIWOPvz4b5Qbe/NgbJs71eLiKFyJxGetYAbI7+knKuGop8+DJNYIyZrdpKUli
PaI1q1/ceX1yGxiKZmhYRgrd1QcFd1DVsDsAY0eA2nIsETYTLbQ=
=f2AY
-----END PGP SIGNATURE-----

--xxz9980LrGe/6BWV--
------------=_1792731062-3068538-0--
Technical Details
Message-ID: <NRfxL-7kpw-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NRfxL-7kpw-5@gated-at.bofh.it> <NKrX3-3tXU-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: "Debian Bug Tracking System" <owner@bugs.debian.org>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1149923: marked as done (vtk9: Please revert the usage of  guess_concurrency)
Date: Fri, 23 Oct 2026 07:00:01 +0200
Message-ID: <NRfxL-7kpw-3@gated-at.bofh.it>
References: <NRfxL-7kpw-5@gated-at.bofh.it> <NKrX3-3tXU-1@gated-at.bofh.it>
X-Original-To: Aurelien Jarno <aurel32@debian.org>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Fri Oct 23 04:51:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -2
MIME-Version: 1.0
X-Mailer: MIME-tools 5.510 (Entity 5.510)
X-Debian-Pr-Message: closed 1149923
X-Debian-Pr-Package: src:vtk9
X-Debian-Pr-Keywords: ftbfs
X-Debian-Pr-Source: vtk9
Reply-To: 1149923@bugs.debian.org
Content-Type: multipart/mixed; boundary="----------=_1792731062-3068538-0"
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/835607
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 278
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 23 Oct 2026 04:51:02 +0000
X-Original-Message-ID: <handler.1149923.D1149923.17927309953067943.ackdone@bugs.debian.org>
X-Original-References: <atrnaiE2xdjI_Dza@aurel32.net>
 <179111031454.1236482.9024568909533873428.reportbug@ohm.local>