Patch review
cover Patch review
Please review this next set of changes for dunfell and have comments back by end of day Thursday.
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/2772
The following changes since commit 1c953db8a72c2330fa192402460a3ecf0a691344:
config.json: Update check-layer to use --no-auto-dependency after yocto-check-layer changes (2021-08-04 16:24:20 +0100)
are available in the Git repository at:
git://git.yoctoproject.org/yocto-autobuilder-helper contrib/sakoman
http://git.yoctoproject.org/cgit.cgi/yocto-autobuilder-helper/log/?h=contrib/sakoman
Richard Purdie (2):
config.json: Add BB_HASHSERVE to SDK_LOCAL_CONF_BLACKLIST config.json: Ensure BB_HASHSERVE is set in SDKs to auto
Trevor Gamblin (1):
config.json: set max load in PARALLEL_MAKE
config.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
Signature · 1 line
2.25.1
PATCH 1/3 config.json: Add BB_HASHSERVE to SDK_LOCAL_CONF_BLACKLIST
From: Richard Purdie <[email protected]>
This should avoid issues with the hashequiv code attempting to contact an non-existent server in the eSDKs built by the project.
[YOCTO #14471]
--- config.json | 1 + 1 file changed, 1 insertion(+)
config.json +1 -0
@@ -55,6 +55,7 @@ "SANITY_TESTED_DISTROS = ''", "SDK_EXT_TYPE = 'minimal'", "SDK_INCLUDE_TOOLCHAIN = '1'", + "SDK_LOCAL_CONF_BLACKLIST:append = 'BB_HASHSERVE'", "BB_DISKMON_DIRS = 'STOPTASKS,${TMPDIR},1G,100K STOPTASKS,${DL_DIR},1G STOPTASKS,${SSTATE_DIR},1G STOPTASKS,/tmp,100M,100K ABORT,${TMPDIR},100M,1K ABORT,${DL_DIR},100M ABORT,${SSTATE_DIR},100M ABORT,/tmp,10M,1K'", "BB_HASHSERVE = 'typhoon.yocto.io:8686'" ]
Signature · 1 line
2.25.1
PATCH 2/3 config.json: Ensure BB_HASHSERVE is set in SDKs to auto
In reply to Steve SakomanFrom: Richard Purdie <[email protected]>
--- config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
config.json +1 -1
@@ -31,7 +31,7 @@ "DLDIR" : "DL_DIR = '${BASE_SHAREDDIR}/current_sources'", "SSTATEDIR" : ["SSTATE_DIR ?= '${BASE_SHAREDDIR}/pub/sstate-dunfell'"], "SSTATEDIR_RELEASE" : ["SSTATE_MIRRORS += 'file://.* file://${BASE_SHAREDDIR}/pub/sstate-dunfell/PATH'", "SSTATE_DIR ?= '${BASE_PUBLISHDIR}/sstate/@RELEASENUM@'"], - "SDKEXTRAS" : ["SSTATE_MIRRORS += '\\", "file://.* http://sstate.yoctoproject.org/dev/@RELEASENUM@PATH;downloadfilename=PATH'"], + "SDKEXTRAS" : ["SSTATE_MIRRORS += '\\", "file://.* http://sstate.yoctoproject.org/dev/@RELEASENUM@PATH;downloadfilename=PATH'", "BB_HASHSERVE = 'auto'"], "BUILDINFO" : false, "BUILDHISTORY" : false, "BUILDINFOVARS" : ["INHERIT += 'image-buildinfo'", "IMAGE_BUILDINFO_VARS_append = ' IMAGE_BASENAME IMAGE_NAME'"],
Signature · 1 line
2.25.1
PATCH 3/3 config.json: set max load in PARALLEL_MAKE
In reply to Steve SakomanFrom: Trevor Gamblin <[email protected]>
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
--- config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
config.json +1 -1
@@ -43,7 +43,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'",
Signature · 1 line
2.25.1