You are not logged in.

#1 2011-05-29 09:17:24

rzepaczyk
Member
Registered: 2010-12-23
Posts: 74

slow system boot after tweaks

yesterday I founded article on wiki about optimizations that can make my arch boot faster. So I:
disabled some of unused tty
added flags to menu.lst
disabled autoload modules in rc.conf and make load only those which were listed by hwdetect
changed mkinitcpio hooks
https://wiki.archlinux.org/index.php/Speed_Up_udev Option 3
but now I'm a little dissapointed because when arch is booting and process comes to Loading Modules it takes much much longer than whole booting process before "optimizations". How to solve it?

Last edited by rzepaczyk (2011-05-29 09:19:13)

Offline

#2 2011-05-29 19:32:06

demian
Member
From: Frankfurt, Germany
Registered: 2009-05-06
Posts: 709

Re: slow system boot after tweaks

The only thing on your list that's not likely to cause these kind of complications is no. 1 - disabling unused ttys.
--

I would first enable module autoloading again. If the system still boots slowly after that, you can cross the module section off your list.

In that case I'd move on to the symbolic link you made for udev (option 3). Is the symlink really accurate?

If so, move on to the mkinitcpio hooks. They really shouldn't be tempered with. But just in case, this is all you need for a system with root on an ahci device using filesystem ext4:
MODULES="ahci sd_mod ext4
HOOKS="base"
It is safer to use the default though
HOOKS="base udev autodetect pata scsi sata filesystems"

If restoring the default mkinitcpio doesn't help there's only one point left on your list. Delete the kernel boot parameters.

There's also a bug in 2.6.39 related to modules ee-prom where the system would hang @ loading modules but that seems unlikely here.

P.S.:
Also, do a system update. There's a new version of udev that might or might not fix your issue.

Last edited by demian (2011-05-29 19:34:06)


no place like /home
github

Offline

#3 2011-05-29 21:58:11

rzepaczyk
Member
Registered: 2010-12-23
Posts: 74

Re: slow system boot after tweaks

I did some changes:
in mkinitcpio.conf:
MODULES="ahci sd_mod ext4"
HOOKS="base udev"
(checked on default hooks, on base and now I'm using base and udev and nothing changed)
restored rc.conf to default(autoload modules on)
restored load_modules.sh to default
restored default kernel boot parameters
and now udev  takes 20s to initialize -.-
i'm using 2.6.38 kernel on 64b machine, udev already updated

Last edited by rzepaczyk (2011-05-29 21:59:01)

Offline

#4 2011-05-30 08:10:50

demian
Member
From: Frankfurt, Germany
Registered: 2009-05-06
Posts: 709

Re: slow system boot after tweaks

You know you have to do mkinitcpio -p kernel26 after a change to /etc/mkinitcpio.conf, right?
If you did and it didn't help, restore it to default

As for your rc.conf:
Did you remove the MODULES=() array in rc.conf?

It should look like this:
MOD_AUTOLOAD="yes"
MODULES=()

You can also try changing
UDEV_TIMEOUT=30
to something lower.

Good luck tongue


no place like /home
github

Offline

#5 2011-05-30 11:43:06

rzepaczyk
Member
Registered: 2010-12-23
Posts: 74

Re: slow system boot after tweaks

Yes, I remember that. moduless array is empty, where is udev_timeout?

Offline

Board footer

Powered by FluxBB