[OE-core] [PATCH] Suggested threads should be double the number of cores.

Saul Wold sgw at linux.intel.com
Tue Apr 3 21:28:17 UTC 2012


On 03/23/2012 02:37 AM, Robert P. J. Day wrote:
>
> Documentation suggests that the number of threads should actually be
> *double* the number of cores.
>
A better clarification with be to mention threading since a quad-core 
with hyperthreading enabled would be have 8 virtual cores.

Sau!



> Signed-off-by: Robert P. J. Day<rpjday at crashcourse.ca>
>
> ---
>
>    the yocto docs i've seen do suggest that the suggested number is
> double the number of cores, unless that's wrong.
>
>
> diff --git a/meta/conf/local.conf.sample b/meta/conf/local.conf.sample
> index 5679c03..505ec67 100644
> --- a/meta/conf/local.conf.sample
> +++ b/meta/conf/local.conf.sample
> @@ -24,7 +24,7 @@
>   #
>   #PARALLEL_MAKE = "-j 4"
>   #
> -# For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would
> +# For a quad-core machine, BB_NUMBER_THREADS = "8", PARALLEL_MAKE = "-j 8" would
>   # be appropriate for example.
>
>   #
>
> rday
>




More information about the Openembedded-core mailing list