Pinboard (jm)
https://pinboard.in/u:jm/public/
recent bookmarks from jmHow to receive a million packets per second on Linux2015-06-19T22:52:50+00:00
https://blog.cloudflare.com/how-to-receive-a-million-packets/
jm
To sum up, if you want a perfect performance you need to:
Ensure traffic is distributed evenly across many RX queues and SO_REUSEPORT processes. In practice, the load usually is well distributed as long as there are a large number of connections (or flows).
You need to have enough spare CPU capacity to actually pick up the packets from the kernel.
To make the things harder, both RX queues and receiver processes should be on a single NUMA node.
]]>linux networking performance cloudflare packets numa so_reuseport sockets udphttps://pinboard.in/https://pinboard.in/u:jm/b:7c3b21a94945/