Linux Kernel/Boot Time

From Yocto Project
Revision as of 17:12, 14 June 2011 by Dvhart (talk | contribs) (Created page with '== Vision == Provide an example layer which demonstrates how to minimize the boot-time of the Intel N-450 Development platform. Using a core-image-minimal image, boot to a login …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Vision

Provide an example layer which demonstrates how to minimize the boot-time of the Intel N-450 Development platform. Using a core-image-minimal image, boot to a login prompt in 2.0 seconds.

Design

The current linux-yocto kernel configuration does not focus on minimal boot time. Eliminating necessary Linux kernel config options will reduce the image size as well as the boot time. Various boot parameters can also have a significant impact. Identify specific items through exploration of:

  • linux/scripts/bootgraph.pl
  • comparison with MeeGo .config
  • discussions with MeeGo leads
  • survey of talks and papers on the subject
  • research coreboot and other BIOS replacements for the N450

The boot-time budget follows:

  • BIOS: 0.5s
  • Kernel + Modules: 1s
  • Init to prompt: 0.5s

Resources

Journal

Discussion w/ Arjan

  • Establish a budget
  • Things to look at first
    • boot media
      • use SSD or MMC over Standard IO
      • avoid USB and spinning media
    • SATA
      • restrict ports to those being used
    • Kernel Mode Switching (KMS)
    • Eliminate UDEV

Initial State