Bug 646

Summary: Qemu booting cost more time
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Kunwei Tian <kunwei.tian>
Component: meta-yoctoAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Low CC: jiajun.xu, ke.yu, kevin.tian, poky.bs.watcher, poky.watcher, sgw
Version: 1.0   
Target Milestone: 1.2   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Kunwei Tian 2011-01-06 22:57:56 UTC
=>Testing Environment:    

Qemux86/Qemuarm/Qemumips


Image from
http://autobuilder.pokylinux.org/milestone/20110101-1/

http://yoctobuild01.jf.intel.com/milestone/20110101-1/


=>Bug Description:

  Qemu booting cost more time


=>Reproduce Steps:

1.cd to poky folder;
2."source poky-init-build-env";
3."poky-qemu ....................";
4.collect boot time.



Qemux86 sato:  first time:        01m03.14s
               Second time:       00m23.31s
               Third time:        00m23.16s

Qemuarm sato:  first time:        01m36.61s
               Second time:       00m24.18s
               Third time:        00m23.80s
 

Qemumips sato: first time:        01m23.51s
               Second time:       00m30.37s
               Third time:        00m28.55s
Comment 1 Richard Purdie 2011-01-07 03:18:12 UTC
There are some postinstall scripts which run at first boot time but not on subsequent boots. Ideally we should find ways to have this work happen at build time.
Comment 2 Richard Purdie 2012-05-01 16:28:33 UTC
The boot time has been reduced significantly in the interveaning time/releases such as the useradd code.

There is more work to be done in moving postinstalls to rootfs creation time and to optimise the things we dorun on device but individual bugs will be filed for these.