Reduce sleeping in /etc/init.d/usplash:usplash_quit() for slightly faster boot

Bug #313574 reported by Jonas Diemer
2
Affects Status Importance Assigned to Milestone
gdm (Ubuntu)
Fix Released
Undecided
Colin Watson
usplash (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: usplash

During a bootchart analysis, I noticed that the usplash init script sleeps for 1 whole second waiting for usplash to quit in the function usplash_quit(), line 69. I reduced this to 0.1 seconds, which slightly improves my total boot time.

I suggest that this is also done in the ubuntu/debian package (i.e. change "sleep 1" to "sleep 0.1").

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package usplash - 0.5.26

---------------
usplash (0.5.26) jaunty; urgency=low

  * Fix various compiler warnings.
  * debian/splash-functions: Kill usplash more gracefully in splash_stop;
    introduces new SPLASH_ORIG_CONSOLE environment variable which can be
    checked by other init scripts (LP: #304136).
  * Notify the main loop by means of a self-pipe when SIGALRM is triggered,
    rather than attempting to animate the display from a signal handler
    (thanks to Andrea Gasparini for testing and adjustment; LP: #259761).
  * Sleep for 0.1 second rather than 1 second in init script while waiting
    for usplash to die, and adjust the loop count both there and in
    splash-functions to match the previous behaviour of giving usplash up to
    10 seconds to go away (LP: #313574).

 -- Colin Watson <email address hidden> Tue, 06 Jan 2009 12:00:21 +0000

Changed in usplash:
status: New → Fix Released
Colin Watson (cjwatson)
Changed in gdm:
assignee: nobody → kamion
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gdm - 2.20.8-0ubuntu7

---------------
gdm (2.20.8-0ubuntu7) jaunty; urgency=low

  * debian/patches/15_usplash.patch: Reduce sleep granularity to 0.1 seconds
    rather than 1 second, to match usplash 0.5.26 (LP: #313574).

 -- Colin Watson <email address hidden> Thu, 05 Feb 2009 17:57:09 +0100

Changed in gdm:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.