🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #1529

Bug#1149937: ifcopenshell: Please consider reducing the value of --required-mem

#1529
From: Aurelien Jarno
Date: Tue, 20 Oct 2026 21:40
33 lines
3074 bytes
Hi,

On 2026-10-04 17:02, Aurelien Jarno wrote:
> Source: ifcopenshell
> Version: 0.8.1+dfsg1-9
> Severity: normal
> 
> Hi,
> 
> Starting with ifcopenshell version 0.8.1+dfsg1-9, the package use
> guess-concurrency to limit parallel workers, which is a good move.
> However on all build daemons which currently have build it, it also has
> significantly increased the build time. Therefore it seems that the
> current value of 8G is not optimal:
> - 8G seems quite high, have you actually measured it? From a quick look
>   on the loong64 build, i never spotted it taking more than 3G

I did a full recording of the memory used by each compiler call during 
the build on an amd64 host. There is indeed one call at 7.7G.

There are a bit more than 800 calls, with only 5 calls above 4G and 25 
calls above 2G, with an average of 938M and a median of 885M.

The biggest calls by decreasing orders are 7.7G, 5.9G, 5.2G, 4.9G and 
4G. Therefore I think it makes sense to at least reduce --required-mem 
to "7.7G,5.9G", or if you do not like decimal numbers to "8G,6G"

Regards
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                     http://aurel32.net
Technical Details
Message-ID: <NQpIR-6Qy0-11@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
References: <NKw0G-3whX-7@gated-at.bofh.it> <NKw0G-3whX-7@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!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Aurelien Jarno <aurel32@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1149937: ifcopenshell: Please consider reducing the value of --required-mem
Date: Tue, 20 Oct 2026 23:40:01 +0200
Message-ID: <NQpIR-6Qy0-11@gated-at.bofh.it>
References: <NKw0G-3whX-7@gated-at.bofh.it> <NKw0G-3whX-7@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Oct 20 21:37:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.699
Reply-To: Aurelien Jarno <aurel32@debian.org>, 1149937@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-science-maintainers@lists.alioth.debian.org
X-Debian-Pr-Message: followup 1149937
X-Debian-Pr-Package: src:ifcopenshell
X-Debian-Pr-Source: ifcopenshell
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/2.4.1 (2026-07-04)
X-Debian-User: aurel32
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1997821
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 33
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: 1149937@bugs.debian.org
X-Original-Date: Tue, 20 Oct 2026 23:34:09 +0200
X-Original-Message-ID: <atfeUamYGaoPFNmG@aurel32.net>
X-Original-References: <179112614776.1398184.14450061793417015051.reportbug@ohm.local> <179112614776.1398184.14450061793417015051.reportbug@ohm.local>