udev performance

Harald Hoyer harald at redhat.com
Wed Sep 12 07:04:09 UTC 2007

Using a modprobe wrapper, I count 56 /sbin/modprobe calls taking ~4s (non-profiling udev) on my laptop, from 
which 23 are not found.
23 * /sbin/modprobe with a modalias, which is not found, sums up to ~1s (25%) of the time.
So we can easily eliminate 25% of the modprobe time (on my laptop), by collecting all /sys/***/modalias at 
depmod time, which cannot be resolved, and store them in /lib/modules/$(uname -r)/modules.unresolved, which 
could be searched first by modprobe.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3623 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20070912/cf77fccd/attachment.bin>

More information about the fedora-devel-list mailing list