[Python-Dev] epoll implementation

Barry Scott barry at barrys-emacs.org
Mon May 29 19:09:13 CEST 2006


On May 27, 2006, at 04:59, Alex Martelli wrote:

>
> I believe it's: kqueue on FreeBSD (for recent-enough versions
> thereof), otherwise epoll where available and nonbuggy, otherwise
> poll ditto, otherwise select -- that's roughly what Twisted uses for

kqueue is not always faster. It depends on your application. The number
of FDs and the fd values affect the point that kqueue wins over select.

For a few FDs with low values select was always faster in my apps.

Barry



More information about the Python-Dev mailing list