Skip to contentSkip to conversation

doc/user-manual: Add BB_LOADFACTOR_MAX

PATCH New Richard Purdie 1 participant 1 message Apr 11, 2024 1 message not in the archive

lore
Share & tools
lore
#1 lore raw

PATCH 1/1 doc/user-manual: Add BB_LOADFACTOR_MAX

In reply to a message not in the archive

Sharing with the docs list too...

Cheers,

Richard

Document BB_LOADFACTOR_MAX which was recently added.

---
 .../bitbake-user-manual-ref-variables.rst                | 9 +++++++++
 1 file changed, 9 insertions(+)
doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +9 -0
index d3936935cd..00faeea686 100644
@@ -432,6 +432,15 @@ overview of their function and contents.
       ``ConfigParsed`` event can set the variable to trigger the re-parse.
       You must be careful to avoid recursive loops with this functionality.
 
+   :term:`BB_LOADFACTOR_MAX`
+      Setting this to a value will cause bitbake to check the system load
+      average before executing new tasks. If the load average is above the
+      the number of CPUs multipled by this factor, no new task will be started
+      unless there is no task executing. A value of "1.5" has been found to
+      work reasonably. This is helpful for systems which don't have pressure
+      regulation enabled, which is more granular. Pressure values take
+      precedence over loadfactor.
+
    :term:`BB_LOGCONFIG`
       Specifies the name of a config file that contains the user logging
       configuration. See
Signature · 1 line
2.40.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#16070): https://lists.openembedded.org/g/bitbake-devel/message/16070
Mute This Topic: https://lists.openembedded.org/mt/105461244/1686473
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/bitbake-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-