PDA

View Full Version : [all variants] mountall waits for ureadahead?



doixanh
July 21st, 2010, 07:03 PM
I'm in the progress of optimizing lucid for faster boot.

This is my current result:
http://dnxp.comule.com/images/dxlaptop-lucid-20100721-1-15.62s.png

As can be seen, mountall waits for ureadahead to finish then it starts.
I'm wondering why we can't run ureadahead and mount at the same time (because mounting doesn't read from hdd much).

I change /etc/init/ureadahead.conf like this
Original

exec /sbin/ureadahead --daemon

Modified

exec /sbin/ureadahead --daemon &

and the result is :
http://dnxp.comule.com/images/dxlaptop-lucid-20100721-8.png

As can be seen, mountall waits ureadahead to finish before actually calls "mount".

My question is, is there any way to force mountall to call "mount" before ureadahead finishs its job?