Boot time - About rcscripts

Carsten Haitzler (The Rasterman) raster at openmoko.org
Wed Jul 9 13:04:28 CEST 2008


On Wed, 09 Jul 2008 16:45:16 +0800 Fred Chien <fred at openmoko.com> babbled:

> Hi All,
> 
> I modified /etc/init.d/rc, and add some command to record time
> information of all rcscripts. (see the attached file) We can see more
> details than bootchart.
> 
> Here is some important parts:
> 
> 1. S01exquisite (6 secs)

those 6 seconds are most likely almost exclusively this line in S01exquisite:

exquisite-write -wait 20

i.e. - waiting for exquisite to come up and have its socket ready for writing.
i need to study exquisite startup in great detail to find what can be
streamlined. i suspect there is a lot of IO latency here in paging in all the
shared libs and doing symbol lookups as these libs (a fair few of them) are
being used for the first time.

> 2. S03sysfs (1 sec)
> 3. S03udev (19 secs)

lets give mdev a try! :)

> 4. S05devices (1 sec)
> 5. S10checkroot.sh (1 sec)
> 6. S20modutils.sh (1 sec)
> 7. S35mountall.sh (1 sec)
> 8. S37populate-volatile.sh (2 secs)
> 9. S38devpts.sh (1 sec)
> 10. S40networking (2 secs)
> 11. S98configure(2 secs)
> 12. S20dbus-1 (9 secs)
> 13. S20syslog (1 sec)
> 
> Any idea?
> 
> Fred.
> 


-- 
Carsten Haitzler (The Rasterman) <raster at openmoko.org>



More information about the openmoko-devel mailing list