Difference between revisions of "Improving Android Boot Time"

From eLinux.org
Jump to: navigation, search
(Presentation: add link to file)
(logdelta: add link to logdelta program)
Line 17: Line 17:
 
== Resources ==
 
== Resources ==
 
=== logdelta ===
 
=== logdelta ===
 +
Here is the 'logdelta' program, which can be used to see the time between logcat lines.  Using logcat,
 +
grep, and logdelta, you can usually figure out how long certain operations are taking, based on the log
 +
timestamps.
 +
* [[Media:Logdelta.txt]] - the logdelta program
 +
** ''Note: I had to give the program a .txt extension, in order to upload it to the elinux wiki. When you download it, rename it and make it executable with''
 +
*** mv Logdelta.txt logdelta; chmod a+x logdelta
 +
 
=== instrumentation patches ===
 
=== instrumentation patches ===
  

Revision as of 18:23, 16 August 2010

This page has notes and materials in support of Tim Bird's presentation "Improving Android Bootup Time", which he is giving at LinuxCon North America, 2010.

Abstract

Android is a relatively new distribution of Linux, with a completely different user space implementation, compared to desktop or enterprise Linux. It also has some rather horrible boot times. But it's popular - so Tim decided to take a look and see if the bootup time of a standard Android system could be improved. This presentation describes how well he succeeded in this venture. Tim will present methods of measuring kernel and user-space bootup time on an Android system, as well as present some ideas for places where Android bootup time could be improved.

Presentation

Outline

See Improving Android Boot Time Outline


Raw Results

Resources

logdelta

Here is the 'logdelta' program, which can be used to see the time between logcat lines. Using logcat, grep, and logdelta, you can usually figure out how long certain operations are taking, based on the log timestamps.

  • Media:Logdelta.txt - the logdelta program
    • Note: I had to give the program a .txt extension, in order to upload it to the elinux wiki. When you download it, rename it and make it executable with
      • mv Logdelta.txt logdelta; chmod a+x logdelta

instrumentation patches