4 ms·
Here's an interesting kqueue v epoll benchmark I picked up somewhere when this topic came up.. http://daemonforums.org/showthread.php?t=2124 http://daemonforums
by martin1975 11y ago
Here's an interesting kqueue v epoll benchmark I picked up somewhere when this topic came up.. http://daemonforums.org/showthread.php?t=2124 http://daemonforums.org/showthread.php?t=2124
Time for a epoll for kqueue swap, and make this performance debate go away for both, Linux and FreeBSD once and for all. No reason for this pissing contest.
- trentnelson 11y agoRegistered I/O on Windows is about three to four decades ahead, conceptually. (As in, the stuff that facilitates registered I/O is based on concepts that can be traced back to VMS, released in 1977. Namely, the Irp, plus, a kernel designed around waitable events, not runnable processes.)
- 15155 11y agokqueue allows more sophisticated action to occur with each call. epoll requires more syscalls to do the same stuff. that's not responsible for the differences speed, but at this level syscalls are a meaningful expense.