Current Bootchart
Carsten Haitzler (The Rasterman)
raster at openmoko.org
Tue Jul 8 12:43:50 CEST 2008
On Mon, 7 Jul 2008 11:04:34 +0100 Graeme Gregory <graeme at openmoko.org> babbled:
> On Mon, Jul 07, 2008 at 11:59:09AM +0200, Dr. H. Nikolaus Schaller wrote:
> > As far as I understood the documentation it serializes events from
> > hotplug. So each hotplugged device has to wait for its predecessor.
> >
> > But what is hotplugged in the OM during boot? It looks like boot
> > initialization is treated as hot-plugging. Appears to be similar to
> > ldconfig which has a cache that does NOT need updates on boot.
> >
> > * the first idea I have is to preinitialize devices by copying some
> > files so that hotplug/udev hasn't to do so much work (i.e. taking a
> > snapshot of the important files AFTER udev did run once, and provide
> > that snapshot as part of the rootfs)
> > * or, if that does not work, only hotplug those devices that are
> > essential for booting and postpone other until the GUI is running.
> >
> > Since I am not a kernel specialist, I have no idea whether that works...
> >
> No-one reads my mails :-(
>
> I already did all this work.
>
> pre-initing udev with static devices saves 10s on boot time.
already talked about that in the meeting we had - that you found how to nuke 10
secs with mdev... :)
> Using mdev -s to pre-init also saves 10s on boot time.
>
> I prefer to use mdev as at least we dont need to play funny tricks to
> get the SD card to work on boot.
>
> Graeme
>
>
--
Carsten Haitzler (The Rasterman) <raster at openmoko.org>
More information about the openmoko-devel
mailing list