[lkml]   [2012]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRE: [PATCH 0/10] af_unix: add multicast and filtering features to AF_UNIX
    Le jeudi 01 mars 2012 à 13:50 +0100, Rodrigo Moya a écrit :
    > the main problem in D-Bus we are trying to solve is the context
    > switches, since right now, there is a daemon, which listens on a UNIX
    > socket, and all traffic in the bus goes through it, and then the daemon
    > has to route the messages it gets on that socket to the corresponding
    > place(s). So, every time someone sends a message to D-Bus, since all
    > traffic goes through the daemon, dbus-daemon gets waked-up, which is one
    > of the biggest bottlenecks we are trying to fix.
    > That's why we are thinking about using multicast with socket filters, so
    > that the daemon only gets traffic it cares about and thus is not waked
    > up and context switches don't happen when not needed.
    > Using message queues, AFAICS, we would have the same problem, as the
    > daemon would create the message queue and would get all traffic, right?

    This is why I mentioned extensions.

    Anyway, if you think multicast sockets is the way to go, then you could
    setup a virtual network just to be able to use AF_INET multicast.

    Thats probably doable without kernel patching.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2012-03-01 14:01    [W:0.020 / U:49.312 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site