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 |
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? |
Re: Some advice on how to boot faster ?
Quote:
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 |
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 |
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 ? |
Re: Solved!
Quote:
|
[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 |
Re: Solved!
Quote:
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. |