DBus and epoll

Thiago Macieira thiago at kde.org
Mon Oct 25 04:39:36 PDT 2010


On Monday, 25 de October de 2010 07:29:35 anttu.t.koski at nokia.com wrote:
> > -----Original Message-----
> > From: dbus-bounces+anttu.t.koski=nokia.com at lists.freedesktop.org
> > [mailto:dbus-bounces+anttu.t.koski=nokia.com at lists.freedesktop.org] On
> > Behalf Of ext Will Thompson
> > Sent: 25. lokakuuta 2010 14:20
> > To: dbus at lists.freedesktop.org
> > Subject: Re: DBus and epoll
> > 
> > On 25/10/10 12:05, Rémi Denis-Courmont wrote:
> > > I wonder how the heck you got to 350 file descriptors with DBus to
> > > begin with.
> > 
> > Perhaps Anttu was looking at the daemon, not the client library?
> 
> Yes, I meant the dbus-daemon. When it is serving the session or the system
> bus it can have quite a lot of file descriptors to poll.

As a session daemon too.

Note that there's still a problem that it cannot handle more than 512 
simultaneous clients. So maybe switching the daemon's own loop to epoll would 
be beneficial.

Anttu, do you have any numbers to show to us?

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20101025/86d89c69/attachment.pgp>


More information about the dbus mailing list