Re: SO_REUSEPORT - can it be done in kernel?

Thomas Graf
2011-03-01T10:20:01Z

On Mon, Feb 28, 2011 at 06:07:49PM +0100, Eric Dumazet wrote:
> > The numbers differ a lot depending on the architecture we test on.
> >
> > F.e. on a 12 core AMD with 2 NUMA nodes:
> >
> > 2.6.32 named -n 1: 37.0kqps
> > named: 3.8kqps (yes, no joke, the socket receive buffer is
> > always full and the kernel drops pkts)
>
> Yes, this old kernel miss commit c377411f2494a93 added in 2.6.35
> (net: sk_add_backlog() take rmem_alloc into account)

I retested with net-2.6 w/o Herbert's patch:

named -n 1: 36.9kqps
named: 16.2kqps

> > 2.6.38-rc5+ with Herbert's patches:
> > named -n 1: 36.9kqps
> > named: 222.0kqps