Ask Your Question
0

Terrible boot and program load time on new laptop

asked 2012-03-02 12:51:18 -0500

Sman798 gravatar image

updated 2014-09-28 18:22:22 -0500

mether gravatar image

(EDIT - laptop hardware details are basically these http://www.scan.co.uk/products/156-ms... except mine has 6GB of RAM - everything else looks about the same)

I have an MSI GX660R laptop which came with Windows and on which Windows runs without issue (once the right drivers are installed). When I install Fedora 16 or Ubuntu 11.10, however, boot time becomes ridiculous - in excess of 40 seconds after BIOS - and application load speeds are lengthened by a similar proportion when run for the first time after a boot up. On my other laptop, a four year old Acer which was not particularly impressive even in its prime, Ubuntu boots in half the time and launches Firefox immediatly. Windows also boots in around 20 seconds on this laptop with the problem, so it's not just a slow hard drive causing the problem.

So far, I've had no luck in finding or fixing the problem. The HDD's SMART status is fine, output of

sudo hdparm -i /dev/sda

is

 /dev/sda:

 Model=Hitachi HTS545050B9A300, FwRev=PB4OC60F, SerialNo=101103PBN41017FPP66E
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=DualPortCache, BuffSize=7208kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=976773168
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4 
 DMA modes:  mdma0 mdma1 mdma2 
 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6 
 AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled
 Drive conforms to: unknown:  ATA/ATAPI-2,3,4,5,6,7

 * signifies the current active mode

I also made a boot chart, but I'm not linuxie enough to be able to interpret it. It can be found here if you think it may be useful. http://imageshack.us/photo/my-images/...

Thankyou for any help or advice you might be able to give me :)

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2012-03-02 15:46:39 -0500

KevinA gravatar image

updated 2012-03-02 15:48:33 -0500

Sman798,
Can you also provide an output of "systemd-analyze blame"? Also the links below have more information on how Benjamin improved his boot time by disabling services. More than likely the reason the boot time is longer than expected is because unnecessary services are starting. On a laptop there are a handful of processes that get started by default and in my opinion don't need to be. That causes things to sit in a waiting state for a timeout to occur for example sendmail with out a active network connection.

Which service is doing what
Slow iscsi

edit flag offensive delete link more
0

answered 2012-03-02 17:31:16 -0500

Sman798 gravatar image

updated 2012-03-03 07:16:16 -0500

I don't think it's anything to do with the default configuration of any distribution - my old (four years +) laptop boots in half the time of my current one. Also, it's program loading times (from a cold start) as much as boot time which appears to be affected.

But I'm afraid I just installed Ubuntu a few hours ago to test if the problem still occurs on that distribution - which it does. Is there an equivalent command I can use here to get the information you need. If necessary I can put Fedora back tomorrow but if anything can be done from Ubuntu I'd like to try it. The problem, after all, does seem to be fairly cross-distribution (if that's a word :D )

Output of

sudo chkconfig --list | grep on

on Ubuntu as requested:

acpi-support              0:off  1:off  2:on   3:on   4:on   5:on   6:off
anacron                   0:off  1:off  2:off  3:off  4:off  5:off  6:off
apparmor                  0:off  1:off  2:off  3:off  4:off  5:off  6:off  S:on 
atieventsd                0:off  1:off  2:on   3:on   4:on   5:on   6:off
avahi-daemon              0:off  1:off  2:off  3:off  4:off  5:off  6:off
bluetooth                 0:off  1:off  2:on   3:on   4:on   5:on   6:off
brltty                    0:off  1:off  2:off  3:off  4:off  5:off  6:off  S:on 
console-setup             0:off  1:off  2:off  3:off  4:off  5:off  6:off
cron                      0:off  1:off  2:off  3:off  4:off  5:off  6:off
dns-clean                 0:off  1:on   2:on   3:on   4:on   5:on   6:off
grub-common               0:off  1:off  2:on   3:on   4:on   5:on   6:off
kerneloops                0:off  1:off  2:on   3:on   4:on   5:on   6:off
killprocs                 0:off  1:on   2:off  3:off  4:off  5:off  6:off
networking                0:on   1:off  2:off  3:off  4:off  5:off  6:off
ondemand                  0:off  1:off  2:on   3:on   4:on   5:on   6:off
pcmciautils               0:off  1:off  2:off  3:off  4:off  5:off  6:off  S:on 
pppd-dns                  0:off  1:on   2:on   3:on   4:on   5:on   6:off
pulseaudio                0:off  1:off  2:on   3:on   4:on   5:on   6:off
rc.local                  0:off  1:off  2:on   3:on   4:on   5:on   6:off
rsync                     0:off  1:off  2:on   3:on   4:on   5:on   6:off
saned                     0:off  1:off  2:on   3:on   4:on   5:on   6:off
sendsigs                  0:on   1:off  2:off  3:off  4:off  5:off  6:off
speech-dispatcher         0:off  1:off  2:on   3:on   4:on   5:on   6:off
sudo                      0:off  1:off  2:on   3:on ...
(more)
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-03-02 12:51:18 -0500

Seen: 388 times

Last updated: Mar 03 '12