[lkml]   [2005]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: select() efficiency / epoll
Thanks for the info.. I did find this thread and was wondering if this 
patch ever got put in

Willy Tarreau wrote:

>On Tue, Aug 23, 2005 at 06:24:42AM -0500, Davy Durham wrote:
>>That's probably a good idea. Where would I find out what other projects
>>use it?
>I use it in my load-balancer (haproxy), and it could somewhat match your
>needs, because I ported the select()-based earlier version to epoll() with
>the smallest possible changes. Indeed, the new epoll() loop still uses the
>FD_ISSET() to determine what to do with epoll_ctl(). If you have changed
>your code to use select(), you may find similarities. But I want to tell
>you from now that my code is NOT multi-threaded. It could be a bug in the
>epoll implementation, because I don't think that there are so many
>applications using epoll on MT models. Bert says that the epoll implementation
>is heavily benchmarked, which is true, but which does not guarantee that it
>is tested under every condition.
>You can download it from there :
>Use version 1.2.6. I added epoll in 1.2.5, so the diff between 1.2.4 and
>1.2.5 could help you too.
>Good luck !
>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

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: 2005-08-23 21:56    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean