Speeding up boot time?
Bill Davidsen
davidsen at tmr.com
Sun Mar 6 01:23:23 UTC 2011
Chris Smart wrote:
> Hi all,
>
> Has anyone got any tips for decreasing boot time? I've done the usual
> things, such as disable (what I think are) unnecessary services for a
> desktop, but are there any other tips?
>
> These are the services I'm disabling, please tell me if you think any
> of those are a stupid choice:
> capi, iscsi, iscsid, isdn, netfs, network, nfs, nfslock, pcscd,
> rpcbind, rpcgssd, rpcidmapd, rpcsvcgssd, sendmail
>
> There used to be a cheat's way of allowing an early login, I think it
> was gdm-early-login, but it doesn't seem to exist any more (and that's
> probably a bad idea anyway).
>
What are you doing which is taking time? You can put a tool like btime in
rc.local to show what the system did during boot, in terms of cpu use and
iowait. Are you mounting filesystems which could be mounted after the login
prompt is up? Are you doing network operations which could wait? Is your system
assembling a bunch of software raid arrays?
Do some probing to see if you are doing work which could wait, or if your
hardware is just not up to the load. Have you tuned your readahead? Tried the
'fastboot' option on the kernel command line?
Finally, how often do you boot? How long does your boot take now? How much
effort is justified in making that faster?
--
Bill Davidsen <davidsen at tmr.com>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot
More information about the users
mailing list