Slow upstart boot in 9.10
Steve Flynn
anothermindbomb at gmail.com
Thu Feb 11 22:02:11 UTC 2010
On Thu, Feb 11, 2010 at 8:43 PM, Bill Moseley <moseley at hank.org> wrote:
> Here's the one I just ran.
> http://hank.org/tiger-karmic-20100211-3.png
I'm still intrigued by the complete lack of time spent in ureadahead.
I'm running on a desktop single core Athlon 64 at 1.8 Ghz so not a
powerhouse by any stretch of the imagination and compare my bootchart
with yours - specifically the first comple of lines - my boot process
pretty much halts whilst readahead is caching everything which will be
required by the forthcoming programs and as you can see, it takes some
30s to slurp it all in, yet your machine is all done and dusted in
half a second - this is why I wondered if you were on a solid state
drive... and how could I gain sign-off from Atilla the Hen to buy one!
:)
My bootchart for comparison purposes.
http://www.axifile.com/?8776697
>>
>> Could you try turning off auto-login please and reboot - I'd like to
>> see the bootchart from that too... it'll be in the same place,
>> suffixes id -1, -2, -3, -4 etc one per boot that date.
>
> I don't have auto-login enabled. I always log in at the gdm prompt.
Hmm...
>>
>> You fire up modem_manager and wpa-supplicant. Are these required for you?
>> PostGres is in there too, along with Mediatomb... were you aware?
>
> I don't need the modem_manager. I assume I need wpa-supplicant for my
> wireless WPA security. Yes, I need the database. Mediatomb probably could
> be removed. I was playing with it and a new blue-ray player that does UPnP
> (the DVD player can access the media on my laptop over the wireless. Kind
> of fun.
I don't think it'll make any difference to be honest, but a lighter
machine is a faster machine.
Booting with "noquiet nosplash" might give you an idea of roughly
where the big pause seems to be - the only thing I can see is the
quiet spot at about 97 seconds but certainly nothing in the 30s pause
vicinity.
I assume that if you look in /var/lib/readahead you don't have a file
there named "pack" or if you do, it's very small - couple of K? If so
try rebooting but add "profile" after (no)quiet (no)splash.
Once the machine has completely booted, reboot once more. It's just
profiled what is required in the forthcoming boot sequence for
subsequent boots.
Do your boot times improve after this?
If not, then deleting /var/lib/readahead/pack will put things back to
as they are now...
--
Steve
When one person suffers from a delusion it is insanity. When many
people suffer from a delusion it is called religion.
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
More information about the ubuntu-users
mailing list