Hacker News new | ask | show | jobs
by silentbicycle 5797 days ago
kqueue is on OpenBSD and FreeBSD, while epoll is from Linux. (poll and select are on both)
3 comments

I'm aware of it (you forgot to mention that kqueue is on the OS X as well). So what?

There are probably hordes of people who will be willing to run Mongrel2 on *BSD platforms, precisely because of the performance reasons. And Zed is a famous tinkerer rather than a religious zealot, so very probably he could be interested in checking kqueue as well.

"Why not" is also a good reason for a hacker when he's lacking other reasons.

My point was that comparing something that only runs on Linux against something that only runs on (various) BSDs adds a lot of other noise to the comparison - it's no longer the same hardware, install, and tuning, with just a different kernel call.
I see your point. Still it would be useful to see some typical BSD/kqueue in action compared to typical Linux/*poll. I bet Zed is not doing a big sysctl tuning at this stage. Just leaving default system settings as they are still is some starting point for further investigations.
What about NetBSD? Zed has already said he uses NetBSD, so if kqueue is there, he might add it to the mix.
Yes, it does. (I haven't used NetBSD at all, and I forgot to mention it.)
NetBSD also supports kqueue