[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1455209932.22120.9.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Thu, 11 Feb 2016 08:58:52 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: David Miller <davem@...emloft.net>
Cc: edumazet@...gle.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next 0/2] tcp/dccp: better use of ephemeral ports
On Thu, 2016-02-11 at 11:48 -0500, David Miller wrote:
> From: Eric Dumazet <edumazet@...gle.com>
> Date: Fri, 5 Feb 2016 18:08:56 -0800
>
> > Big servers have bloated bind table, making very hard to succeed
> > ephemeral port allocations, without special containers/namespace tricks.
> >
> > This patch series extends the strategy added in commit 07f4c90062f8
> > ("tcp/dccp: try to not exhaust ip_local_port_range in connect()").
> >
> > Since ports used by connect() are much likely to be shared among them,
> > we give a hint to both bind() and connect() to keep the crowds separated
> > if possible.
> >
> > Of course, if on a specific host an application needs to allocate ~30000
> > ports using bind(), it will still be able to do so. Same for ~30000 connect()
> > to a unique 2-tuple (dst addr, dst port)
> >
> > New implemetation is also more friendly to softirqs and reschedules.
>
> I'm getting rejects on the second patch, please respin and repost.
>
> Thanks Eric.
Sure, let me take a look.
Powered by blists - more mailing lists