Hi,

Le 2024-12-25 12:27, Helmut Grohne a écrit :
   --require-mem=3G

Could it be possible to provide multiple values there to account for the fact that for some builds the overall RAM requirement for the first worker is significantly greater than the additional RAM required by additional workers?

e.g. --require-mem=5G,2G
-> 1 worker if available RAM < 7G, then 2 possible workers if RAM < 9G, then 1 possible additional worker for every additional 2G of RAM

e.g.2 (wishlist for fine tuning) --require-mem=5G,2G,,,1G
-> ... then 5 possible workers is RAM < 14G and 1 possible additional worker for every additional 1G of RAM

Also, an option to report only actual cores and not threads/vcpus would be very welcome as there are usually no gains, sometimes a net performance degradation, and always a higher resources consumption (RAM) trying to parallelize builds over more workers than available CPU cores.

Cheers,

--
Julien Plissonneau Duquène

Reply via email to