udev performance
Callum Lerwick
seg at haxxed.com
Wed Sep 12 21:26:47 UTC 2007
On Wed, 2007-09-12 at 11:18 +0200, Harald Hoyer wrote:
> 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.
Bloom filter?
http://en.wikipedia.org/wiki/Bloom_filter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20070912/8d3bc030/attachment-0002.bin
More information about the devel
mailing list