[OE-core] for a quad-core machine, shouldn't parallelism be set to 8?

Robert P. J. Day rpjday at crashcourse.ca
Wed Jan 9 12:55:12 UTC 2013


  just noticed this in local.conf.sample:

# For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would
# be appropriate for example.

  i thought the general rule was that parallelism should be *twice*
the number of cores.  that's certainly what's suggested in the yocto
QS guide:

"Another couple of variables of interest are the BB_NUMBER_THREADS and
the PARALLEL_MAKE variables. By default, these variables are commented
out. However, if you have a multi-core CPU you might want to uncomment
the lines and set both variables equal to twice the number of your
host's processor cores. "

  thoughts?

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