Unusually long boot times with high disk usage ...
Hi all
I am often having very long boot times with my laptop (i7 2nd Gen, running Kubuntu 11.10 x64). I did not face this problem with any previous installation. I changed the boot line to remove splash and see where the boot process was getting stuck - the computer sort of hangs after all the startup scripts are run and then there are 2 lines "fsck from util-linux" after a very long time after which everything proceeds normally. The HDD LED stays bright all the time. I assumed fsck was being run everytime so I manually changed the parameters using tune2fs to run it every 2 weeks, but still the problem persists. Here's a portion of dmesg Code:
[ 2.885315] sr 1:0:0:0: Attached scsi generic sg1 type 5 TIA :) |
Long shot here and its more to satisfy my curiosity than anything but have you disabled ureadahead? Try doing that, or remove it altogether, and let us know what the result is.
|
^ It seems ureadahead was the culprit. Great advice , you have my thanks.
I removed the pack files but then instead of retracing I got a Status 5 error message - but the boot was fast - so I removed the whole package using apt. Now the system boots to the login screen in <15 seconds from GRUB , although the time after login to desktop screen is increased by about 5-odd seconds (this was expected I guess), but this is most satisfying. Thanks again. |
Ah, goes to show they still haven't fixed the thing. ureadahead was one of the, many, reasons I ditched Ubuntu and eventually moved to Debian. I fought with it for along time and recommended people remove it, a thread was started at Ubuntu Forums by the developer in response to my recommendations. Still after a couple of years it can obviously cripple a computer.
|
All times are GMT -5. The time now is 04:28 AM. |