You are not logged in.
Pages: 1
Sup,
I have just installed the system. I heard that Arch is supposed to boot very quickly, but after installing just Gnome it was actually starting slower than fully bloated Ubuntu. I changed the daemons a little, and its now significantly faster but still over 30 seconds (Ubuntu on minimal install takes about 25 seconds on my machine).
This is the order I am using:
@gdm @syslog-ng @alsa @network hal @crond @fam
Its probably totally wrong. What can I improve and what are other effective methods to speed the boot up?
Last edited by corsakh (2009-11-15 06:31:26)
Offline
http://wiki.archlinux.org/index.php/Cat … _(English)
Last edited by Duologic (2009-11-13 09:01:31)
Offline
Offline
A few thoughts from my end:
Remove gdm from daemons and don't background syslog-ng. Put dbus and then hal after syslog-ng. Remove fam and install gamin. If you want gdm to start automatically edit /etc/inittab and change to init5 and then x session at the bottom to gdm instead of xdm.
Offline
I backup sHyLoCk thoughts with the minor change that, because HAL launches dbus you just need to put HAL and preferably right after syslog-ng
Offline
Can I background hal?
Offline
Can I background hal?
Usually: No. It is responsible for proper hardware setup and must have finished its work before othe modules can use the hardware.
To know or not to know ...
... the questions remain forever.
Offline
Ok, good news: I boot in 15 seconds
Bad news: Boot up crashes 3 out of 4 times
Ok, a little preamble. I have two disks, one with windows, one with arch. For some reason, different programs at different times may read them as different devices, ie one program would read disk 1 as sda, another would read it as sdb. So when I boot up and it checks the file systems, half the time it reads it correctly and half the time not - every time it does not read it correctly, I crash. So I changed fstab by UUID and it works great, no crashes. Now quick init for some reason does not like this UUID and at the end I receive a noswap message saying dev with this swap UUID can not be found. Ok, so I go to fstab and change UUID to /dev/ format, and the quick init works. But now I crash half the time when the file system is checked. And half the time at the end of the boot, before the graphical interface starts. So effectively I crash 75% of the time Can I use fstab with UUID and quick init at the same time? Should I replace /dev/ format with UUID= format in that paste fragment?
Offline
You must ask adriano. Come to the quick init discussion. But anyway it is no way related to Arch since its a 3rd party script.
Last edited by sHyLoCk (2009-11-14 13:27:44)
Offline
just curious
whats the most efficient order for my daemons ?
syslog-ng network netfs crond hal @alsa @sshd @httpd @fail2ban @mysqld @svnserve @cups
Last edited by murfMan (2009-11-14 15:07:15)
Offline
just curious
whats the most efficient order for my daemons ?syslog-ng network netfs crond hal @alsa @sshd @httpd @fail2ban @mysqld @svnserve @cups
Just a thought:
syslog-ng hal @crond @network @netfs @sshd @httpd @fail2ban @mysqld @svnserve @alsa @cups
Offline
oh god. i tried the quick init script and it broke something
so i uninstalled, and replaced my original inittab. it and now i can't boot into runlevel5 anymore.
here is my inittab
# /etc/inittab
#
# Runlevels:
# 0 Halt
# 1(S) Single-user
# 2 Not used
# 3 Multi-user
# 4 Not used
# 5 X11
# 6 Reboot
## Only one of the following two lines can be uncommented!
# Boot to console
#id:3:initdefault:
# Boot to X11
id:5:initdefault:
rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p
# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux
c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux
c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux
c4:2345:respawn:/sbin/agetty -8 38400 tty4 linux
c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux
c6:2345:respawn:/sbin/agetty -8 38400 tty6 linux
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# Example lines for starting a login manager
x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >& /dev/null
# End of file
if i login on runlevel 3 and do startx ... everything starts normally .
Last edited by murfMan (2009-11-14 15:35:22)
Offline
i tried the quick init script and it broke something
so i uninstalled, and replaced my original inittab. it and now i can't boot into runlevel5 anymore.
i have id:5:initdefault uncommented in inittab
Copy paste your inittab here.
Offline
i edited my post above
i tried to catch some of the output from the boot process but it was going too fast. it said something like failed run level 5 reverting to run level 3
i don't know if this helps
is there a way to pause the output?
Last edited by murfMan (2009-11-14 15:40:43)
Offline
LOL
thanks man.
Offline
I think its working fine now after setting normal partitions by UUID and spaw by /dev/ in fstab.
12 seconds, much better.
Last edited by corsakh (2009-11-14 21:08:11)
Offline
12 seconds from grub to ??? (using bootchartd?)
please consider reading this post: http://bbs.archlinux.org/viewtopic.php? … 05#p657505
Offline
Is it safe to background network?
I have a SSD drive and my boot process is very fast, the only thing that takes forever ist network. When I don't have my ethernet cable plugged and only wlan is up, it takes even longer.
I also have privoxy in my daemon list, so I'm not sure.
Offline
Is it safe to background network?
I have a SSD drive and my boot process is very fast, the only thing that takes forever ist network. When I don't have my ethernet cable plugged and only wlan is up, it takes even longer.
I also have privoxy in my daemon list, so I'm not sure.
I avoided that issue by using netcfg and removing network from the daemon list altogether. See netcfg in the wiki for details.
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline
Pages: 1