From 54f43b664825111168cff098fca67b5ce2bba26d Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 20 Jun 2011 09:39:54 -0700 Subject: [PATCH] documentation/yocto-project-qs/yocto-project-qs.xml: multi-core update Added text suggesting that BB_NUMBER_THREADS be set to twice the number of available processor cores and that PARALLEL_MAKE be set equal to the number of processor cores. Similar changes were made to local.conf based on work by Josh. (From yocto-docs rev: e342a4af4d3ba000b348bbb9d125977fc0e95273) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/yocto-project-qs/yocto-project-qs.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/documentation/yocto-project-qs/yocto-project-qs.xml b/documentation/yocto-project-qs/yocto-project-qs.xml index 65728fb42f..bc40cbbeb3 100644 --- a/documentation/yocto-project-qs/yocto-project-qs.xml +++ b/documentation/yocto-project-qs/yocto-project-qs.xml @@ -288,8 +288,10 @@ Take some time to examine your conf/local.conf file. The defaults should work fine. - However, if you have a multi-core CPU you might want to set the variables - BB_NUMBER_THREADS and PARALLEL_MAKE to the number of processor cores on your build machine. + However, if you have a multi-core CPU you might want to set the variable + BB_NUMBER_THREADS equal to twice the number of processor cores your system has. + And, set the variable PARALLEL_MAKE equal to the number of processor cores. + Setting these variables can significantly shorten your build time. By default, these variables are commented out.