News for hackers. Stuff that matters.
Re:How to receive a million packets per second by majke on Tuesday June 16, 2015 @11:58AM (#9726718)
I have no idea. How many UDP packets can FreeBSD pass to application?

I don't think there is any particular problem with Linux. The core problem of "slow" performance is mostly due to limitations of BSD API (recvmmsg is a good example of a workaround), and due to the feature richness of Linux.

Also, doing the math: 2GHz / 350k pps = 5714 cycles per packet. 6k cycles to deliver the packet from NIC to one core, then pass it between cores and copy over to application. That ain't bad really.

There are no comments on this comment yet.