[OE-core] Some further build dependency timings
richard.purdie at linuxfoundation.org
Fri Oct 14 13:34:53 CEST 2011
On Wed, 2011-10-12 at 15:49 +0100, Richard Purdie wrote:
> On Wed, 2011-10-12 at 09:40 -0500, Mark Hatle wrote:
> > It would be interesting to determine first off, if there is anywhere pseudo
> > should be running that it currently isn't. And second if this is simply due to
> > LD_PRELOAD time, or if enabling the jump table is the culprit.
> > One potential optimization, when PSEUDO_DISABLE=1 is to only setup the jump
> > table entries for fork/exec items.
> Agreed, I don't know where the time is being spent exactly at this
> point. I do know we execute an absolute ton of exec/fork calls so
> removing any overhead from them will improve our speed though. This
> change means do_configure won't run with pseudo enabled for example
> which is a very exec heavy task.
So we did some tests, I thought I'd share the results:
base build config:
adding in the psuedo patches but not enabling (effectively jitter
enabling the lazy linking:
So the big win isn't the linking, its the unloading of pseudo when we
don't need it...
More information about the Openembedded-core