freebsd / poudriere

Port/Package build and test system
https://github.com/freebsd/poudriere/wiki
BSD 2-Clause "Simplified" License
381 stars 161 forks source link

ALLOW_MAKE_JOBS=YES has no influence on the number of processes spawned #867

Open devosalain opened 3 years ago

devosalain commented 3 years ago

Only one make process per parallel building-port is spawned.

Poudriere.conf: PARALLEL_JOBS=15 PREPARE_PARALLEL_JOBS=23 ALLOW_MAKE_JOBS=YES

make.conf: MAKE_JOBS_NUMBER=15

brd commented 3 years ago

What port? What hash of the ports tree? What version of poudriere?

bdrewery commented 3 years ago

I asked more questions over in https://github.com/freebsd/poudriere/issues/828#issuecomment-837130619

devosalain commented 3 years ago

Sorry I did not answered. I''ll perform some tests and come back to you.

devosalain commented 3 years ago

compiling qt5-webengine takes long, more than 15 hours on an 8-core CPU ps -H | grep "c\+\+" shows only one thread.

devosalain commented 3 years ago

Compiling simultaneous: www/webkit2-gtk3 databases/mongodb44 www/qt5-webkit www/qt5-webengine

This while 43 packages are queued and waiting on the depedency the CPU usage drops. The only explanation I can find is the computer is waiting on IO

grahamperrin commented 3 years ago

https://github.com/freebsd/poudriere/issues/867#issue-883451036

make.conf: MAKE_JOBS_NUMBER=15

570