diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-27 16:14:48 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-27 17:55:51 +0100 |
commit | fd005661443b327342b9542ab42177960e1a91a9 (patch) | |
tree | b7d3cd3c15fc8076b82b9376360ffb22b8561e27 /bitbake/lib/bb/fetch2/git.py | |
parent | c373727bd0551651621cb83ee934f84e58aa9ee1 (diff) | |
download | poky-fd005661443b327342b9542ab42177960e1a91a9.tar.gz |
bitbake/codeparser: Improve cache handling
The current codeparser cache handling hurts performance badly even
over a couple of cores and certainly on many core systems, it can
spent huge amounts of time in the codeparser cache save functions.
This patch reworks the cache handling so that each parsing thread
saves out its own "differences" file compared to any existing core
cache and then the main bitbake thread picks these up and merges
things back together.
This was tested on systems with small and large numbers of cores
and was found to perform orders of magnitude better in all cases
despite the more complex code.
(Bitbake rev: 9f27563d66523f5af1028f173d53ee75e0877d46)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/git.py')
0 files changed, 0 insertions, 0 deletions