[poky] What's taking so long??
Joshua Lock
josh at openedhand.com
Thu Jan 20 07:58:23 PST 2011
On Thu, 2011-01-20 at 08:11 -0700, Gary Thomas wrote:
> My target platform/distro uses IPK and I have a local kernel
> recipe which is based on the pre linux-yocto recipe that was
> used by Poky. When I build & package the kernel, I have
> terrible performance - this is new, it used to be just fine.
>
> Here's what I mean. Building for my kernel and timing the
> various steps, e.g.
> % time bitbake virtual/kernel -c compile
>
> My kernel:
> compile 1m49s
> deploy 0m16s
> populate_sysroot 0m38s
> package 23m20s
>
> Just to compare, using OTS Poky for BeagleBoard:
> compile 5m07s
> deploy 0m36s
> populate_sysroot 0m29s
> package 5m02s
>
> That's a five-fold difference in the time to build & package
> the kernel.
This is a significant performance impact. Thanks for taking the time to
do some profiling.
I've filed a bug http://bugzilla.pokylinux.org/show_bug.cgi?id=666 and
we'll get someone looking into that as a matter of priority.
>
> What am I doing [wrong?] that makes this so?
> Would it be better if I switched to RPM like the BB is using?
>
It looks like the slow paths are in package format independent code, so
probably not.
Regards,
Joshua
--
Joshua Lock
Intel Open Source Technology Centre
More information about the poky
mailing list