[lkml]   [2012]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: The thundering herd like problem when multi epolls on one fd
    * Eric Dumazet | 2012-01-14 14:20:47 [+0100]:

    >What happens if the awaken thread does not consume the event, and prefer
    >to exit ?
    >If several threads are doing select()/poll()/epoll() on a shared fd,
    >they _all_ must be notified the fd is ready, as manpages claim.

    And if it is intended? Signaled via a new epoll_ctl() epoll_event flag? E.g.

    >Doing otherwise would require the prior consent of the user, using a
    >special flag for example, and documentation.

    Oops, yes. A fanout like mechanism _may be_ superior, but I think tests will
    show some improvements anyway.


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