diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2023-08-16 07:48:34 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2023-08-16 10:47:26 +0200 |
commit | 951f70a2ec6e6f66768bb8f3647c58f853a4148c (patch) | |
tree | 5415edc547871eed936f9cc653ae2a3671524efa | |
parent | 8dfc7255fb3717bcc7dcc5c88623c842dcb7cd21 (diff) | |
download | bitbake-contrib-jansa/nanbield.tar.gz |
runqueue: show when pressue is exceeding the max valuesjansa/nanbield
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | lib/bb/runqueue.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index 26c2d5177..23129d266 100644 --- a/lib/bb/runqueue.py +++ b/lib/bb/runqueue.py @@ -238,6 +238,7 @@ class RunQueueScheduler(object): # this is the case, otherwise the pressure limitation could result in no tasks # being active and no new tasks started thereby, at times, breaking the scheduler. if self.rq.stats.active and self.exceeds_max_pressure(): + bb.note("Using only %s/%s tasks due to exceeded max pressure" % (len(self.rq.runq_running.difference(self.rq.runq_complete)), self.rq.number_tasks)) return None # Filter out tasks that have a max number of threads that have been exceeded |