Skip to contentSkip to conversation

config.json: Set XZ limits to more reasonable values on autobuilder

yocto-autobuilder-helper Steve Sakoman 1 participant 1 message May 20, 2021 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

From: Richard Purdie <[email protected]>

The autobuilders have 128GB memory, we don't want them using 50% which is the default, 5% should be enough. Also limit the number of threads down from 48 to something reasonable. This may be partly causing some of our performance issues?

(cherry picked from commit 19b4e74b3960174238acc79fd112f55706bc7385)
---
 config.json | 2 ++
 1 file changed, 2 insertions(+)
config.json +2 -0
index e77a8fe..b62035b 100644
@@ -44,6 +44,8 @@
             "BB_GENERATE_MIRROR_TARBALLS = '1'",
             "BB_NUMBER_THREADS = '16'",
             "PARALLEL_MAKE = '-j 16'",
+            "XZ_MEMLIMIT = '5%'",
+            "XZ_THREADS = '8'",
             "BB_TASK_NICE_LEVEL = '5'",
             "BB_TASK_NICE_LEVEL_task-testimage = '0'",
             "BB_TASK_IONICE_LEVEL = '2.7'",
Signature · 1 line
2.25.1