Comment 67 for bug 508516

Revision history for this message
jim_charlton (charltn) wrote :

Yes. I was correct. I did (as root):
apt-get remove bootchart
reboot

The reboot took 2 minutes 42 seconds.

reboot

The reboot took 7 minutes 34 seconds (longer, I presume, because ureadahead has installed a pack file after profiling on the first boot).

apt-get install bootchart
(check to make sure there are not pack files in /var/lib/ureadahead (there were not)
reboot

The reboot took 32 seconds

reboot

The reboot took 23 seconds. (shorter as ureadahead has profiled on the first boot and the pack file now actually works to shorten boot time).

So installing bootchart is the secret! It must subtly change the timing of the execution of upstart jobs such that some jobs complete in time for the next job to start. Without it.... something is starting too soon and causing the long delay.

So what happens in "resume"? Does it also use upstart? I need to do some reading. Maybe the solution to the resume delay is something as simple as changing the order/timing of the restarting of system tasks.

In the meantime... the slow boot can be (apparently) be solved by installing bootchart.