Readahead should start in the background

Bug #70858 reported by kiddion
6
Affects Status Importance Assigned to Milestone
readahead-list (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: readahead

For some people, including me, using "readahead" as it is, slows down boottime instead of speeding it up. It helped a great deal to start the readahead-list binary using --background instead, which makes more sense anyway.

Of course, for a "profile" run, the readahead-watch program should not be started in the background!

Also there is some ugly scriptcode used in the readahead/readahead-desktop scripts, which does not make sense:
----
if /sbin/start-stop-daemon [snip]
then
     log_end_msg 0
else
    log_end_msg $?
fi
----

This suffices:
----
/sbin/start-stop-daemon [snip]
log_end_msg $?
----

Revision history for this message
kiddion (kiddion) wrote :

Hmm, seems the contrary of:
https://launchpad.net/distros/ubuntu/+source/readahead-list/+bug/59716

However, booting with readahead in the foreground (thus stalling the bootprocess), my bootime in edgy is roughly 55 seconds, while it is 47 seconds when readahead is started in the background...

And a lot of people at http://www.ubuntuforums.org don't benefit from readahead in the foreground. It seems illogical that readahead can be faster in the foreground - reading ahead large files like all python libraries implicitly used by hplip/kde-guidence and all fonts loaded by X before continuing the bootprocess.

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Rationale was provided for the change to foreground.

Please provide equal or more research

Changed in readahead-list:
status: Unconfirmed → Rejected
Revision history for this message
Egon Alter (egon-alter) wrote :

attached are some bootcharts for
 released version of readahead (27 seconds)
 + background (22 seconds / 19 % faster)
 + ionice -c3 (21 seconds / another 3 % faster)

Revision history for this message
Egon Alter (egon-alter) wrote :
Revision history for this message
Egon Alter (egon-alter) wrote :
Revision history for this message
David Gaarenstroom (david-gaarenstroom) wrote :

Interesting... Too bad ionice is in /usr/bin which automatically qualifies it as unusable... (/usr may not be mounted yet)

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.