diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-11-29 12:51:23 +0000 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-12-09 06:25:53 -0800 |
commit | e619153f24884928bd0b45a9bec06a1a0120b137 (patch) | |
tree | 8f04f24d5165a9a2a02c5c45f2b59ed356ba11c6 /scripts/lib/scriptpath.py | |
parent | 7e081bd98fdc5435e850d1df79a5e0f1e30293d0 (diff) | |
download | poky-e619153f24884928bd0b45a9bec06a1a0120b137.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: 5392a2bf6d82626e11eec5578eb4de53ba09f1fe)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9c6c506757f2b3e28c8b20513b45da6b4659c95f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/scriptpath.py')
0 files changed, 0 insertions, 0 deletions