summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/COW.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2024-11-29 12:51:23 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-11-29 22:13:25 +0000
commit05b02e3d57c0cac37694bd3dcf3c8e04c63d75bd (patch)
treee1291444297ba285523bbab9c10c6acc939a0953 /bitbake/lib/bb/COW.py
parentad9d89fde6250c728851908e3032d47f49ff3cd5 (diff)
downloadpoky-05b02e3d57c0cac37694bd3dcf3c8e04c63d75bd.tar.gz
bitbake: runqueue: Fix performance of multiconfigs with large overlap
There have been complaints about the performance of large multiconfig builds for a while. The key missing data point was that the builds needed to have large overlaps in sstate objects. This can be simulated by building the same things with just different TMPDIRs. In runqueue/bitbake terms this equates to large numbers of deferred tasks. The issue is that the expensive checks in the setscene loop were hit every time through runqueue's execute function before the check on deferred tasks. This leads to task execution starvation as that only happens once per iteration. Move the skip check earlier in the function which speeds things up enormously and should improve performance of such builds for users. (Bitbake rev: 9c6c506757f2b3e28c8b20513b45da6b4659c95f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/COW.py')
0 files changed, 0 insertions, 0 deletions