LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Some advice on how to boot faster ? (https://www.linuxquestions.org/questions/slackware-14/some-advice-on-how-to-boot-faster-137554/)

snop 01-22-2004 03:18 PM

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

zefo 01-22-2004 03:26 PM

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?

Tinkster 01-22-2004 03:49 PM

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

snop 01-23-2004 08:46 AM

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

snop 01-23-2004 09:40 AM

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 ?

zefo 01-23-2004 10:15 AM

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)

nesware 01-23-2004 11:41 AM

[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

Tinkster 01-23-2004 12:47 PM

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


All times are GMT -5. The time now is 04:07 AM.