Kernel Summit: kexec and fast booting
Posted Jul 22, 2004 23:58 UTC (Thu) by
melauer (guest, #2438)
In reply to:
Kernel Summit: kexec and fast booting by Rakshasa
Parent article:
Kernel Summit: kexec and fast booting
> I wonder... how many of those "slow" sleep commands are in the restart
> sections?
Or, for that matter, in services which you don't use.
[me@localhost init.d]$ grep sleep * | wc -l
22
[me@localhost init.d]$ grep sleep *
alsa: sleep 1
dm: sleep 5
functions: usleep 100000
functions: if checkpid $pid && sleep 1 &&
functions: checkpid $pid && sleep 3 &&
functions: usleep 100000
halt:sleep 5
halt: sleep 5
halt: sleep 2
halt: sleep 5
halt: sleep 120
lm_sensors: sensors -s && sleep 2
firewall: sleep 1
mtink: sleep 2
netfs: sleep 5
netfs: sleep 2
netfs: sleep 5
netfs: sleep 2
netfs: sleep 5
pcmcia: sleep 2
single:sleep 5
sshd: sleep 3
I'm pretty sure that sleep commands in "halt" don't matter in booting, and
I don't use "netfs" (the other top offender) or many of these other
services.
(
Log in to post comments)