DBus and epoll

anttu.t.koski at nokia.com anttu.t.koski at nokia.com
Mon Oct 25 03:29:41 PDT 2010


Hi,



Is there some reason why DBus isn't using epoll instead of poll?



In my testing with around 350 file descriptors it seems that almost 3/4 of the time in DBus functions is spent in polling. If I run the test when there is only a couple of fds present, the latencies drop by about 50%. I guess that when there are thousands of descriptors, the latencies are already huge. Epoll should scale much better.



BR,

Anttu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20101025/6e1b35ae/attachment.html>


More information about the dbus mailing list