From: christopher baus (christopher_at_[hidden])
Date: 2005-12-22 16:16:11
> Note that each is good for specific things. I have tests and numbers
> that show select() and epoll() running circles around each other in
> performance, depending on the way they are used. Mixing the different
> types of use-cases causes both methods to degrade. Thus, I think it is
> very reasonable to put some sockets into a select-based method, and
> other sockets in an epoll-based method.
Interesting. Could you give an example where select() is faster than
epoll()? I suspect it is with smaller numbers of file descriptors.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk