| Submitter | Robert P. J. Day |
|---|---|
| Date | March 23, 2012, 9:37 a.m. |
| Message ID | <alpine.DEB.2.02.1203230535060.23552@oneiric> |
| Download | mbox | patch |
| Permalink | /patch/24259/ |
| State | New |
| Headers | show |
Comments
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 >
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
Patch
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. #
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. rday