LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-30-2012, 01:58 AM   #1
symidran
LQ Newbie
 
Registered: May 2006
Distribution: Kubuntu 11.10 "Oneiric"
Posts: 28

Rep: Reputation: 16
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
[    3.203399] ata5: SATA link down (SStatus 0 SControl 300)
[    3.217984] input: USB Optical Mouse as /devices/pci0000:00/0000:00:1c.3/0000:04:0
0.0/usb3/3-2/3-2:1.0/input/input7
[    3.219010] generic-usb 0003:0461:4D81.0001: input,hidraw0: USB HID v1.11 Mouse [U
SB Optical Mouse] on usb-0000:04:00.0-2/input0
[    3.220005] usbcore: registered new interface driver usbhid
[    3.220960] usbhid: USB HID core driver
[    5.686966] EXT4-fs (sda7): mounted filesystem with ordered data mode. Opts: (null
)
[   61.443087] udevd[411]: starting version 173
[   61.505992] lp: driver loaded but no devices found
[   61.729432] Adding 3807228k swap on /dev/sda6.  Priority:-1 extents:1 across:38072
28k 
[   61.830356] acpi_call: Module loaded successfully
[   62.201285] mei: module is from the staging directory, the quality is unknown, you have been warned.
[   62.201634] mei 0000:00:16.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[   62.201642] mei 0000:00:16.0: setting latency timer to 64
Please advise me how should I solve this issue.

TIA
 
Old 01-30-2012, 02:19 AM   #2
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
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.
 
1 members found this post helpful.
Old 01-30-2012, 06:38 AM   #3
symidran
LQ Newbie
 
Registered: May 2006
Distribution: Kubuntu 11.10 "Oneiric"
Posts: 28

Original Poster
Rep: Reputation: 16
^ 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.
 
Old 01-30-2012, 12:09 PM   #4
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
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.
 
  


Reply

Tags
booting, fsck


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Extremely slow write on disk with high CPU usage aliojjati Linux - Newbie 1 09-04-2010 01:29 AM
hard disk memory usage weirldy high nikooo777 Linux - Security 2 04-02-2010 02:33 PM
[SOLVED] High CPU usage during disk IO? Is this normal? epsilon72 Linux - Hardware 5 02-24-2010 07:58 AM
unusually long wait time for mutex gecoool Programming 1 11-15-2005 10:58 AM
Unusually high load subhasis_ray Linux - General 5 09-17-2002 09:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration