Here the standard log events during a boot showing the time (in ms) to get to each point. This is on a myTouch class device, so should be similar on a G1 etc. In the log, pms == package manager service (which keeps track of all .apks), and ams == activity manager service. At the point where the ams is ready we start launching application processes like home. There is another 15-20 seconds not accounted for here which is the time from pressing power until the kernel comes up enough for its timers to start (so that time is basically like the BIOS boot time on a PC and unrelated to Android).
I/boot_progress_start( 51): 13897 I/boot_progress_preload_start( 51): 18251 I/boot_progress_preload_end( 51): 32464 I/boot_progress_system_run( 81): 34178 I/boot_progress_pms_start( 81): 34939 I/boot_progress_pms_system_scan_start( 81): 35927 I/boot_progress_pms_data_scan_start( 81): 44650 I/boot_progress_pms_scan_end( 81): 44658 I/boot_progress_pms_ready( 81): 44884 I/boot_progress_ams_ready( 81): 48010 I/boot_progress_enable_screen( 81): 57851 Of course, this all very much depends on the hardware you are running on. For example, here are the times from another device I happen to have on my desk: I/boot_progress_start( 987): 5936 I/boot_progress_preload_start( 987): 8338 I/boot_progress_preload_end( 987): 12915 I/boot_progress_system_run( 1038): 13706 I/boot_progress_pms_start( 1038): 14041 I/boot_progress_pms_system_scan_start( 1038): 14372 I/boot_progress_pms_data_scan_start( 1038): 18209 I/boot_progress_pms_scan_end( 1038): 18211 I/boot_progress_pms_ready( 1038): 18314 I/boot_progress_ams_ready( 1038): 19983 I/boot_progress_enable_screen( 1038): 23912 On Tue, Aug 25, 2009 at 2:27 PM, [email protected] < [email protected]> wrote: > > Thanks Chris! > > Some questions regarding your response: > > Do you know the reason why Android is so slow on start-up? Do you > think it's possible to speed up Android by preventing certain > applications loading by default and applying some of the fast booting > improvements in order to drastically decrease boot-up time? I just > found an article saying boot-up time is normally >10 sec. > > Is it actually the booting process of the kernel, start-up of the > dalvik vm or application start-up which takes so long? > > Matthias > > On Aug 25, 9:09 pm, Chris Stratton <[email protected]> wrote: > > On Aug 25, 4:39 am, "[email protected]" <[email protected]> > > wrote: > > > > > at the moment I am thinking about a new app and need some information > > > to decide whether to develop on Android or an alternative OS. > > > > > I am particularly interested in "time to first screen", "boot-up > > > time", "time to first Audio" and "app-start" (can be any from the > > > android market or even one of the pre-installed ones) time? Does > > > anyone know a source or perhaps measured those numbers? > > > > If you literally want to be booting the operating system often, I > > don't think you want android but some more simplistic embedded linux > > with some of the recent generic-linux fast booting improvements > > applied. Android is pretty slow to start up after a power cycle or > > true reset, but the devices it is running on don't usually get turned > > off very often, they just move between sleep and wake states. > > > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

