LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-30-2009, 07:08 AM   #1
kieronflynn
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Rep: Reputation: 0
Boot up time


Hello There,up

I am a windows developer but very much a Linux newbie..., have just installed Ubuntu 9.10 and want to get the boot start up time as quick as I can.

I seems that quick startup times are a very common question, so apologies for asking yet again.. Currently my system takes around 1 and a half minutes to bootup. Seems a lot of people have faster bootups, but is this amount of time generally acceptable?

My laptop is a core 2 duo, 4 meg ram etc so not the quickest but no slouch.

I can send on anything relevant to help, I have to bootchart application loaded which I can send on if necessary?

Cheers
Kieron
 
Old 10-30-2009, 07:31 AM   #2
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 126

Rep: Reputation: 22
I got 6 seconds once. Mind you, that was the Ubuntu Netbook Remix.

Remember Google is your friend:
http://www.google.co.uk/search?q=ubu...ster+boot+time

http://tuxtraining.com/2008/09/28/ho...xtremely-fast/ looks good

~Callum
 
Old 10-30-2009, 07:33 AM   #3
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 126

Rep: Reputation: 22
Hang on 4 meg RAM? 4mb?

You need at least 512 to get a half decent boot up time.

~Callum
 
Old 10-30-2009, 08:02 AM   #4
kieronflynn
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Boot up times

Apologies, I have 4 GB memory.

As a developer I very much know that Google is my friend! ;o) But it seems that a lot of answers are relevant to older distributions, i.e. the entries in /etc/network/interfaces etc.

Obviously know that this new version is just out, more hopeful that somebody with the relevant experience can look at a startup log, this bootchart display etc, and point to something during startup which for instance is timing out and doesn't need to be there....

There has to be a reason why some people startup in 30-40secs out of the box and my laptop does not?

Cheers
Kieron
 
Old 10-30-2009, 08:10 AM   #5
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 126

Rep: Reputation: 22
That makes a lot more sense

I would recommend leaving it for a few days before looking, as it only came out yesterday. I'm going to be doing some experimenting, I'll tell you if I find anything

If you don't use IM uninstall Empathy, as it appears to be running all the time.

~Callum
 
Old 10-30-2009, 08:26 AM   #6
kieronflynn
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Messages log

Okay found this messages log which presumably shows the bootup process?

Interesting entries include

Oct 30 10:18:02 kieron-laptop kernel: [ 5.012910] type=1505 audit(1256897871.642:10): operation="profile_load" pid=465 name=/usr/sbin/cupsd
Oct 30 10:18:02 kieron-laptop kernel: [ 7.004491] Adding 497972k swap on /dev/sdb6. Priority:-1 extents:1 across:497972k
Oct 30 10:18:02 kieron-laptop kernel: [ 9.324065] EXT3 FS on sdb5, internal journal
Oct 30 10:18:02 kieron-laptop kernel: [ 10.818368] udev: starting version 147

Oct 30 10:18:13 kieron-laptop kernel: [ 26.957050] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Oct 30 10:18:19 kieron-laptop kernel: [ 33.226685] ppdev: user-space parallel port driver
Oct 30 10:18:42 kieron-laptop kernel: [ 55.408187] CE: hpet increasing min_delta_ns to 15000 nsec
Oct 30 10:18:42 kieron-laptop kernel: [ 55.408292] CE: hpet increasing min_delta_ns to 22500 nsec
Oct 30 10:19:15 kieron-laptop kernel: [ 88.672073] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Oct 30 10:19:15 kieron-laptop kernel: [ 89.147214] padlock: VIA PadLock not detected.

So seems to be taking :
  • Around 6 seconds to startup a parrallel port driver?
  • 22 seconds for the 'min_delta_ns' whatever that is
  • 32 seconds to setup wlano

Hope this sort of info is useful
Kieron
 
Old 10-30-2009, 08:55 AM   #7
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 126

Rep: Reputation: 22
Looks like someone else is having this problem:

https://answers.launchpad.net/ubuntu/+question/76071

The solution there should fix some of your problems

~Callum
 
Old 10-30-2009, 10:34 AM   #8
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,614

Rep: Reputation: 440Reputation: 440Reputation: 440Reputation: 440Reputation: 440
"I seems that quick startup times are a very common question, so apologies for asking yet again.. Currently my system takes around 1 and a half minutes to bootup. Seems a lot of people have faster bootups, but is this amount of time generally acceptable?"

One and half minute is not acceptable if you are in a hurry. The average boot up time for a well tweaked Linux should be about less than a minute. Mine (Slackware) is only 42seconds including login prompt.

Basic things thought out:

a) If you need to be fast you may recompile your kernel to load only the needed modules;

b) By all means you should "not enable" most daemons which auto load upon boot up, most of these you don't actually need;

c) There are many tweaks you can do by simply "commenting out" unnecessary commands in the /etc/rc.M script. [BE CAREFUL]

You may read some worthy posts to get familiar with what to do, here, read from here also, and here.

Hope this helps.

Good luck.
 
Old 10-30-2009, 10:39 AM   #9
jkzfixme
Member
 
Registered: Sep 2006
Location: Orange County, NY
Distribution: Ubuntu, Solaris, Android
Posts: 329
Blog Entries: 21

Rep: Reputation: 52
You might want to check out bootchart which will show you visually exactly whats starting up.

Regards,
JKZfixme
 
  


Reply


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
Start X server and app at boot time (or services load) time. scmbg Linux - General 5 10-15-2009 11:34 PM
Where do you find the Boot Log & How does klodg solve boot time issues SheMoves Linux - Newbie 2 06-25-2008 04:17 PM
rhel5 dual boot installation- no grub at boot time. xxx_anuj_xxx Red Hat 5 12-30-2007 03:53 AM
Time format in boot-time messages jonr Linux - Kernel 1 12-22-2006 01:31 PM
kernel compile time and boot time lordofring Programming 1 11-13-2005 03:04 AM


All times are GMT -5. The time now is 02:25 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration