View previous topic :: View next topic |
Author |
Message |
canek n00b
Joined: 01 Sep 2003 Posts: 28 Location: Ciudad de México, México
|
Posted: Tue Jul 26, 2005 4:32 pm Post subject: Booting time |
|
|
(I'm not sure of which forum this question belongs to, so I put it here. Maybe Desktop Environments will be the right one, but again, I'm not sure.)
Hi; with the stabilization of the new media-gfx/splashutils and the new themes for it, I was rebooting my machine a lot more than I usually do, while I tested the new setup. I usually don't reboot (or turn off) my machine unless a new kernel has came out.
This constant rebooting make me notice something: my machine takes more than two minutes from pressing the power button to my GDM login screen. Twenty of those are from pressing the power button to my LILO screen, so there is nothing I can do about it; but the 1:40 from LILO to GDM seems to be excesive to me.
My machine is an Athlon XP 2400+, 1 GB of RAM. This are my boot services:
Code: | mediana ~ # rc-update -s | grep boot
alsasound | boot
bootmisc | boot
checkfs | boot
checkroot | boot
clock | boot
coldplug | boot
consolefont | boot
hdparm | boot
hostname | boot
keymaps | boot
localmount | boot
modules | boot
net.lo | boot
rmnologin | boot
serial | boot
urandom | boot
|
This are my default services:
Code: | mediana ~ # rc-update -s | grep default
apache2 | default
atd | default
cupsd | default
dbus | default
distccd | default
gpm | default
hald | default
lircd | default
mysql | default
net.eth0 | default
netmount | default
nfs | default
ntp-client | default
postfix | default
samba | default
spamd | default
splash | default
sshd | default
syslog-ng | default
tomcat5 | default
vixie-cron | default
xdm | default
|
I got RC_PARALLEL_STARTUP="yes" in /etc/conf.d/rc, and I'm using udev, HAL and D-Bus. My desktop is Gnome, but I assume that doesn't matter.
I sync every week, and I run x86, stable. Except for
Code: | app-misc/lirc
sys-apps/dbus
sys-apps/hal
sys-fs/udev
|
and some other packages from Gnome.
I use all those services, so the obvious answer of turning some of them off is not an option. I want either (or all) of:
- Speed up some of them, if possible
- Truly paralellize some of them, if possible
- Move some of the services to start after GDM (xdm)
I suppose the third one is the more rational; I don't need Tomcat, Postfix, Apache, Samba, MySQL, CUPS nor NFS running before I login in my desktop. But I don't want to mess with the depend() {...} portion of my /etc/init.d scripts, at least not before I check with people more informed than me. And, if I edit my /etc/init.d scripts, there is the matter of doing it every time I update some service; but I'm willing to do that if there is not another option.
I think there should be some sort of MACHINE_CONFIGURATION option in /etc/conf.d/rc. If set to Desktop, then the "server" services should take lower precedence over GDM. If set to Server, then the services should take higher precedence. Minimal booting time (as perceived by the user) is really nice, and if only takes some seconds from LILO (or Grub) to the GDM login screen, it looks like the system is really fast, even if the system is still starting services in the background.
Anyway, any advice in regard of reducing my booting time is really appreciated. |
|
Back to top |
|
|
Ctrl+Alt+Del Guru
Joined: 04 Jul 2004 Posts: 326 Location: .de
|
Posted: Tue Jul 26, 2005 4:53 pm Post subject: |
|
|
a rather noobish attempt to help, so might not get you anywhere
20 Sec to grub sounds quite long to me, i have never ever cared to actually time it but some things you should check:
Boot Priority: my machine takes 3-4 seconds to regonize that my dvd drive is empty when it's set to boot.
Make sure your hd is the first drive the bios will try to boot from. Check if all unused IDE Slots are actually turned off in the bios, so it won't try to probe them. Quick Boot if available is enabled i guess
On the Softwareside: you could put a couple of /etc/init.d/* commands into your xinitrc and remove them from the runlevels, crude but might work... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|