Boot Time Optimization
Marc Andre Tanner
openmoko at brain-dump.org
Tue Dec 22 23:55:07 CET 2009
On Tue, Dec 22, 2009 at 05:24:05PM -0300, Werner Almesberger wrote:
> Marc Andre Tanner wrote:
> > Any hints to further speed it up?
> Some ideas not for speeding it up as a whole but for making it
> spend its time when it's less noticeable:
> If booting from SD, you could put things you don't need in the
> initramfs into a regular file system partition or image that gets
> mounted later. That way, you can interact a little bit earlier.
> Drawback: more complex to set up than just a single file.
I fear it would be too complex to set up which means nobody will
use it so I would like to avoid it for now.
> Likewise, you could initialize drivers you don't need immediately
> (e.g., storage) by loading them as a module, so they disappear
> from your critical path to first interaction.
Yeah I need to readup on deferred initcalls and friends. An obvious
candidate for delayed loading would be everything network related.
Marc Andre Tanner >< http://www.brain-dump.org/ >< GPG key: CF7D56C0
More information about the openmoko-kernel