Is zero-copy UDP packing receiving possibly on Linux? Is zero-copy UDP packing receiving possibly on Linux? linux linux

Is zero-copy UDP packing receiving possibly on Linux?


Your best avenues are recvmmsg and increasing RX interrupt coalescing.

http://lwn.net/Articles/334532/

You can move lower and match how Wireshark/tcpdump operate but it becomes futile to attempt any serious processing above it having to decode everything yourself.

At only 30,000 packets per second I wouldn't worry too much about copying packets, those problems arise when dealing with 3,000,000 messages per second.