[OE-core] [PATCH] Suggested threads should be double the number of cores.

Robert P. J. Day rpjday at crashcourse.ca
Fri Mar 23 09:37:32 UTC 2012


Documentation suggests that the number of threads should actually be
*double* the number of cores.

Signed-off-by: Robert P. J. Day <rpjday at crashcourse.ca>

---

  the yocto docs i've seen do suggest that the suggested number is
double the number of cores, unless that's wrong.


diff --git a/meta/conf/local.conf.sample b/meta/conf/local.conf.sample
index 5679c03..505ec67 100644
--- a/meta/conf/local.conf.sample
+++ b/meta/conf/local.conf.sample
@@ -24,7 +24,7 @@
 #
 #PARALLEL_MAKE = "-j 4"
 #
-# For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would
+# For a quad-core machine, BB_NUMBER_THREADS = "8", PARALLEL_MAKE = "-j 8" would
 # be appropriate for example.

 #

rday

-- 

========================================================================
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