devfs vs udev/hotplug

Diego Calleja García diegocg at teleline.es
Wed Apr 21 12:24:12 PDT 2004


El Wed, 21 Apr 2004 17:59:44 +0100 Hiten Pandya <hmp at xxxxxxxxxxxxx> escribió:

> 
> 	I don't think speed will be much of an issue, once Async
> 	messaging and a Shared Memory Segment between userland and
> 	kernel is implemented.  One can utilize that.


And even if you don't have that, the udev developer
tested this, quoting http://lwn.net/Articles/75627/

"Unofficially it looks like it only took 7 seconds extra to use udev to name 1000
scsi disks (and the rule was calling out to scsi_id for every disk, and then
parsing over 1000 rules.)  Note that is 7 seconds extra to name _all_ of
the disks at once using the scsi_debug module."

And those are "virtual disks" not real ones, which means that in the real
world hardware won't be that fast detecting, initializating, etc... devices
and  udev will be faster enought to do its job.






More information about the Kernel mailing list