Bug 1718

Summary: [Performance] can the task to find dependency be multi-threading?
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Shane Wang <shane.wang>
Component: meta-yoctoAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Low CC: josh, poky.bs.watcher, poky.watcher, sgw
Version: unspecified   
Target Milestone: Future   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

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.