Add "-l 52" to PARALLEL_MAKE in config.json to limit Make and Ninja builds based on the detected system load. With this option added, if either tool has at least one job running and detects that the system load exceeds the given value, it will wait until either the system load average drops below that limit, or until all other jobs are finished before starting additional jobs.
Since most autobuilder machines have 56 cores, this should help keep the system from being overloaded during builds. Reference: https://www.gnu.org/software/make/manual/html_node/Parallel.html Signed-off-by: Trevor Gamblin <trevor.gamb...@windriver.com> --- config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.json b/config.json index 7be0df7..3709b40 100644 --- a/config.json +++ b/config.json @@ -44,7 +44,7 @@ "PREMIRRORS = ''", "BB_GENERATE_MIRROR_TARBALLS = '1'", "BB_NUMBER_THREADS = '16'", - "PARALLEL_MAKE = '-j 16'", + "PARALLEL_MAKE = '-j 16 -l 52'", "XZ_MEMLIMIT = '5%'", "XZ_THREADS = '8'", "BB_TASK_NICE_LEVEL = '5'", -- 2.31.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#54129): https://lists.yoctoproject.org/g/yocto/message/54129 Mute This Topic: https://lists.yoctoproject.org/mt/84225849/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-