<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>2653</bug_id>
          
          <creation_ts>2012-06-25 02:10:30 +0000</creation_ts>
          <short_desc>contradiction between docs and local.conf comments regarding parallelism options</short_desc>
          <delta_ts>2012-10-04 14:50:11 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>Quick Start</product>
          <component>quick-start</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://git.yoctoproject.org/cgit.cgi/yocto-docs/commit/?id=b6b820371cbe43e39425156c72c45df283fdf7d1</bug_file_loc>
          <status_whiteboard>4 Oct 2012 - Resolved/Fixed</status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>janitors</bug_severity>
          <target_milestone>1.3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Cristian Ciupitu">cristian.ciupitu</reporter>
          <assigned_to name="Scott Rifenbark">srifenbark</assigned_to>
          <cc>poky.doc.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>22521</commentid>
    <comment_count>0</comment_count>
    <who name="Cristian Ciupitu">cristian.ciupitu</who>
    <bug_when>2012-06-25 02:10:30 +0000</bug_when>
    <thetext>The &quot;Configuring the local.conf File&quot; section[1] says:

    Briefly, set BB_NUMBER_THREADS and PARALLEL_MAKE to twice your host processor&apos;s number of cores.

So a quad-core machine should have them set to 8, but the local.conf from a poky denzil build says:

    # For a quad-core machine, BB_NUMBER_THREADS = &quot;4&quot;, PARALLEL_MAKE = &quot;-j 4&quot; would
    # be appropriate for example.


[1] http://www.yoctoproject.org/docs/current/yocto-project-qs/yocto-project-qs.html#configuring-the-local.conf-file</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24423</commentid>
    <comment_count>1</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2012-08-23 21:53:15 +0000</bug_when>
    <thetext>So I checked out all the areas in the YP manuals that discuss BB_NUMBER_THREADS and PARALLEL_MAKE.  Every instance in the documents (except one in a note in the Appendix B of the YP Development Manual) suggests that both these variables be set to twice the number of processors the host machine has.  This single instance where the note suggested that PARALLEL_MAKE be set at 1.5x times the number of processors is an inconsistency in the manual set.  I fixed that inconsistency so that all suggest now 2x.  

However, the local.conf file (as noted) does indeed have a suggested example of setting these variables both at 1x.  What needs to be changed is the commented example in the local.conf file.  I am unsure of what base file is used to create the local.conf file when a user runs the environment setup script.  I am guessing it is local.conf.sample (http://git.yoctoproject.org/cgit.cgi/poky/tree/meta-yocto/conf) inside meta-yocto/conf.  

I think this bug needs to be re-assigned to whoever maintains that file.  The manuals are all in line now with a suggested 2x setting for both the variables.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26237</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2012-10-04 14:50:11 +0000</bug_when>
    <thetext>I am marking this bug fixed because the YP documentation is consistent in how it advises the user to set both BB_NUMBER_THREADS and PARALLEL_MAKE.  Every occurrence suggests 2x based on the number of cores on the development system.  Because the bug is against the documentation it is fixed. 

I did comment below in Comment 1 that the local.conf file should be fixed to also say 2x and not 4 based on a quad-core machine.  There should be a new bug opened against the local.conf file or someone should just fix it.

Scott</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>