SO_REUSEPORT: strange kernel balancer behaviour

Adrian Chadd adrian at
Tue Jul 23 19:38:55 UTC 2013

On 23 July 2013 10:54, trafdev <trafdev at> wrote:
> Yes, and if you kill this first thread - second thread will start to receive
> connections and so on.
> That's why I've used one processes-shared acceptor socket which behaves
> better (load is balancing
> between processes but equality of distribution is far from ideal).
> Btw as per Linux 3.1 SOLVES all these
> problems via SO_REUSEPORT.

Right, but the patch totally rewrites what SO_REUSEPORT means. I'd
like to see similar behaviour in FreeBSD, but under a different socket
option name.


More information about the freebsd-net mailing list