summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual/dev-manual-kernel-appendix.xml
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2011-11-16 09:42:53 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-25 15:24:19 +0000
commitaffc8b985a6b059424ae67e230cdc1f1215c9977 (patch)
treeb1166d0bc8f7f4416783251c9a55976af530e7f1 /documentation/dev-manual/dev-manual-kernel-appendix.xml
parent4cb3862f6a1190ab3bf94bc827231e8ddabb8c62 (diff)
downloadpoky-affc8b985a6b059424ae67e230cdc1f1215c9977.tar.gz
documentation: BB_NUMBER_THREADS and PARALLEL_MAKE suggestions
Text that suggests setting the BB_NUMBER_THREADS and PARALLEL_MAKE variables to speed build time has been updated to suggest a setting of twice the number of host cores supported. The 2x number came to light through a discussion on the project mailing list initiated by Robert P. J. Day. Reported-by: Robert P. J. Day (From yocto-docs rev: 1846b41a595b7bd905ca828eaa04112d1533d7a1) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual/dev-manual-kernel-appendix.xml')
-rw-r--r--documentation/dev-manual/dev-manual-kernel-appendix.xml11
1 files changed, 5 insertions, 6 deletions
diff --git a/documentation/dev-manual/dev-manual-kernel-appendix.xml b/documentation/dev-manual/dev-manual-kernel-appendix.xml
index 7ac349b6e3..0f13344800 100644
--- a/documentation/dev-manual/dev-manual-kernel-appendix.xml
+++ b/documentation/dev-manual/dev-manual-kernel-appendix.xml
@@ -221,9 +221,9 @@
221 If your host development system supports multi-core and multi-thread capabilities, 221 If your host development system supports multi-core and multi-thread capabilities,
222 you can uncomment these statements and set the variables to significantly shorten 222 you can uncomment these statements and set the variables to significantly shorten
223 the full build time. 223 the full build time.
224 As a guideline, set <filename>BB_NUMBER_THREADS</filename> to twice the number 224 As a guideline, set both <filename>BB_NUMBER_THREADS</filename> and
225 of cores your machine supports and set <filename>PARALLEL_MAKE</filename> to one and 225 <filename>PARALLEL_MAKE</filename> to twice the number
226 a half times the number of cores your machine supports. 226 of cores your machine supports.
227 </note> 227 </note>
228 </para> 228 </para>
229 <para> 229 <para>
@@ -390,9 +390,8 @@
390 build time if your host supports multi-core and multi-thread capabilities: 390 build time if your host supports multi-core and multi-thread capabilities:
391 <filename>BB_NUMBER_THREADS</filename> and <filename>PARALLEL_MAKE</filename>. 391 <filename>BB_NUMBER_THREADS</filename> and <filename>PARALLEL_MAKE</filename>.
392 If the host system has multiple cores then you can optimize build time 392 If the host system has multiple cores then you can optimize build time
393 by setting <filename>BB_NUMBER_THREADS</filename> to twice the number of 393 by setting both these variables to twice the number of
394 cores and setting <filename>PARALLEL_MAKE</filename> to one and a half times the 394 cores.</para></listitem>
395 number of cores.</para></listitem>
396 <listitem><para><emphasis>Identify Your <filename>meta-kernel-dev</filename> 395 <listitem><para><emphasis>Identify Your <filename>meta-kernel-dev</filename>
397 Layer:</emphasis> The <filename>BBLAYERS</filename> variable in the 396 Layer:</emphasis> The <filename>BBLAYERS</filename> variable in the
398 <filename>bblayers.conf</filename> file found in the 397 <filename>bblayers.conf</filename> file found in the