Bug 646 - Qemu booting cost more time
Summary: Qemu booting cost more time
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 1.0
Hardware: All Multiple
: Low enhancement
Target Milestone: 1.2
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-01-06 22:57 UTC by Kunwei Tian
Modified: 2012-05-01 16:28 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.