SO_REUSEPORT: strange kernel balancer behaviour

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


On 23 July 2013 10:54, trafdev <trafdev at mail.ru> 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 https://lwn.net/Articles/542629/ 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.



-adrain


More information about the freebsd-net mailing list