<?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>2419</bug_id>
          
          <creation_ts>2012-05-04 13:27:50 +0000</creation_ts>
          <short_desc>[Performance] Rootfs generation is inefficient (license checks)</short_desc>
          <delta_ts>2012-06-20 13:04:25 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>1.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>(P1)(Covered by current QA test plan)(Merged)</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Purdie">richard.purdie</reporter>
          <assigned_to name="Beth Flanagan">elizabeth.flanagan</assigned_to>
          <cc>elizabeth.flanagan</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>laurentiu.serban</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>song.liu</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>21102</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-05-04 13:27:50 +0000</bug_when>
    <thetext>The license checks made at do_rootfs time are a fork bomb and extremely inefficient. We should remove the overhead of an exec call of &quot;find&quot; so many times in particular and use shell expansion instead or similar.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21313</commentid>
    <comment_count>1</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2012-05-11 19:16:13 +0000</bug_when>
    <thetext>This is going to be a rewrite of that function. I&apos;m part way through it now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21483</commentid>
    <comment_count>2</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2012-05-21 08:12:59 +0000</bug_when>
    <thetext>The feature could be covered by current QA performance testing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21759</commentid>
    <comment_count>3</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2012-05-30 23:14:14 +0000</bug_when>
    <thetext>Submitted to OE-Core:

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=eflanagan/license_1.3&amp;id=d4873d2c5a3c1b82e77bd7c64334372903a265e1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21999</commentid>
    <comment_count>4</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2012-06-11 16:27:16 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=885e1f7e6886c783ae481afc7c08bac04843cae9</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22405</commentid>
    <comment_count>5</comment_count>
    <who name="Laurentiu Serban">laurentiu.serban</who>
    <bug_when>2012-06-20 08:53:05 +0000</bug_when>
    <thetext>The build time for core-image-sato improved to 95 minutes (previous was 110 minutes)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22409</commentid>
    <comment_count>6</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2012-06-20 11:42:43 +0000</bug_when>
    <thetext>(In reply to comment #5)
&gt; The build time for core-image-sato improved to 95 minutes (previous was 110
&gt; minutes)

do we know what the do_rootfs time was?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22416</commentid>
    <comment_count>7</comment_count>
    <who name="Laurentiu Serban">laurentiu.serban</who>
    <bug_when>2012-06-20 13:04:25 +0000</bug_when>
    <thetext>4 minutes 43 seconds for do_rootfs and do_build</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>