Re: Bootchart analysis

2011-05-20 Thread Steve Langasek
On Fri, May 20, 2011 at 11:32:21AM +0100, Dave Martin wrote: > On Thu, May 19, 2011 at 02:20:59PM -0700, Steve Langasek wrote: > > On Wed, May 18, 2011 at 02:48:25PM -0300, Ricardo Salveti wrote: > > > > 2) too many shells started to parse shell scripts > > > I can see a lot of 'sh', 'cat', 'rm',

Re: Bootchart analysis

2011-05-20 Thread Dave Martin
On Thu, May 19, 2011 at 02:20:59PM -0700, Steve Langasek wrote: > On Wed, May 18, 2011 at 02:48:25PM -0300, Ricardo Salveti wrote: > > > 2) too many shells started to parse shell scripts > > > I can see a lot of 'sh', 'cat', 'rm', 'sleep', 'run-parts', I think > > this could all be optimized. > >

Re: Bootchart analysis

2011-05-19 Thread Steve Langasek
On Wed, May 18, 2011 at 02:48:25PM -0300, Ricardo Salveti wrote: > > 2) too many shells started to parse shell scripts > I can see a lot of 'sh', 'cat', 'rm', 'sleep', 'run-parts', I think > this could all be optimized. "run-parts" here is surprising; I'm not aware of anything that should call th

Re: Bootchart analysis

2011-05-18 Thread Ricardo Salveti
On Wed, May 18, 2011 at 11:39 AM, Riku Voipio wrote: > On 18 May 2011 16:53, Dave Martin wrote: >> On Tue, May 17, 2011 at 5:53 PM, Tom Gall wrote: > >>> https://wiki.linaro.org/BootChart > >> Due to the poor I/O throughput, it looks a bit like we might be >> hitting the known SD card write beha

Re: Bootchart analysis

2011-05-18 Thread Wookey
+++ Christian Robottom Reis [2011-05-18 11:32 -0300]: > On Wed, May 18, 2011 at 02:53:22PM +0100, Dave Martin wrote: > > Hi, > > Um, why are we writing to anything on boot up? Daemons writing their pids to /var/run, is one example. One advantage of plan to move /run to root and make it a tmpfs.

Re: Bootchart analysis

2011-05-18 Thread Constantine Shulyupin
> The long time of "mount" looks fishy. Are you sure you are booting > with a clean filesystem? > > Other than that we see that > > 1) we start too much (cron, gdm, ...) for our use case > 2) too many shells started to parse shell scripts > > As for finding files writes to on boot, using a "find /

Re: Bootchart analysis

2011-05-18 Thread Dave Martin
On Wed, May 18, 2011 at 3:39 PM, Riku Voipio wrote: > On 18 May 2011 16:53, Dave Martin wrote: >> On Tue, May 17, 2011 at 5:53 PM, Tom Gall wrote: > >>> https://wiki.linaro.org/BootChart > >> Due to the poor I/O throughput, it looks a bit like we might be >> hitting the known SD card write behav

Re: Bootchart analysis

2011-05-18 Thread Dave Martin
On Wed, May 18, 2011 at 3:32 PM, Christian Robottom Reis wrote: > On Wed, May 18, 2011 at 02:53:22PM +0100, Dave Martin wrote: >> Hi, >> >> On Tue, May 17, 2011 at 5:53 PM, Tom Gall wrote: >> > Hi All, >> > >> > From UDS last week I was inspired to run bootchart on our Linaru >> > Ubuntu-desktop

Re: Bootchart analysis

2011-05-18 Thread Riku Voipio
On 18 May 2011 16:53, Dave Martin wrote: > On Tue, May 17, 2011 at 5:53 PM, Tom Gall wrote: >> https://wiki.linaro.org/BootChart > Due to the poor I/O throughput, it looks a bit like we might be > hitting the known SD card write behaviour issues; mounting with > noatime and/or journaling disabl

Re: Bootchart analysis

2011-05-18 Thread Christian Robottom Reis
On Wed, May 18, 2011 at 02:53:22PM +0100, Dave Martin wrote: > Hi, > > On Tue, May 17, 2011 at 5:53 PM, Tom Gall wrote: > > Hi All, > > > > From UDS last week I was inspired to run bootchart on our Linaru > > Ubuntu-desktop LEB. > > > > I collected the data on my panda board using the daily snaps

Re: Bootchart analysis

2011-05-18 Thread Dave Martin
Hi, On Tue, May 17, 2011 at 5:53 PM, Tom Gall wrote: > Hi All, > > From UDS last week I was inspired to run bootchart on our Linaru > Ubuntu-desktop LEB. > > I collected the data on my panda board using the daily snapshot from last > week. > > From a very quick examination of the output, it woul

Bootchart analysis

2011-05-17 Thread Tom Gall
Hi All, >From UDS last week I was inspired to run bootchart on our Linaru Ubuntu-desktop LEB. I collected the data on my panda board using the daily snapshot from last week. >From a very quick examination of the output, it would seem we are IO bound. I've created a quick wiki page about BootCha