Re: [android-porting] boot speed -- scan package, IO buffering, and prefetch

2010-06-24 Thread David Turner
The problem is that you didn't count the time to do the cat in your overall benchmark. Hence, the savings you present are purely hyptohetical, even if you implement prefetching. On Sun, Jun 20, 2010 at 4:31 PM, Tomei tomei.ninge...@gmail.com wrote: Hello, It seems package scanning speed is

Re: [android-porting] boot speed -- scan package, IO buffering, and prefetch

2010-06-24 Thread Tim Bird
On 06/24/2010 06:59 PM, David Turner wrote: The problem is that you didn't count the time to do the cat in your overall benchmark. Hence, the savings you present are purely hyptohetical, even if you implement prefetching. On Sun, Jun 20, 2010 at 4:31 PM, Tomei tomei.ninge...@gmail.com

[android-porting] boot speed -- scan package, IO buffering, and prefetch

2010-06-20 Thread Tomei
Hello, It seems package scanning speed is greatly influenced by IO buffering: I did some simple experiment. I am testing with a fresh build so there are NO apps under /data/app. First boot up the phone. Then do either (A) or (B): (A): # stop # sync; echo 3 /proc/sys/vm/drop_caches # start