<?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>5346</bug_id>
          
          <creation_ts>2013-10-14 10:44:57 +0000</creation_ts>
          <short_desc>Investigate build performance variance between different host OS-es on same HW</short_desc>
          <delta_ts>2025-06-19 16:40:48 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Build Testing</product>
          <component>general</component>
          <version>1.6</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>  </status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandru Georgescu">alexandru.c.georgescu</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>37878</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-10-14 10:44:57 +0000</bug_when>
    <thetext>Currently QA runs the performance scripts on same HW but different OS-es. 
Details here: https://wiki.yoctoproject.org/wiki/Performance_Test

All system/distro settings are distro&apos;s defaults, that includes:

- FS mount options: ext4 rw,relatime,data=ordered

- IO scheduler: cfq and CPU governer: ondemand

HW config is: SandyBridge i7-2600 CPU @ 3.40GHz HT-enabled (4 cores/8 threads), 8GB RAM, 1 x 500 GB HDD 

We have to investigate why there are big differences between them.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84086</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-06-06 15:19:43 +0000</bug_when>
    <thetext>There still are performance differences between our Ubuntu and Fedora tests. A part of this was found to be python being compiled with profile guided optimisation which makes a big difference. Our buildtools tarball now has that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90598</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-06-10 15:03:47 +0000</bug_when>
    <thetext>We&apos;re still seeing a non-trivial difference between Fedora and Ubuntu.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102312</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-06-19 16:11:11 +0000</bug_when>
    <thetext>The build performance difference between Debian-12 and Alma-8 is 
not huge and is now acceptable.

Measurement        Debian        Alma           Percent Diff     Note

sato build         1:14:59       1:15:13         + 0.31 %
sato sstate           1:09.4        1:07.5       - 2.74 %
kernel build          4:20.3        4:06.3       -12.1 %         
bitbake -p (1)          12.2          13.8       +13 %           python version?

https://valkyrie.yocto.io/pub/non-release/20250619-53/testresults/buildperf-debian11/perf-debian12-vk_master_20250619090025_7733ddf733.html

https://valkyrie.yocto.io/pub/non-release/20250619-55/testresults/buildperf-alma8/perf-alma8-vk_master_20250619090031_7733ddf733.html

I may look into the kernel build time but I suspect there is more variance than the ~1 second stddev reported on the build time graphs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102313</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-06-19 16:40:48 +0000</bug_when>
    <thetext>Since we didn&apos;t change anything, I&apos;ve changed the resolution status to WORKSFORME</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>