package: readahead
version: 1.20060421.1016-3
severity: wishlist


Since version 1:0.20050517.0220-0ubuntu4, readahead runs in the
foreground, not the background, in order to avoid i/o concurrency
(which is slow).
A better approach: run with the ionice wrapper (not available at
time of 1:0.20050517.0220-0ubuntu4) and in the background. This
can make use of the many delays that exists at boot time.

I think this shoud suffice:
...
            if /sbin/start-stop-daemon --start --background --quiet \
                --pidfile /var/run/readahead-list.bogus \
--startas /usr/bin/ionice -- -c 3 /sbin/readahead-list -s /etc/readahead/boot; then
...


Another variant is ionice -n7.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to