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
[email protected]                     http://aurel32.net

Reply via email to