Skip to contentSkip to conversation

Why is OE so slow?

DISCUSSION Gary Thomas 3 participants 5 messages May 20, 2010

lore
Share & tools
lore
#0 lore raw

I'm using OpenEmbedded to build Angstrom. Recent trees in the org.openembedded.dev branch have some 8370 recipes. When I initiate a build, it takes *forever* just to get started.

I have [reasonably] powerful build machines (4 way 3GHz Zeon) and it takes over 10 minutes CPU time just to reach 'Preparing runqueue'. It then takes an additional 10 minutes before it starts to execute the run queue. Of course, I have the Psyco JIT installed.

* What takes so long? Obviously, there are some processes in these steps which are non-linear. I also build Poky which has about 10% of the recipes (~850) and these steps are *much* more than 10 times as fast. In fact, building Poky, the first task in the run queue is usually started within 30 seconds...

Also, the "cache" (whatever it holds) does not affect these times very much. The times above are for a first run (rebuild the cache). If the cache does not have to be rebuilt, the first phase only takes 5.5 minutes (still very long), while the second phase (preparing the run queue) still takes 10+ minutes (maybe longer now that it has to consider partial results from the working build tree)

* Is there any way to tune/improve this? Is there something I've missed? Why don't the online builders, e.g. narcissus, suffer such delays?

I'd really like to use OE more, but having to wait 25 minutes just to get it going is [at least] off-putting.

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

I guess you're using bitbake_1.8.18.
Use bitbake_1.10.0.

Regards

Andrea

Quoted 3 lines · Gary Thomas

I'm using OpenEmbedded to build Angstrom.  Recent trees in the org.openembedded.dev branch have some 8370 recipes. When I initiate a build, it takes *forever* just to get started.

#2 lore raw
Quoted 2 lines · Andrea Adami

I guess you're using bitbake_1.8.18.
Use bitbake_1.10.0.

Where do I get it? It's not at http://download.berlios.de/bitbake/

Thanks

Quoted 4 lines · Gary Thomas
Quoted 3 lines

I'm using OpenEmbedded to build Angstrom. Recent trees in the org.openembedded.dev branch have some 8370 recipes. When I initiate a build, it takes *forever* just to get started.

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

2010/5/20 Gary Thomas <[email protected]>:

Quoted 6 lines · Andrea Adami
Quoted 3 lines

I guess you're using bitbake_1.8.18.
Use bitbake_1.10.0.

Where do I get it?  It's not at http://download.berlios.de/bitbake/

cgit.openembedded.org/bitbake

Quoted 20 lines

Thanks

Quoted 5 lines · Gary Thomas
Quoted 4 lines

I'm using OpenEmbedded to build Angstrom.  Recent trees in the org.openembedded.dev branch have some 8370 recipes. When I initiate a build, it takes *forever* just to get started.

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#4 lore raw
Quoted 9 lines · Frans Meulenbroeks

2010/5/20 Gary Thomas<[email protected]>:

Quoted 6 lines · Andrea Adami
Quoted 3 lines

I guess you're using bitbake_1.8.18.
Use bitbake_1.10.0.

Where do I get it? It's not at http://download.berlios.de/bitbake/

cgit.openembedded.org/bitbake

Thanks

The performance is *much* better - even rebuilding the cache, it dispatched the first task in around 6 minutes (compared to 22)

Sadly, Angstrom seems totally broken at the moment, but that's another issue.

Quoted 8 lines
Quoted 8 lines

Thanks

Quoted 5 lines · Gary Thomas
Quoted 4 lines

I'm using OpenEmbedded to build Angstrom. Recent trees in the org.openembedded.dev branch have some 8370 recipes. When I initiate a build, it takes *forever* just to get started.

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------