[PATCH] SO_REUSEADDR and SO_REUSEPORT behaviour

Adrian Chadd adrian at freebsd.org
Mon Dec 2 05:02:53 UTC 2013


Hi! Thanks for the writeup!

On 1 December 2013 20:17, Sepherosa Ziehau <sepherosa at gmail.com> wrote:

> I also put up a brief description of SO_REUSEPORT in dfly; may be useful to
> you:
> http://leaf.dragonflybsd.org/~sephe/netisr_so_reuseport.txt

Ok, so given this, how do you guarantee the UTHREAD stays on the given
CPU? You assume it stays on the CPU that the initial listen socket was
created on, right? If it's migrated to another CPU core then the
listen queue still stays in the original hash group that's in a netisr
on a different CPU?


-adrian


More information about the freebsd-current mailing list