You are not logged in.

#1 2007-05-02 12:32:10

sH
Member
From: Braunschweig, Germany
Registered: 2007-05-02
Posts: 145

Loading Udev events is slow, why?

Hello,

first I'm new to Arch and I think it is a very fine distribution.
It was easy to install and rc.conf is a really great way to maintain everything.

I heard that Arch is maybe the fastest distribution to boot.
I would say it is quite fast but could be even faster, if "Loading Udev events" wouldn't take such a long time.

Do you all experience the same? Everything else runs so fast, that I can't even read the lines on my monitor,
but Udev-Events takes a really long time.

Can it be tweaked?

thanks.

Offline

#2 2007-05-02 17:33:24

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: Loading Udev events is slow, why?

run hwdetect --show-modules (or something like) to find what modules udev is loading.. then turn off autoloading of modules, reboot, and load the modules one by one. one of the modules is presumably taking a long time to load - if you don't need the module, you can blacklist it.


I am a gated community.

Offline

#3 2007-05-02 18:11:38

ravster
Member
From: Queen's U, Kingston, Canada
Registered: 2004-05-02
Posts: 285
Website

Re: Loading Udev events is slow, why?

Hey, I'm getting the same error as you. It started sometime last week.
While looking up this problem on the bug tracker, I found this bug which was closed a short while ago (don't know why it was closed, though, sorry).
On the forum is this fix that requires one to edit the /etc/start_udev script. It isn't a foolproof fix though.
Right now I'm just keeping my system updated and pressing the "reset" button till it works. I'll also try stonecrest's suggestion to use hwdetect. I had a look at 'hwdetect --help' and it suggested I use

hwdetect --show-modules-order

if I want it to show the modules in the order that they are to be loaded.
I'll try this out and post the results with a day or two of testing.

Thanks, stonecrest.

Offline

#4 2007-05-03 09:16:52

sH
Member
From: Braunschweig, Germany
Registered: 2007-05-02
Posts: 145

Re: Loading Udev events is slow, why?

Thank you very much, I will be trying what stonecrest suggested.
But @ravster: I don't have this behaviour like it is mentioned in the but report, because my system does not hang on Loading Udev Events.
The LED from my HDDs are always working while there is "Loading UDev Events" on the screen, so the PC is doing 'something'.
I'll try to find out what it is doing there wink

Offline

#5 2007-05-03 21:17:25

ravster
Member
From: Queen's U, Kingston, Canada
Registered: 2004-05-02
Posts: 285
Website

Re: Loading Udev events is slow, why?

Hmm, I'll not be able to give a report on whether stonecrest's solution worked properly since I've now given my computer to a repair service. When using stonecrest's method yesterday, the screen resolution would change to a higher amount when the "loading modules" message would come up. And then the computer would still frequently stop on the "Loading ACPI standard modules" or the "Loading Udev uevents" message (even with MOD_AUTOLOAD turned off in rc.conf).

After probably rebooting about 50 times yesterday evening I decided to try just reinstalling the system (and thereby starting out with a clean slate). When the install cd refused to work on my computer, I thought it might be a hardware problem.

I don't know if this will be useful to anyone, but the install cd would only work with the 'nosmp' option and even then the install program "/arch/setup" was not able to identify the hard-drive.

I'll post an update when my computer gets back.

Offline

#6 2008-01-21 18:56:56

stefan1975
Member
From: 53 6e 65 65 6b
Registered: 2007-04-16
Posts: 195

Re: Loading Udev events is slow, why?

i have the exact same problem. I tried Arch around a year ago before I switched to Fedora8_x64 but its slowness is drawing me back to Arch(64?). But where it booted lighting fast last year (to entrance <30 seconds) now it "waits" with the udev events alone for 30 seconds.

I tried fooling around with the modules, and even stopped autoloading modules but none of that helped at all in speeding up the boot process, especially in the udev part.

I have installed a fresh vanilla Arch with nothing but a pacman -Syu and after that E17-cvs but it boots rather slow, it is much faster still then fedora8 but twice as long as what I am used to with Arch.

I would really like to get this solved since it is one of thefew issues I have with Arch.

hope anyone can shed some light on this. thanks people.
stefan.


"root# su - bofh"
OS: F10_x64, Arch, Centos5.3, RHEL4.7, RHEL5.3
Desktop Hardware: Dell Precision M65 laptop, core2duo, 2gb, 80gb 7200rpm
Registered linux user #459910 since 1998

Offline

#7 2008-02-20 16:03:55

nebygemini
Member
From: Netherlands
Registered: 2007-12-19
Posts: 5
Website

Re: Loading Udev events is slow, why?

I have written a howto on speeding up udev  http://wiki.archlinux.org/index.php/Speedup_udev

Offline

Board footer

Powered by FluxBB