LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-22-2004, 03:18 PM   #1
snop
Member
 
Registered: Aug 2003
Location: Bcn
Distribution: Slackware
Posts: 93

Rep: Reputation: 15
Some advice on how to boot faster ?


Hi all,

I was wondering if any of the gurus here knows some tricks to speed up boot times. I know what everyone would say first: disable all the services you don't need. And that's ok, I've already done and my bootup time is right for me. But I'm looking for some advanced (yet easy to do) tricks.

I think that the slowest part when I boot my system is bringing eth0 up. It lasts 10s more/less. Does someone experience something like this ? Can't it be faster ?

Thanks in advance.

SnOp
 
Old 01-22-2004, 03:26 PM   #2
zefo
Member
 
Registered: Mar 2003
Posts: 71

Rep: Reputation: 15
have you read this: http://www-106.ibm.com/developerwork...ry/l-boot.html ?

hope this helps.

cheers,

-- joe

btw: what distro are you using?
 
Old 01-22-2004, 03:49 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Re: Some advice on how to boot faster ?

Quote:
Originally posted by snop
I think that the slowest part when I boot my system is bringing eth0 up. It lasts 10s more/less. Does someone experience something like this ? Can't it be faster ?
How long is the over-all boot process?

And as for the things that are being displayed ...
Not EVERYTHING that happens in /etc/rc.d
echoes output to the console ... :)

If you haven't got dhcp going and the negotiations
are really slow, maybe it's something AFTER ifconfig
that doesn't output anything? :)


Cheers,
Tink
 
Old 01-23-2004, 08:46 AM   #4
snop
Member
 
Registered: Aug 2003
Location: Bcn
Distribution: Slackware
Posts: 93

Original Poster
Rep: Reputation: 15
Hi,

Thanks for you replys. It's true that I am not using DHCP.
My computer seems to do nothing for about 10s after executing ifconfig, then the boot continues fine.

I thought that It may be something else that stops the computer these 10s, but after checking the init scripts I've got no clue.

BTW I'm using Slack 9.1 (although I'm using kernel 2.6.1).

Bye

SnOp
 
Old 01-23-2004, 09:40 AM   #5
snop
Member
 
Registered: Aug 2003
Location: Bcn
Distribution: Slackware
Posts: 93

Original Poster
Rep: Reputation: 15
Solved!

Hi,

Tinkster, you were in reason. What caused the delay wasn't rc.inet1 script but hotplug!

Afetr doing some research on how the system boots up and putting some "echo's" here and there I found out that hotplug script take an eternity compared to other things.

I thought that hotplug was used to detect new connected devices once the computer was turned on but I've done chmod -x rc.hotplug and everything seems to run the same way than before. I can plug my digital USB camera and it is detected.

Isn't hotplug what I think it is ?

Thanks

SnOp

P.D.: By the way, how can I add pieces from other posts like Tinkster did ? (I mean this "quote" thing"). Do I need tu put HTML code directly to the message ?
 
Old 01-23-2004, 10:15 AM   #6
zefo
Member
 
Registered: Mar 2003
Posts: 71

Rep: Reputation: 15
Re: Solved!

Quote:
P.D.: By the way, how can I add pieces from other posts like Tinkster did ? (I mean this "quote" thing"). Do I need tu put HTML code directly to the message ?
click on <<quote>> and you'll find out.. hint: [ QUOTE ][/ QUOTE] (w/o spaces)
 
Old 01-23-2004, 11:41 AM   #7
nesware
Member
 
Registered: Jan 2004
Location: belgium
Distribution: Slackware
Posts: 117

Rep: Reputation: 15
[QUOTE ]Isn't hotplug what I think it is ?:[/QUOTE]
it is... but also in rc.modules you can add these devices... like usb-storage and so... so if you don't need it, dont worry
;-) that is indeed a nice boot up speed trick..

another one is a faster processor... hehehe
 
Old 01-23-2004, 12:47 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Re: Solved!

Quote:
Originally posted by snop
Hi,

Tinkster, you were in reason. What caused the delay wasn't rc.inet1 script but hotplug!
/me isn't surprised :}

Another thing you can think about disabling
is ldconfig in rc.M ... it's not necessarily good
practice, because it makes you responsible
to do that manually each time you install new
software with shared libraries ... but I found that
it speeds the booting up significantly :} specially
once you installed a LOT of stuff on top of your
base installation ;)


Cheers,
Tink
 
  


Reply



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
faster boot? oldforce SUSE / openSUSE 2 05-23-2005 05:36 PM
Boot Linux Faster lokee Linux - Software 11 10-13-2003 01:15 PM
how to boot faster? chandan Linux - General 6 07-03-2003 06:36 PM
Faster Boot times scottpioso Linux - General 1 03-07-2003 10:11 AM
How to boot Mandrake Linux faster (skip boot option) lava Linux - General 7 02-28-2003 02:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:24 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
Open Source Consulting | Domain Registration