All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Improvements around BB_PRESSURE_* variables
@ 2025-04-11 14:46 Antonin Godard
  2025-04-11 14:46 ` [PATCH 1/2] runqueue: decrease the verbosity of pressure messages Antonin Godard
  2025-04-11 14:46 ` [PATCH 2/2] doc: bitbake-user-manual-ref-variables: improve BB_PRESSURE_* doc Antonin Godard
  0 siblings, 2 replies; 6+ messages in thread
From: Antonin Godard @ 2025-04-11 14:46 UTC (permalink / raw)
  To: bitbake-devel; +Cc: docs, Thomas Petazzoni, Antonin Godard

First patch makes the BB_PRESSURE_* variables not spam the log with
messages by default, unless -D is passed on the command line.

Second patch improves the documentation for these variables. The current
default value is really low and 15000 seems like a better default, at
least from my tests, it prevents too many tasks from being executed in
parallel.

Mention that these variables should be tweaked depending on the need.

This is a first step to providing better information on how to control
the resources used by bitbake. Later, this information could be reused
in a more general guide on how to do so - in fact, setting BB_PRESSURE_*
variables only do not impact how many threads a single task can use
(that would be done with PARALLEL_MAKE, probably).

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
Antonin Godard (2):
      runqueue: decrease the verbosity of pressure messages
      doc: bitbake-user-manual-ref-variables: improve BB_PRESSURE_* doc

 .../bitbake-user-manual-ref-variables.rst          | 37 +++++++++++++++++++---
 lib/bb/runqueue.py                                 |  2 +-
 2 files changed, 33 insertions(+), 6 deletions(-)
---
base-commit: 874c607f475f3d60677d2720b80a28d0c2e963c6
change-id: 20250411-bb-pressure-improvements-51d9c5881fc1

Best regards,
--
Antonin Godard <antonin.godard@bootlin.com>



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-04-15 12:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-11 14:46 [PATCH 0/2] Improvements around BB_PRESSURE_* variables Antonin Godard
2025-04-11 14:46 ` [PATCH 1/2] runqueue: decrease the verbosity of pressure messages Antonin Godard
2025-04-11 19:09   ` [docs] " Martin Jansa
2025-04-15 11:52     ` Antonin Godard
2025-04-15 12:07       ` Martin Jansa
2025-04-11 14:46 ` [PATCH 2/2] doc: bitbake-user-manual-ref-variables: improve BB_PRESSURE_* doc Antonin Godard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.