Re:How to receive a million packets per second
by trentnelson on Wednesday June 17, 2015 @12:30AM
(#9730068)
Registered 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.)
Re:How to receive a million packets per second
by 15155 on Wednesday June 17, 2015 @12:33AM
(#9730079)
kqueue 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.
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.