From affc8b985a6b059424ae67e230cdc1f1215c9977 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 16 Nov 2011 09:42:53 -0800 Subject: 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 Signed-off-by: Richard Purdie --- documentation/dev-manual/dev-manual-bsp-appendix.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'documentation/dev-manual/dev-manual-bsp-appendix.xml') 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 @@ You should also be sure any other variables in which you are interested are set. Some variables to consider are BB_NUMBER_THREADS and PARALLEL_MAKE, both of which can greatly reduce your build time - if you are using a multi-threaded development system (e.g. values of - 8 and j 6, respectively are optimal - for a development machine that has four available cores). + if your development system supports multiple cores. + For development systems that support multiple cores, a good rule of thumb is to set + both the BB_NUMBER_THREADS and PARALLEL_MAKE + variables to twice the number of cores your system supports. Update the bblayers.conf file so that it includes the path to your new BSP layer. In this example you need to include the pathname to meta-mymachine. -- cgit v1.2.3-54-g00ecf