udev performance
Harald Hoyer
harald at redhat.com
Wed Sep 12 09:18:21 UTC 2007
Jakub Jelinek schrieb:
> On Wed, Sep 12, 2007 at 10:57:16AM +0200, Harald Hoyer wrote:
>> udev linked with libmodprobe.so, reading the config only once and having
>> the above search tables in memory, would be the fastest solution.
>
> No. If they are just read, rather than preparing hash table for
> modules.dep and search tree for modules.alias, then you just avoid
> the cost of reading it many times, but still spend the significant
> time parsing the data to find what you are looking for.
>
> Jakub
>
And that data parsing time can also be reduced by collecting the unresolvable modaliases at depmod time.
-------------- 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/01d1845b/attachment.bin>
More information about the fedora-devel-list
mailing list