udev performance

Eric Sandeen sandeen at redhat.com
Tue Sep 11 18:23:43 UTC 2007


Ralf Ertzinger wrote:
> Hi.
> 
> On Tue, 11 Sep 2007 16:02:14 +0200, Hans de Goede wrote
> 
>> Cache the result in a dump of the resulting binary structs in disk
>> (ugly).
> 
> Or let depmod create a more easily parseable format on the disk (as
> Jakub suggested).

I don't think it's yet been proven that parsing the files is accounting
for a significant portion of the time....

FWIW, I straced the parent udevd process during my F7 boot, and here's
how it spent most of it's time:

% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 67.93    0.157414         142      1105       288 waitpid
  9.98    0.023130        4626         5         1 init_module
  5.45    0.012638           2      6662        15 read
  5.01    0.011601          48       240           execve
...
------ ----------- ----------- --------- --------- ----------------
100.00    0.231726                 58010      6125 total

-Eric




More information about the fedora-devel-list mailing list