Faster Bootup

From TALinuxWiki

These days there is much work in trying to get the boot process faster and TA-Linux is also working on it. Actually TA-Linux is one of the first to try something new, experimenting with binary /etc/rc.d/* scripts was done 2 years ago. It is never fun to wait, and waiting for a computer to boot up is annoying. Especially desktops and laptops are rebooted frequently. So the startup time should be minimized.

Contents

Faster boot in TA-Linux

The approach taken by TA-Linux to speed things up are:

  1. Minimize use of shell scripts
    1. rc.* scripts compiled
  2. Trying to do as many startup tasks in parallel
  3. Do critical tasks before starting services
    1. fsck, etc
  4. Highly parallel startup of services

Status

22 Seconds

Bootup to login prompt with a basic workstation configuration takes around 22 seconds.

Image:Boot-001.png

18 seconds

Latest work got it down to 18 seconds.

Image:Bootchart-18sec.png

Tasks to be done

Tasks that have been done

  1. rc scripts compiled
  2. Parallel startup
  3. Preload of service binaries
  4. Use uevent interface to trigger coldplugging if using kernel 2.6.15 or later.
  5. Use udev to handle hotplugging

External Links

Projects and pages related to speeding up boot processes