Features/20SecondStartup

From FedoraProject

< Features(Difference between revisions)
Jump to: navigation, search
(Documentation)
(Release Notes)
 
(47 intermediate revisions by 9 users not shown)
Line 16: Line 16:
 
== Current status ==
 
== Current status ==
 
* Targeted release: [[Releases/11|  Fedora 11]]  
 
* Targeted release: [[Releases/11|  Fedora 11]]  
* Last updated: (Dec 09 2008)
+
* Last updated: (Apr 14 2009)
* Percentage of completion: 0%
+
* Percentage of completion: 100% ( 10/10 filed bugs resolved, rest moved to F12)
  
 
== Detailed Description ==
 
== Detailed Description ==
Line 26: Line 26:
 
Fedora 10 top 5 disk usage tasks http://www.harald-hoyer.de/personal/blog/fedora-10-disk-io
 
Fedora 10 top 5 disk usage tasks http://www.harald-hoyer.de/personal/blog/fedora-10-disk-io
  
See, if sreadahead can be used (needs kernel patch), and if upstart can start core service in parallel.
+
See, if sreadahead can be used (needs kernel patch), and if Upstart can start core services in parallel.
  
 
== Benefit to Fedora ==
 
== Benefit to Fedora ==
Line 40: Line 40:
 
* reboot, login, start firefox, close firefox
 
* reboot, login, start firefox, close firefox
 
* measure time until closing of firefox
 
* measure time until closing of firefox
 +
 +
See detailed instructions and test results at [[QA/Test Days/2009-02-19]].
  
 
== User Experience ==
 
== User Experience ==
Line 46: Line 48:
  
 
== Dependencies ==
 
== Dependencies ==
* maybe kernel for sreadahead
+
* kernel for sreadahead or another mechanism to gather information about what files are used during the boot process
* module-init-tools
+
 
* setroubleshoot-server
+
=== Blocker Bugs ===
* gdm login infrastrucure
+
* rpcbind
+
* no regression in other parts of the system
+
  
 
== Contingency Plan ==
 
== Contingency Plan ==
Line 61: Line 60:
 
;Fedora 10 top 5 disk usage tasks
 
;Fedora 10 top 5 disk usage tasks
 
:http://www.harald-hoyer.de/personal/blog/fedora-10-disk-io
 
:http://www.harald-hoyer.de/personal/blog/fedora-10-disk-io
 +
;Fedora 10 - Boot Analysis
 +
:https://www.harald-hoyer.de/personal/blog/fedora-10-boot-analysis
 
;Upstart
 
;Upstart
 
:http://upstart.ubuntu.com/wiki/
 
:http://upstart.ubuntu.com/wiki/
Line 67: Line 68:
 
;setroubleshoot
 
;setroubleshoot
 
:https://fedorahosted.org/setroubleshoot/
 
:https://fedorahosted.org/setroubleshoot/
 +
;Summary of the Fedora 11 - 20 Seconds Boot Feature - Test Day 
 +
:http://www.harald-hoyer.de/personal/blog/20_Seconds_Boot_Feature_Test_Day
 +
 +
=== Resolved Bugs ===
 +
* [https://bugzilla.redhat.com/show_bug.cgi?id=464045 sreadahead review] (kernel patch missing, though)
 +
* [https://bugzilla.redhat.com/show_bug.cgi?id=483817 reimplement /usr/bin/fedora-setup-keyboard in C to speed up boot] (fixed)
 +
* [https://bugzilla.redhat.com/show_bug.cgi?id=484217 only call fedora-setup-keyboard for keyboards] (fixed)
 +
* [https://bugzilla.redhat.com/show_bug.cgi?id=476662 setroubleshoot lazy import] (fixed)
 +
* [https://bugzilla.redhat.com/show_bug.cgi?id=476663 setroubleshoot lazy rpm usage] (fixed)
 +
* [https://bugzilla.redhat.com/show_bug.cgi?id=476798 auditd cannot be started via Upstart] (fixed)
 +
* [https://bugzilla.redhat.com/show_bug.cgi?id=479581 fuse has an unnecessary init script] (fixed)
 +
* [https://bugzilla.redhat.com/show_bug.cgi?id=479580 use dbus service-activation to start the kerneloops daemon] (fixed)
 +
* [https://bugzilla.redhat.com/show_bug.cgi?id=485974 var/run/gdm/auth-for* directories not removed.... slows boot] (fixed)
 +
 +
=== Bugs for F12 ===
 +
* [https://bugzilla.redhat.com/show_bug.cgi?id=479587 disturbing hacks to start nfs-utils services on demand (not entirely serious)]
 +
* [https://bugzilla.redhat.com/show_bug.cgi?id=480668 (RFC, PATCH) start cups on demand, using xinetd]
 +
* [https://bugzilla.redhat.com/show_bug.cgi?id=484345 start the bluetooth service via udev]
 +
* [https://bugzilla.redhat.com/show_bug.cgi?id=476023 microcode_ctl busy polling] [https://bugzilla.redhat.com/show_bug.cgi?id=479898 microcode_ctl ships a pointless init script]
  
 
== Release Notes ==
 
== Release Notes ==
  
'''FIXME'''
+
To reduce boot time, the setroubleshoot daemon and several small bottlenecks were removed. Regressions in using the readahead service were removed by setting low I/O priorities. Readahead now profiles the system every time the rpm database changes. The behavior of readahead can be tweaked by editing /etc/sysconfig/readahead.
 +
 
 
<!-- The Fedora Release Notes inform end-users about what is new in the release.  Examples of past release notes are here: http://docs.fedoraproject.org/release-notes/ -->
 
<!-- The Fedora Release Notes inform end-users about what is new in the release.  Examples of past release notes are here: http://docs.fedoraproject.org/release-notes/ -->
 
<!-- The release notes also help users know how to deal with platform changes such as ABIs/APIs, configuration or data file formats, or upgrade concerns.  If there are any such changes involved in this feature, indicate them here.  You can also link to upstream documentation if it satisfies this need.  This information forms the basis of the release notes edited by the documentation team and shipped with the release. -->
 
<!-- The release notes also help users know how to deal with platform changes such as ABIs/APIs, configuration or data file formats, or upgrade concerns.  If there are any such changes involved in this feature, indicate them here.  You can also link to upstream documentation if it satisfies this need.  This information forms the basis of the release notes edited by the documentation team and shipped with the release. -->
Line 81: Line 102:
 
----
 
----
  
[[Category:FeaturePageIncomplete]]
+
[[Category:FeatureAcceptedF11]]
 +
[[Category:Features with incomplete scope]]

Latest revision as of 08:27, 16 April 2009


Contents

[edit] 20SecondStartup

[edit] Summary

Boot faster than the F10 Features/30SecondStartup. Make Fedora boot and shut down faster. The goal is to be at the login screen in 20 seconds and be as fast as possible after the login (gnome-session).

[edit] Owner

[edit] Current status

  • Targeted release: Fedora 11
  • Last updated: (Apr 14 2009)
  • Percentage of completion: 100% ( 10/10 filed bugs resolved, rest moved to F12)

[edit] Detailed Description

Identify bloated tasks in the boot process and make them faster and use less disk I/O.

See: Fedora 10 top 5 disk usage tasks http://www.harald-hoyer.de/personal/blog/fedora-10-disk-io

See, if sreadahead can be used (needs kernel patch), and if Upstart can start core services in parallel.

[edit] Benefit to Fedora

A faster boot makes for happy users.

[edit] Scope

Possibly involves all packages that are involved in the boot sequence, udev, module-init-tools, kernel, nash, upstart, readahead, setroubleshoot, gdm.

[edit] Test Plan

  • install bootchart
  • modify /sbin/bootchartd to exit on "firefox" not "gdm kdm" etc. and sleep 10-20 seconds after that
  • reboot, login, start firefox, close firefox
  • measure time until closing of firefox

See detailed instructions and test results at QA/Test Days/2009-02-19.

[edit] User Experience

Turn on computer, wait 20 seconds, select user on login screen.

[edit] Dependencies

  • kernel for sreadahead or another mechanism to gather information about what files are used during the boot process

[edit] Blocker Bugs

[edit] Contingency Plan

This is an incremental feature. If we don't quite get down to 20 seconds, too bad, we can just take whatever improvements we have.

[edit] Documentation

Fedora 10 top 5 disk usage tasks
http://www.harald-hoyer.de/personal/blog/fedora-10-disk-io
Fedora 10 - Boot Analysis
https://www.harald-hoyer.de/personal/blog/fedora-10-boot-analysis
Upstart
http://upstart.ubuntu.com/wiki/
sreadahead
http://code.google.com/p/sreadahead/
setroubleshoot
https://fedorahosted.org/setroubleshoot/
Summary of the Fedora 11 - 20 Seconds Boot Feature - Test Day
http://www.harald-hoyer.de/personal/blog/20_Seconds_Boot_Feature_Test_Day

[edit] Resolved Bugs

[edit] Bugs for F12

[edit] Release Notes

To reduce boot time, the setroubleshoot daemon and several small bottlenecks were removed. Regressions in using the readahead service were removed by setting low I/O priorities. Readahead now profiles the system every time the rpm database changes. The behavior of readahead can be tweaked by editing /etc/sysconfig/readahead.


[edit] Comments and Discussion