<?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>666</bug_id>
          
          <creation_ts>2011-01-20 07:55:31 +0000</creation_ts>
          <short_desc>Packaging takes an extremely long time</short_desc>
          <delta_ts>2011-07-25 08:27:04 +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>unspecified</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></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Lock - Disabled">josh</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.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>11535</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-01-20 07:55:31 +0000</bug_when>
    <thetext>As pointed out by Gary on the Poky ML, packaging takes an extremely long time:

&quot;Here&apos;s what I mean.  Building for my kernel and timing the
various steps, e.g.
   % time bitbake virtual/kernel -c compile

My kernel:
   compile            1m49s
   deploy             0m16s
   populate_sysroot   0m38s
   package           23m20s&quot;
https://lists.yoctoproject.org/pipermail/poky/2011-January/002635.html

This performance impact may have been introduced by recent changes to the package.bbclass to use the rpmdeps command to discover per-file dependencies.
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=54e3a82d9c14f3071db4a4f78312c0e31534696c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11536</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-01-20 09:19:04 +0000</bug_when>
    <thetext>A second theory is that the bitbake package/server split is causing a lot of context switches for the messages, during package creation - particularly for large packages like the the kernel. See: https://lists.yoctoproject.org/pipermail/poky/2011-January/002638.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11635</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-02-01 09:57:45 +0000</bug_when>
    <thetext>This was traced to the server end of the worker communication pipe using small buffers. We&apos;ve increased the size of the pipe and performance improved dramatically.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14990</commentid>
    <comment_count>3</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-07-25 08:27:04 +0000</bug_when>
    <thetext>Verify fixed</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>