diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2011-11-16 09:42:53 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-25 15:24:19 +0000 |
commit | affc8b985a6b059424ae67e230cdc1f1215c9977 (patch) | |
tree | b1166d0bc8f7f4416783251c9a55976af530e7f1 /documentation/dev-manual/dev-manual-bsp-appendix.xml | |
parent | 4cb3862f6a1190ab3bf94bc827231e8ddabb8c62 (diff) | |
download | poky-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-bsp-appendix.xml')
-rw-r--r-- | documentation/dev-manual/dev-manual-bsp-appendix.xml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/documentation/dev-manual/dev-manual-bsp-appendix.xml b/documentation/dev-manual/dev-manual-bsp-appendix.xml index 7b8dc6ead5..aecb24f725 100644 --- a/documentation/dev-manual/dev-manual-bsp-appendix.xml +++ b/documentation/dev-manual/dev-manual-bsp-appendix.xml | |||
@@ -562,9 +562,10 @@ | |||
562 | You should also be sure any other variables in which you are interested are set. | 562 | You should also be sure any other variables in which you are interested are set. |
563 | Some variables to consider are <filename>BB_NUMBER_THREADS</filename> | 563 | Some variables to consider are <filename>BB_NUMBER_THREADS</filename> |
564 | and <filename>PARALLEL_MAKE</filename>, both of which can greatly reduce your build time | 564 | and <filename>PARALLEL_MAKE</filename>, both of which can greatly reduce your build time |
565 | if you are using a multi-threaded development system (e.g. values of | 565 | if your development system supports multiple cores. |
566 | <filename>8</filename> and <filename>j 6</filename>, respectively are optimal | 566 | For development systems that support multiple cores, a good rule of thumb is to set |
567 | for a development machine that has four available cores).</para></listitem> | 567 | both the <filename>BB_NUMBER_THREADS</filename> and <filename>PARALLEL_MAKE</filename> |
568 | variables to twice the number of cores your system supports.</para></listitem> | ||
568 | <listitem><para>Update the <filename>bblayers.conf</filename> file so that it includes | 569 | <listitem><para>Update the <filename>bblayers.conf</filename> file so that it includes |
569 | the path to your new BSP layer. | 570 | the path to your new BSP layer. |
570 | In this example you need to include the pathname to <filename>meta-mymachine</filename>. | 571 | In this example you need to include the pathname to <filename>meta-mymachine</filename>. |