Skip to contentSkip to conversation

knotty2

DISCUSSION Gary Thomas 2 participants 2 messages Aug 21, 2012 – Aug 22, 2012

lore
Share & tools
lore
#0 lore raw

I just updated to master:6ed4012fefee1294d98f2ea76163d44acf3d045 The new "knotty2" interface is very impressive and a welcome improvement from the old CLI :-)

One thing I noticed though - during much of the first phase(*) of a new build (where it's building the early native packages), I only get one task running at a time even though I've set BB_NUMBER_THREADS ?= "4" What needs to be so serialized?

Once it gets past this phase and into building the main recipes, it goes back to running more than one task at a time.

(*) Do these various build phases have names? Is this documented?

Thanks

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw
Quoted 9 lines · Gary Thomas

I just updated to master:6ed4012fefee1294d98f2ea76163d44acf3d045 The new "knotty2" interface is very impressive and a welcome improvement from the old CLI :-)

One thing I noticed though - during much of the first phase(*) of a new build (where it's building the early native packages), I only get one task running at a time even though I've set BB_NUMBER_THREADS ?= "4" What needs to be so serialized?

Quoted 4 lines

Once it gets past this phase and into building the main recipes, it goes back to running more than one task at a time.

(*) Do these various build phases have names? Is this documented?

This is probably the bit where its building pseudo-native. It effectively does:

bitbake pseudo-native
bitbake <original target>

so the pseudo-native bit is not very parallel. Its the lesser of several evils. I have ideas to improve this but they're invasive, complex and I'm not finding the time to look at that :(

Cheers,

Richard