Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Nov 2013 11:46:20 -0800
From:      Oleg Moskalenko <mom040267@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   Question about network stack advancements to be on the same level as Linux kernel 3.9+
Message-ID:  <CALDtMr%2B%2B7uYiJWyhEdYOR5vxhGSJPKFXXc8L%2BKRaVctUnZaiKA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi

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
perfectly:

1) It allows multiple UDP sockets to be bound to the same local address and
port;
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:

https://lwn.net/Articles/542629/

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.

Thanks
Oleg
https://code.google.com/p/rfc5766-turn-server/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALDtMr%2B%2B7uYiJWyhEdYOR5vxhGSJPKFXXc8L%2BKRaVctUnZaiKA>