Re: [android-porting] My presentation analyzing Android bootup time

2010-08-18 Thread Dianne Hackborn
On Tue, Aug 17, 2010 at 10:09 AM, Tim Bird tim.b...@am.sony.com wrote: I think we must be talking about different signatures. I'm referring to the one checked in frameworks/base/libs/utils/ZipFileRO.cpp, in ZipFileRO::parseZipArchive() about line 255 in the file: localHdr = basePtr +

Re: [android-porting] My presentation analyzing Android bootup time

2010-08-17 Thread Tim Bird
On 08/17/2010 10:09 AM, Tim Bird wrote: Well, page faults are always inherently slower than reads, It's embarrassing, but I have to correct myself here. An mmap and an access of a single page will likely take longer than a corresponding read. But accessing multiple pages can amortize the cost

[android-porting] My presentation analyzing Android bootup time

2010-08-16 Thread Tim Bird
Hi all, I have seen traffic on this list indicating some interest in reducing the bootup time of Android. I've spent some time recently looking at this, and made a presentation at LinuxCon last week with some of my results and observations. Unfortunately, I didn't make any concrete progress on

Re: [android-porting] My presentation analyzing Android bootup time

2010-08-16 Thread Dianne Hackborn
Hi, very cool. For what it's worth, there are a series of event logs already in the platform for key parts of the user space boot: I/boot_progress_start( 67): 31384 I/boot_progress_preload_start( 67): 33117 I/boot_progress_preload_end( 67): 37614 I/boot_progress_system_run( 98): 38330

Re: [android-porting] My presentation analyzing Android bootup time

2010-08-16 Thread Tim Bird
On 08/16/2010 07:18 PM, Dianne Hackborn wrote: Hi, very cool. Thanks - I was hoping someone would like it. :-) For what it's worth, there are a series of event logs already in the platform for key parts of the user space boot: I/boot_progress_start( 67): 31384

Re: [android-porting] My presentation analyzing Android bootup time

2010-08-16 Thread Dianne Hackborn
On Mon, Aug 16, 2010 at 8:17 PM, Tim Bird tim.b...@am.sony.com wrote: For what it's worth, there are a series of event logs already in the platform for key parts of the user space boot: I didn't see these at all. I'll dig into the code and try to find out why not. By the way, are those