Re: Good news for threading!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 25, 2009 at 22:28, Alan Jenkins <alan-jenkins@xxxxxxxxxxxxxx> wrote:
> Kay Sievers wrote:

>> Do you have numbers for the difference of threaded vs. non-threaded, for:
>>  time (udevadm trigger; udevadm settle)
>> when no rules are active?

> Interesting question.  I stop HAL first, it tends to slow my tests down and
> doesn't represent normal bootup.

Yeah, it's the RUN+="socket: ..." handling, which can block the event
process, if something listens, but does not read fast enough. With the
new netlink events from udev to listeners (no RUN+="socket: ..."
needed), the sending is de-coupled from the listeners state and will
not slow-down udev. Hopefully HAL will go away soon, we are pretty
close already.

> Test machine is eeepc 701; trigger -n shows 382 devices.
>
> no threading:    ~0.5s
> threading:   ~0.25s

Oh, nice numbers. In a real setup, can we expect more than 0.25s to
win with a threaded udevd? What can we expect from the udev-exec
thing? Will it be a bit slower, because it has a bit more work to do?

Thanks,
Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux