[Python-Dev] epoll implementation (original) (raw)
Barry Scott barry at barrys-emacs.org
Mon May 29 19:09:13 CEST 2006
- Previous message: [Python-Dev] epoll implementation
- Next message: [Python-Dev] epoll implementation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] epoll implementation
- Next message: [Python-Dev] epoll implementation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]