[poky] [RFC PATCH 1/1] local.conf.sample: update suggestions for BB_NUMBER_THREADS and PARALLEL_MAKE

Joshua Lock josh at linux.intel.com
Fri Jun 17 20:16:04 PDT 2011


It's been suggested that BB_NUMBER_THREADS should be 2 * the number of cores
and PARALLEL_MAKE should be equal to the number of cores available on the
build machine.

Update local.conf.sample to suggest this.

Signed-off-by: Joshua Lock <josh at linux.intel.com>
---
 meta-yocto/conf/local.conf.sample |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/meta-yocto/conf/local.conf.sample b/meta-yocto/conf/local.conf.sample
index ea32b81..43d06e6 100644
--- a/meta-yocto/conf/local.conf.sample
+++ b/meta-yocto/conf/local.conf.sample
@@ -9,7 +9,9 @@ CONF_VERSION = "1"
 #SSTATE_DIR ?= "${TOPDIR}/sstate-cache"
 
 # Uncomment and set to allow bitbake to execute multiple tasks at once.
-# For a quadcore, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would
+# Recommended values are twice the number of processor cores for
+# BB_NUMBER_THREADS and the number of processor cores for PARALLEL_MAKE
+# For a quadcore, BB_NUMBER_THREADS = "8", PARALLEL_MAKE = "-j 4" would
 # be appropriate.
 # BB_NUMBER_THREADS = "4"
 # Also, make can be passed flags so it run parallel threads e.g.:
-- 
1.7.5.4




More information about the poky mailing list