[bitbake-devel] [PATCH 2/2] runqueue: Introduce load balanced task spawning

Alexander Kanavin alex.kanavin at gmail.com
Wed Aug 15 16:26:22 UTC 2018


2018-08-15 17:01 GMT+02:00 Andreas Müller <schnitzeltony at gmail.com>:
> 2. Quadratic explosion: I think it you should reduce number of
> parallel bitbake threads. From what I have seen: When running heavy
> compiles with -j = number-of-cores it takes only 2-3 do_compiles to
> have CPU load at constant ~100%. I think this should be independent of
> number of cores. Try 4-5 parallel bitbake threads - I bet that speeds
> up your builds and reduces swap floods.

What about the situations where bitbake is mostly busy with other
things than do_compile, or when do_compile takes only a small fraction
of the recipes build time? Particularly do_configure can be
notoriously slow and single-threaded, so I do want to run those with
all available cores.

Alex



More information about the bitbake-devel mailing list