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 <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark 2011-06-20 09:39:54 -07:00 committed by Richard Purdie
parent 377acfc4fc
commit 54f43b6648
1 changed files with 4 additions and 2 deletions

View File

@ -288,8 +288,10 @@
<para>
Take some time to examine your <filename>conf/local.conf</filename> 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.
</para>
<para>