<?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>12603</bug_id>
          
          <creation_ts>2018-03-14 03:48:46 +0000</creation_ts>
          <short_desc>Performance regression with new kernel upgrade</short_desc>
          <delta_ts>2018-03-15 07:54:27 +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>OE-Core</product>
          <component>kernel</component>
          <version>2.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Bruce Ashfield">bruce.ashfield</assigned_to>
          <cc>tom.zanussi</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>79808</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-03-14 03:48:46 +0000</bug_when>
    <thetext>Since the last kernel upgrade in oe-core 62acf087dca83ff094b1c0300b5752978807ca17 the speed of building the kernel changed massively.

buildstats-diff output of the that commit and before the kernel bumps:

  PKG            TASK                      ABSDIFF   RELDIFF  CPUTIME1 -&gt; CPUTIME2
  linux-yocto    do_package                  22.3s   +194.7%     11.5s -&gt; 33.8s
  linux-yocto    do_deploy                   30.1s  +1557.3%      1.9s -&gt; 32.0s
  linux-yocto    do_package_write_ipk       135.0s   +348.8%     38.7s -&gt; 173.7s
  linux-yocto    do_compile_kernelmodules   142.0s    +17.8%    799.7s -&gt; 941.8s
  linux-yocto    do_package_write_rpm       158.9s   +574.1%     27.7s -&gt; 186.6s
  linux-yocto    do_compile                 174.7s    +18.7%    933.3s -&gt; 1108.0s

Longer to compile, a lot longer to deploy and package.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79809</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-03-14 05:42:49 +0000</bug_when>
    <thetext>The problem is the &apos;linux-yocto: aufs and systemtap&apos; commit which enables CONFIG_KERNEL_DEBUG.

packages/qemux86-poky-linux/linux-yocto/kernel-vmlinux: PKGSIZE changed from 19587044 to 300944172 (+1436%)

Yes, that&apos;s 19M to 300M.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79811</commentid>
    <comment_count>2</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2018-03-14 05:54:33 +0000</bug_when>
    <thetext>I&apos;ll revert the patch that enabled debug, and send it along shortly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79828</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-03-15 07:54:27 +0000</bug_when>
    <thetext>Fixed in oe-core ad8f68e9831c57fde62f7b1942bfa9e1307f113d</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>