Bug 11655 - [krogoth] build-perf:time for build "rootfs" is increased on 2.1.3 compared to 2.1.2
Summary: [krogoth] build-perf:time for build "rootfs" is increased on 2.1.3 compared t...
Status: RESOLVED NOTABUG
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.1.4
Assignee: Jose Perez C
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-06-13 15:26 UTC by Jose Perez C
Modified: 2017-09-04 15:36 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jose Perez C 2017-06-13 15:26:08 UTC
Compared with 2.1.2 (krogoth) the time of building "rootfs" has been increased in around 20% on Ubuntu and 11% on Fedora

Charts : https://wiki.yoctoproject.org/charts/perf_milestone_GDC/bitbake-core-image-sato-rootfs.html 


2.1.2 commit: cca8dd15c8096626052f6d8d25ff1e9a606104a3
2.1.3 commit: 3565a9697f53ba975a1b7235b802f659418746c3


=============================================================

Ubuntu    Test    2.1.2_rc1    2.1.3_rc1    %
          rootfs  1:59         2:26         22.69        
             

Fedora    Test    2.1.2_rc1    2.1.3_rc1    %
          rootfs  2:01         2:15         11.57
Comment 1 Leonardo Sandoval Gonzalez 2017-09-04 15:26:00 UTC
Jose,

these are the times obtained during the weekend on the ubuntu perf machine (ypperf02)


#2.1.2
(HEADdetachedatcca8dd1):cca8dd15c8096626052f6d8d25ff1e9a606104a3,2:10.62
(HEADdetachedatcca8dd1):cca8dd15c8096626052f6d8d25ff1e9a606104a3,2:10.68
(HEADdetachedatcca8dd1):cca8dd15c8096626052f6d8d25ff1e9a606104a3,2:10.26

# commit in the middle between 2.1.2 and 2.1.3
(HEADdetachedat4cd7b56):4cd7b5622879e5899dc6c8e0e343eb07a66cf60f,2:11.19
(HEADdetachedat4cd7b56):4cd7b5622879e5899dc6c8e0e343eb07a66cf60f,2:11.29
(HEADdetachedat4cd7b56):4cd7b5622879e5899dc6c8e0e343eb07a66cf60f,2:11.53

# 2.1.3
(HEADdetachedat3565a96):3565a9697f53ba975a1b7235b802f659418746c3,2:12.06
(HEADdetachedat3565a96):3565a9697f53ba975a1b7235b802f659418746c3,2:11.73
(HEADdetachedat3565a96):3565a9697f53ba975a1b7235b802f659418746c3,2:11.82

meaning that between *.2 and *.3 there is an increase of around one second which is pretty small compared to what you observed. I will let you decide what to do with this bug.

One more thing: after 2.1.3, is the perf machine rebooted? Experimentally, RP has observed that long uptimes may lead longer perf times, so it may be wise to reboot machines once in a time.
Comment 2 Jose Perez C 2017-09-04 15:36:13 UTC
(In reply to comment #1)
> Jose,
> 
> these are the times obtained during the weekend on the ubuntu perf machine
> (ypperf02)
> 
> 
> #2.1.2
> (HEADdetachedatcca8dd1):cca8dd15c8096626052f6d8d25ff1e9a606104a3,2:10.62
> (HEADdetachedatcca8dd1):cca8dd15c8096626052f6d8d25ff1e9a606104a3,2:10.68
> (HEADdetachedatcca8dd1):cca8dd15c8096626052f6d8d25ff1e9a606104a3,2:10.26
> 
> # commit in the middle between 2.1.2 and 2.1.3
> (HEADdetachedat4cd7b56):4cd7b5622879e5899dc6c8e0e343eb07a66cf60f,2:11.19
> (HEADdetachedat4cd7b56):4cd7b5622879e5899dc6c8e0e343eb07a66cf60f,2:11.29
> (HEADdetachedat4cd7b56):4cd7b5622879e5899dc6c8e0e343eb07a66cf60f,2:11.53
> 
> # 2.1.3
> (HEADdetachedat3565a96):3565a9697f53ba975a1b7235b802f659418746c3,2:12.06
> (HEADdetachedat3565a96):3565a9697f53ba975a1b7235b802f659418746c3,2:11.73
> (HEADdetachedat3565a96):3565a9697f53ba975a1b7235b802f659418746c3,2:11.82
> 
> meaning that between *.2 and *.3 there is an increase of around one second
> which is pretty small compared to what you observed. I will let you decide
> what to do with this bug.

I will close this as not a bug
> 
> One more thing: after 2.1.3, is the perf machine rebooted? Experimentally,
> RP has observed that long uptimes may lead longer perf times, so it may be
> wise to reboot machines once in a time.

Yes that was the cause also observed on most recent releases, There is a plan already set to reboot machines on a regularly, now the numbers are more consistent.