[OE-core] linux-yocto task performance numbers

Bruce Ashfield bruce.ashfield at windriver.com
Mon Feb 23 13:14:53 UTC 2015


On 2015-02-23 5:08 AM, Richard Purdie wrote:
> On Mon, 2015-02-23 at 00:13 -0500, Bruce Ashfield wrote:
>> Was this the 3.19 kernel you used for these stats ? I just ran a quick
>> test (i.e. not with buildstats) with my latest kernel tree (on my
>> crappy I/O laptop) and get the following:
>>
>> % time bitbake -f -c kernel_configme linux-yocto
>>
>> real    0m7.378s
>> user    0m4.356s
>> sys     0m5.553s
>>
>>
>> So I'm showing 7 seconds, versus 45 in your run .. and I'm showing:
>>
>> real    0m26.371s
>> user    0m12.561s
>> sys     0m19.534s
>>
>> For do_patch (and that is before the already in progress changes that
>> I mentioned earlier).
>>
>> Just with those differences alone, sounds like we should log this in
>> bugzilla and put the details of the configuration and build machines in
>> there .. since I'll need to isolate what is causing those extra long
>> runs, and ensure that everything is pushed to the various trees.
>
> I think I messed up and ran against a slightly different version. The
> numbers confirmed with 3.19 are:
>
> do_bundle_initramfs: Elapsed time: 0.03 seconds
> do_compile: Elapsed time: 78.07 seconds
> do_compile_kernelmodules: Elapsed time: 35.23 seconds
> do_configure: Elapsed time: 0.60 seconds
> do_deploy: Elapsed time: 14.39 seconds
> do_fetch: Elapsed time: 0.04 seconds
> do_install: Elapsed time: 2.02 seconds
> do_kernel_checkout: Elapsed time: 10.67 seconds
> do_kernel_configcheck: Elapsed time: 8.03 seconds
> do_kernel_configme: Elapsed time: 70.41 seconds
> do_kernel_link_vmlinux: Elapsed time: 0.03 seconds
> do_package: Elapsed time: 33.48 seconds
> do_packagedata: Elapsed time: 2.30 seconds
> do_package_qa: Elapsed time: 4.94 seconds
> do_package_write_ipk: Elapsed time: 68.72 seconds
> do_package_write_rpm: Elapsed time: 44.33 seconds
> do_patch: Elapsed time: 56.43 seconds
> do_populate_lic: Elapsed time: 0.14 seconds
> do_populate_sysroot: Elapsed time: 0.16 seconds
> do_shared_workdir: Elapsed time: 0.04 seconds
> do_sizecheck: Elapsed time: 0.03 seconds
> do_strip: Elapsed time: 0.03 seconds
> do_uboot_mkimage: Elapsed time: 0.02 seconds
> do_unpack: Elapsed time: 5.06 seconds
> do_validate_branches: Elapsed time: 0.69 seconds
>
> To get the numbers:
>
> bitbake linux-yocto -c cleansstate
> bitbake linux-yocto
> $ (cd tmp/buildstats/linux-yocto-qemux86-64/201502230954/linux-yocto-3.19+gitAUTOINC+8897ef68b3_43b9eced9b-r0/; grep El * | sed s/linux-yocto-3.19+gitAUTOINC+8897ef68b3_43b9eced9b-r0// | sed s/^.*:://)
>
> So configcheck is better but the other times still seem high.

Yep. configme should never take that long, so something different
is happening in your qemu build than mine. I'll dig up my other
speedup changes and run them against the same machine build and
see what I get.

I just did a run for qemumips, and patching took 9 seconds :)

Bruce

>
> Cheers,
>
> Richard
>




More information about the Openembedded-core mailing list