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/yocto-project-qs | |
| 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/yocto-project-qs')
| -rw-r--r-- | documentation/yocto-project-qs/yocto-project-qs.xml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/documentation/yocto-project-qs/yocto-project-qs.xml b/documentation/yocto-project-qs/yocto-project-qs.xml index fcbf3a1847..23e097b20f 100644 --- a/documentation/yocto-project-qs/yocto-project-qs.xml +++ b/documentation/yocto-project-qs/yocto-project-qs.xml | |||
| @@ -410,11 +410,8 @@ | |||
| 410 | <ulink url='http://www.yoctoproject.org/docs/latest/poky-ref-manual/poky-ref-manual.html#var-PARALLEL_MAKE'><filename>PARALLEL_MAKE</filename></ulink> variables. | 410 | <ulink url='http://www.yoctoproject.org/docs/latest/poky-ref-manual/poky-ref-manual.html#var-PARALLEL_MAKE'><filename>PARALLEL_MAKE</filename></ulink> variables. |
| 411 | By default, these variables are commented out. | 411 | By default, these variables are commented out. |
| 412 | However, if you have a multi-core CPU you might want to uncomment | 412 | However, if you have a multi-core CPU you might want to uncomment |
| 413 | the lines and set the variable | 413 | the lines and set both variables equal to twice the number of your |
| 414 | <filename>BB_NUMBER_THREADS</filename> equal to twice the number of your | ||
| 415 | host's processor cores. | 414 | host's processor cores. |
| 416 | Also, you could set the variable <filename>PARALLEL_MAKE</filename> equal to | ||
| 417 | 1.5 times the number of processor cores. | ||
| 418 | Setting these variables can significantly shorten your build time. | 415 | Setting these variables can significantly shorten your build time. |
| 419 | </para> | 416 | </para> |
| 420 | 417 | ||
