Reduce sleeping in /etc/init.d/usplash:usplash_quit() for slightly faster boot
Bug #313574 reported by
Jonas Diemer
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").
Changed in gdm: | |
assignee: | nobody → kamion |
status: | New → In Progress |
To post a comment you must log in.
This bug was fixed in the package usplash - 0.5.26
---------------
usplash (0.5.26) jaunty; urgency=low
* Fix various compiler warnings. splash- functions: Kill usplash more gracefully in splash_stop; functions to match the previous behaviour of giving usplash up to
* debian/
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-
10 seconds to go away (LP: #313574).
-- Colin Watson <email address hidden> Tue, 06 Jan 2009 12:00:21 +0000