views:

72

answers:

1

My development machine is a MacBook (which of course has kqueue). However, in production we're running Linux (which of course uses epoll). Obviously, to know the performance characteristics of my code I need to run it using epoll. That said, is performance that I see under kqueue a decent approximation of what I'll see with epoll? Or are there any situations where performance may be significantly different? For the most part, it seems that kqueue and epoll are pretty much similar in terms of performance, but I haven't really done very thorough testing.

If it makes a difference, I'm using tornado in Python.

+2  A: 

http://www.daemonforums.org/showthread.php?t=2124

FractalizeR
This doesn't quite answer my question. In the case that was benchmarked, it looks like the performance was about the same. But I'm mostly asking if there are any significant areas of difference between the two. Are there any edge cases where one performs wildly differently than the other?
Jason Baker