Bug 1718 - [Performance] can the task to find dependency be multi-threading?
Summary: [Performance] can the task to find dependency be multi-threading?
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Low enhancement
Target Milestone: Future
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-11-02 20:33 UTC by Shane Wang
Modified: 2013-02-16 23:06 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shane Wang 2011-11-02 20:33:58 UTC
Webmin package building is so slow. So is rebuilding. A question, can the task to find dependency be multi-threading? Nice to have in the future.
Comment 1 Joshua Lock - Disabled 2012-02-09 15:07:42 UTC
I believe this is actually caused by the single-threaded walk over the files and calling rpmdeps.

http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/package.bbclass#n1189

This is not a BitBake bug, but a core classes bug. package.bbclass to be specific.
Comment 2 Richard Purdie 2012-02-11 14:51:48 UTC
This should be faster after http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=12306d01a091899178aca26b629bf14f6161dfb4
Comment 3 Richard Purdie 2013-02-16 23:06:11 UTC
With the recent do_package optimisations, particuarly those preceeding http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=5b7c822609a42e58e96a004071978c9ff196e955 and the ones which enable parallel processing of some operations, I think we can now call this resolved.