Re: [android-porting] Android Boot time reduction

2010-05-24 Thread Rakesh Kumar
Please give me some pointers for reducing Android boot time. Thanks Regards Rocky On Mon, May 10, 2010 at 5:32 PM, Ashu ashutosh.deshmukh2...@gmail.comwrote: Hi, We are working on Android boot time reduction. We use OMAP3430 Board as our Hardware. Android version is 1.6 Donut. We used

Re: [android-porting] Android Boot time reduction

2010-05-20 Thread Rakesh Kumar
Hi , Anyone achieved any success in this case? Thanks Rocky On Sat, May 15, 2010 at 5:42 AM, Akash Choudhari akas...@gmail.com wrote: Hi Tim, I have measured much better numbers on our Zoom platform. From what I remember, it was less than 1 minute for the whole boot, upto Wallpaper -

Re: [android-porting] Android Boot time reduction

2010-05-14 Thread Dianne Hackborn
On Wed, May 12, 2010 at 7:40 AM, Chen Yang sunsety...@gmail.com wrote: Cool! Would you like to share some insights on what makes the preloading and scan so efficient on Nexus One? Fast CPU + fast flash? Which one is more important? Or both? There is nothing so special about the Nexus One in

Re: [android-porting] Android Boot time reduction

2010-05-14 Thread Tim Bird
On 05/14/2010 12:02 PM, Dianne Hackborn wrote: On Wed, May 12, 2010 at 7:40 AM, Chen Yang sunsety...@gmail.com mailto:sunsety...@gmail.com wrote: Cool! Would you like to share some insights on what makes the preloading and scan so efficient on Nexus One? Fast CPU + fast flash?

Re: [android-porting] Android Boot time reduction

2010-05-14 Thread Chen Yang
Dianne: Thanks a lot! Very helpful. -- Chen On Sat, May 15, 2010 at 3:02 AM, Dianne Hackborn hack...@android.comwrote: On Wed, May 12, 2010 at 7:40 AM, Chen Yang sunsety...@gmail.com wrote: Cool! Would you like to share some insights on what makes the preloading and scan so efficient on

Re: [android-porting] Android Boot time reduction

2010-05-14 Thread Chen Yang
It would also be interesting to look at the log dumped by logcat with a fresh rebooted nexus one. Would someone share here? Thanks. -- Chen On Sat, May 15, 2010 at 3:15 AM, Tim Bird tim.b...@am.sony.com wrote: On 05/14/2010 12:02 PM, Dianne Hackborn wrote: On Wed, May 12, 2010 at 7:40 AM,

Re: [android-porting] Android Boot time reduction

2010-05-14 Thread Dianne Hackborn
Sorry I don't have a boot chart handy. Most of what I look at is the time to the various log events representing key points during system boot. On Fri, May 14, 2010 at 12:15 PM, Tim Bird tim.b...@am.sony.com wrote: On 05/14/2010 12:02 PM, Dianne Hackborn wrote: On Wed, May 12, 2010 at 7:40

Re: [android-porting] Android Boot time reduction

2010-05-14 Thread Akash Choudhari
Hi Tim, I have measured much better numbers on our Zoom platform. From what I remember, it was less than 1 minute for the whole boot, upto Wallpaper - Akash On Fri, May 14, 2010 at 6:57 PM, Dianne Hackborn hack...@android.com wrote: Sorry I don't have a boot chart handy.  Most of what I look

Re: [android-porting] Android Boot time reduction

2010-05-12 Thread Rakesh Kumar
Hi, Please correct me if I am wrong. Can we reduce the booting time by writing the code in assembly which copies the kernel and file system of android to memory. Thanks Regards Rakesh On Tue, May 11, 2010 at 8:41 PM, Deva R r.deva...@gmail.com wrote: As Dianne mentioned, its more

Re: [android-porting] Android Boot time reduction

2010-05-12 Thread ashutosh deshmukh
Hi , We are actually working on regular boot time optimization only. The stats logcat output that I share was for regular boot of Android on OMAP3430. So the stats does not represent the factory reset boot, the very very first boot of phone. The very very first boot on OMAP 3430 Board takes

Re: [android-porting] Android Boot time reduction

2010-05-12 Thread Chen Yang
Cool! Would you like to share some insights on what makes the preloading and scan so efficient on Nexus One? Fast CPU + fast flash? Which one is more important? Or both? Thanks. -- Chen On Tue, May 11, 2010 at 6:31 AM, Dianne Hackborn hack...@android.comwrote: There is no trivial way to reduce

Re: [android-porting] Android Boot time reduction

2010-05-12 Thread Tim Bird
On 05/12/2010 06:33 AM, ashutosh deshmukh wrote: Hi , � We are actually working on regular boot time optimization only. The stats logcat output that I share was for regular boot of Android on OMAP3430. � So the stats does not represent�the factory reset boot, the very very first boot of

Re: [android-porting] Android Boot time reduction

2010-05-11 Thread Deva R
As Dianne mentioned, its more appropriate to profile regular boot time, and not the factory reset boot, the very very first boot of a phone, which's a special for many modules.. On Tue, May 11, 2010 at 4:01 AM, Dianne Hackborn hack...@android.comwrote: There is no trivial way to reduce either

[android-porting] Android Boot time reduction

2010-05-10 Thread Ashu
Hi, We are working on Android boot time reduction. We use OMAP3430 Board as our Hardware. Android version is 1.6 Donut. We used bootchart to visualize boot pattern. From it, we found that following things take bulk of time. 1.Zygote process. It actually do the proloading of java classes that

Re: [android-porting] Android Boot time reduction

2010-05-10 Thread Dianne Hackborn
There is no trivial way to reduce either of those. The zygote class preloading is essential for good performance of the system after boot. The package scan can in theory do some caching of its results after first boot, but this is a lot of work and has the potential to introduce serious bugs if