SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 ?
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? :)
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).
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 ?
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)
[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..
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 ;)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.