Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] Suggested threads should be double the number of cores.
@ 2012-03-23  9:37 Robert P. J. Day
  2012-04-03 21:28 ` Saul Wold
  0 siblings, 1 reply; 3+ messages in thread
From: Robert P. J. Day @ 2012-03-23  9:37 UTC (permalink / raw)
  To: OE Core mailing list


Documentation suggests that the number of threads should actually be
*double* the number of cores.

Signed-off-by: Robert P. J. Day <rpjday@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

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Suggested threads should be double the number of cores.
  2012-03-23  9:37 [PATCH] Suggested threads should be double the number of cores Robert P. J. Day
@ 2012-04-03 21:28 ` Saul Wold
  2012-04-04 11:59   ` Robert P. J. Day
  0 siblings, 1 reply; 3+ messages in thread
From: Saul Wold @ 2012-04-03 21:28 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

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@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
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Suggested threads should be double the number of cores.
  2012-04-03 21:28 ` Saul Wold
@ 2012-04-04 11:59   ` Robert P. J. Day
  0 siblings, 0 replies; 3+ messages in thread
From: Robert P. J. Day @ 2012-04-04 11:59 UTC (permalink / raw)
  To: Saul Wold; +Cc: Patches and discussions about the oe-core layer

On Tue, 3 Apr 2012, Saul Wold wrote:

> 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!

  quite so ... if someone else wants to tweak that, they have my
blessing. :-)

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-04-04 12:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-23  9:37 [PATCH] Suggested threads should be double the number of cores Robert P. J. Day
2012-04-03 21:28 ` Saul Wold
2012-04-04 11:59   ` Robert P. J. Day

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox