博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Improving Android Boot Time
阅读量:2343 次
发布时间:2019-05-10

本文共 1992 字,大约阅读时间需要 6 分钟。

mproving Android Boot Time

This page has notes and materials in support of Tim Bird's presentation "Improving Android Bootup Time",which he gave at.

Contents

[]

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

Here's the final presentation which was given at LinuxCon North America, August 2010:

Outline

See

Raw Data

[Still need to post my raw data here]

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 logtimestamps.

  • - 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

Here is a patch which instruments the class preloading and the package scanning, to give more verboseoutput during these phases of the bootup. Note that these will make booting much more verbose, whichwill very likely overrun your logcat buffers. So you may need to grab the data with the 'logcat'command soon after the operation you are interested in occurs.

parseZipArchive patch

This patch removes the per-file signature check in parseZipArchive(). It also adds some logging to showhow long the open operation is taking, in ZipFileRO::open

These routines are in the source file: frameworks/base/libs/utils/ZipFileRO.cpp

转载地址:http://eqfvb.baihongyu.com/

你可能感兴趣的文章
ios基础
查看>>
unity3d
查看>>
metronic 1.5
查看>>
unity3d 4 assert store
查看>>
nstableView 的 注意事项
查看>>
tab bar control 注意事项
查看>>
iOS navigation bar
查看>>
github project
查看>>
iOS image轮播
查看>>
uitableview分页数据
查看>>
子视图控制器
查看>>
幽灵顶点
查看>>
Sensor. 用途
查看>>
大G到手,开心
查看>>
iOS懒人
查看>>
android 图片异步加载 线程的问题
查看>>
linerlayout relativelayout的边界问题
查看>>
android 4.0要求线程httpclient
查看>>
intrepidkarthi / RabbitMQ-Android-Chat 代码分析
查看>>
actionbar
查看>>