If I run a build of packages with poudriere via something like: poudriere bulk -j testjail -J2 www/chromium the build of chromium will determine how many CPUs the buildhost actually has and use that many, e.g. on my host kern.smp.cpus == 8, so the build of www/chromium will spawn 8 c++ instances from ninja root 48699 47.8 0.6 129208 99412 5 RJ 1:58PM 0:07.81 /usr/bin/c++ -cc1 -triple x86_64-unknown-freebsd11.0 -emit-obj -disable-free -main-file-name compiler.cc -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -relax root 48782 44.5 0.4 103540 73560 5 RJ 1:58PM 0:06.07 /usr/bin/c++ -cc1 -triple x86_64-unknown-freebsd11.0 -emit-obj -disable-free -main-file-name cpu-profiler.cc -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -r root 48707 42.4 0.5 103320 75752 5 RJ 1:58PM 0:06.71 /usr/bin/c++ -cc1 -triple x86_64-unknown-freebsd11.0 -emit-obj -disable-free -main-file-name conversions.cc -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -re root 48693 41.0 0.6 124484 96176 5 RJ 1:58PM 0:06.80 /usr/bin/c++ -cc1 -triple x86_64-unknown-freebsd11.0 -emit-obj -disable-free -main-file-name verifier.cc -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -relax root 48708 38.6 0.5 103300 76232 5 RJ 1:58PM 0:06.45 /usr/bin/c++ -cc1 -triple x86_64-unknown-freebsd11.0 -emit-obj -disable-free -main-file-name counters.cc -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -relax root 48850 28.7 0.3 82504 55912 5 RJ 1:58PM 0:03.59 /usr/bin/c++ -cc1 -triple x86_64-unknown-freebsd11.0 -emit-obj -disable-free -main-file-name debug.cc -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -relaxed- root 48843 28.1 0.3 82200 54676 5 RJ 1:58PM 0:03.64 /usr/bin/c++ -cc1 -triple x86_64-unknown-freebsd11.0 -emit-obj -disable-free -main-file-name date.cc -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -relaxed-a root 48878 22.5 0.3 69024 42080 5 R+J 1:58PM 0:02.64 /usr/bin/c++ -cc1 -triple x86_64-unknown-freebsd11.0 -emit-obj -disable-free -main-file-name albumcoverchoicecontroller.cpp -mrelocation-model static -mdisable-fp-el root 48848 22.0 0.3 77824 48912 5 RJ 1:58PM 0:02.82 /usr/bin/c++ -cc1 -triple x86_64-unknown-freebsd11.0 -emit-obj -disable-free -main-file-name dateparser.cc -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -rel root 48885 16.7 0.3 69460 42548 5 RJ 1:58PM 0:01.92 /usr/bin/c++ -cc1 -triple x86_64-unknown-freebsd11.0 -emit-obj -disable-free -main-file-name disassembler.cc -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -r root 48867 15.1 0.2 65500 40360 5 RJ 1:58PM 0:01.72 /usr/bin/c++ -cc1 -triple x86_64-unknown-freebsd11.0 -emit-obj -disable-free -main-file-name deoptimizer.cc -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -re root 48865 0.7 0.1 46636 18748 5 SJ 1:58PM 0:00.03 c++ -MMD -MF obj/v8/src/v8_base.deoptimizer.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD -DCR_CLANG_REVISION=21 root 48884 0.7 0.1 46636 18748 5 SJ 1:58PM 0:00.03 c++ -MMD -MF obj/v8/src/v8_base.disassembler.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD -DCR_CLANG_REVISION=2 root 48847 0.6 0.1 46636 18748 5 SJ 1:58PM 0:00.03 c++ -MMD -MF obj/v8/src/v8_base.dateparser.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD -DCR_CLANG_REVISION=218 root 48849 0.6 0.1 46636 18748 5 SJ 1:58PM 0:00.03 c++ -MMD -MF obj/v8/src/v8_base.debug.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD -DCR_CLANG_REVISION=218707 - root 48840 0.5 0.1 46636 18748 5 SJ 1:58PM 0:00.03 c++ -MMD -MF obj/v8/src/v8_base.date.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD -DCR_CLANG_REVISION=218707 -D root 48780 0.4 0.1 46636 18748 5 SJ 1:58PM 0:00.03 c++ -MMD -MF obj/v8/src/v8_base.cpu-profiler.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD -DCR_CLANG_REVISION=2 root 48692 0.3 0.1 46636 18744 5 SJ 1:58PM 0:00.01 c++ -MMD -MF obj/v8/src/compiler/v8_base.verifier.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD -DCR_CLANG_REVIS root 48698 0.3 0.1 46636 18744 5 SJ 1:58PM 0:00.01 c++ -MMD -MF obj/v8/src/v8_base.compiler.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD -DCR_CLANG_REVISION=21870 root 48702 0.3 0.1 46636 18744 5 SJ 1:58PM 0:00.01 c++ -MMD -MF obj/v8/src/v8_base.conversions.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD -DCR_CLANG_REVISION=21 root 48703 0.3 0.1 46636 18744 5 SJ 1:58PM 0:00.01 c++ -MMD -MF obj/v8/src/v8_base.counters.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD -DCR_CLANG_REVISION=21870 root 48876 0.0 0.1 46636 17836 5 S+J 1:58PM 0:00.02 /usr/bin/c++ -DBOOST_BIND_NO_PLACEHOLDERS -DBUILD_QXT_CORE -DBUILD_QXT_GUI -DMYGPO_EXPORT= -DNDEBUG -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO sbruno 48925 0.0 0.0 18856 2140 15 S+ 1:58PM 0:00.00 grep c++
I think bapt made a change to Mk/Uses/ninja.mk which might solve this?
Seems to be much happier now. Thanks.