]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake.conf: Set ZSTD_THREADS to half of cpu number rbt/zstd
authorRobert Yang <liezhi.yang@windriver.com>
Tue, 9 Nov 2021 08:30:05 +0000 (16:30 +0800)
committerRobert Yang <liezhi.yang@windriver.com>
Tue, 9 Nov 2021 08:46:25 +0000 (16:46 +0800)
commit5e10cddcd2697c7b762c8c8d245bb76f8666aefc
tree6ed1a19344868ad8c17bce5d9e3453c555e85843
parentafad2f09ebbfe395f8fafce8218e26056479fe39
bitbake.conf: Set ZSTD_THREADS to half of cpu number

The original value is very easy to cause do_packge error when cpu number is
larger, for example, 128 cores and 512G mem:

error: create archive failed: cpio: write failed - Cannot allocate memory"

Set the ZSTD_THREADS to half of the CPU number can avoid the error in my
testing.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/conf/bitbake.conf