Improve startup time between kernel and desktop

Registered by Robbie Williamson

With the change to upstart in Karmic, we can now focus on performance tuning the post-kernel/pre-desktop portion of the boot process.

Blueprint information

Status:
Complete
Approver:
Robbie Williamson
Priority:
Essential
Drafter:
Scott James Remnant (Canonical)
Direction:
Approved
Assignee:
Canonical Foundations Team
Definition:
Approved
Series goal:
Accepted for lucid
Implementation:
Implemented
Milestone target:
milestone icon ubuntu-10.04-beta-1
Started by
Robbie Williamson
Completed by
Robbie Williamson

Related branches

Sprints

Whiteboard

Status:

Work Items for lucid-alpha-3:
[vorlon] Remove sync calls from hdparm scripts: DONE
[vorlon] Don't call ethtool on loopback device: DONE
[scott] Remove HAL: DONE
[scott] Remove/migrate over cleanup screens as necessary: POSTPONED
[scott] Migrate default init scripts to upstart: POSTPONED
[scott] Investigate DKMS cost: DONE
[scott] Investigate cost of dbus-uuidgen, is it regenerating every time, why is it taking .5s (it doesn't anymore)?: DONE
[scott] Investigate mkdir calls: DONE
[pitti] DeviceKit-disks overhead: POSTPONED

Work items for ubuntu-10.04-beta-1:
[cjwatson] Migrate console setup to udev/upstart: DONE

Work items for ubuntu-10.04-beta-2:
Migrate brltty to udev/upstart: POSTPONED
Migrate apparmor to upstart: POSTPONED

pitti, 2010-02-17: I talked to util-linux upstream (kzak), new version 2.18 which will support probing all partition flags will be released in April. That's too late for such intrusive changes to land in Lucid. Also, while the Karmic bootcharts still had DK-disks probers, they entirely disappeared from the current lucid charts (where udev/udisks got a lot of improvements and speedups), thus they do not contribute a measurable amount of time to the boot speed. So the "DeviceKit-disks overhead" is half done (in terms of boot speed) and half-postponed (in terms of a cleaner architecture).

scott, 2010-02-17: The extra init scripts aren't taking up any significant time afaict, so don't need to be migrated before alpha 3

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.