[OE-core] [PATCH] local.conf.sample: Suggest parallelism of twice the number of cores.
Robert P. J. Day
rpjday at crashcourse.ca
Wed Jan 9 18:14:47 UTC 2013
To be consistent with the Yocto Quick Start Guide, recommend that
parallelism represent twice the number of cores on a multi-core
machine.
Signed-off-by: Robert P. J. Day <rpjday at crashcourse.ca>
---
diff --git a/meta/conf/local.conf.sample b/meta/conf/local.conf.sample
index 859eb93..46187ce 100644
--- a/meta/conf/local.conf.sample
+++ b/meta/conf/local.conf.sample
@@ -24,9 +24,9 @@
#
#PARALLEL_MAKE = "-j 4"
#
-# For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would
-# be appropriate for example.
-
+# If you have a multi-core machine, you would normally set both of these variables
+# to twice the number of cores. So for a quad-core machine, it would be appropriate
+# to set BB_NUMBER_THREADS = "8" and PARALLEL_MAKE = "-j 8".
#
# Machine Selection
#
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
More information about the Openembedded-core
mailing list