Question about network stack advancements to be on the same level as Linux kernel 3.9+

Oleg Moskalenko mom040267 at
Sat Nov 9 19:46:21 UTC 2013


I am a developer of rfc5766-turn-server project. I am using FreeBSD as the
main dev platform but I am porting it to everywhere else. I noticed that
Linux kernel 3.9+ has some tremendous network stack improvements which can
actually help us to achieve the performance goal - the efficient symmetric
UDP multithreading server. I tested the kernel 3.11 and indeed it works

1) It allows multiple UDP sockets to be bound to the same local address and
2) It distributes the incoming traffic "fairly" among the UDP sockets;
3) It preserves the source-destination communication path (persistent path)
so that the same socket will always receive the data from the same source.

This is an article about the change:

Those features allow very efficient UDP servers to be created. That was not
possible with older Linuxes and with current FreeBSD (I use version 9.1).

Are there any plans in FreeBSD to adopt the same kind of changes ? With
growing media-over-internet use cases, making UDP servers more efficient is
getting a high priority task status.


More information about the freebsd-net mailing list