diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-28 15:31:20 +0000 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2011-02-28 16:34:34 -0800 |
commit | 9837e78bfc6573cf5795dd611c44f28b31cdabec (patch) | |
tree | cdd4c9656d94264e6c55d8632788cb39a04d1d65 /meta/conf/distro | |
parent | e08dc5aaaeba61e332caab4a3df5750df6b49ac1 (diff) | |
download | poky-9837e78bfc6573cf5795dd611c44f28b31cdabec.tar.gz |
bitbake/cache/runqueue.py: Move workload for recipe parsing to the child process
Parsing the recipe in the parent before forking off the child worker
can mean the parent doesn't hit the idle loop and becomes a bottleneck
when lauching many short lived processes.
The reason we need this in the parent is to figure out the fakeroot
environmental options. To address this, add the fakeroot variables
to the cache and move recipe loadData into the child task.
For a poky-image-sato build this results in about a 2 minute speedup
(1.8%).
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/distro')
0 files changed, 0 insertions, 0 deletions