[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1426819319.25985.31.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Thu, 19 Mar 2015 19:41:59 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Alexei Starovoitov <alexei.starovoitov@...il.com>
Cc: Eric Dumazet <edumazet@...gle.com>,
"David S. Miller" <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next 2/3] inet: get rid of central tcp/dccp listener
timer
On Thu, 2015-03-19 at 19:26 -0700, Alexei Starovoitov wrote:
> > This is ~100 times more what we could achieve before this patch.
>
> wow. That is impressive!
> I guess timers do scale to millions.
> Outstanding.
Note that my goal is go get 1000 times, when we no longer take listener
lock ;)
When req sock is hashed into ehash, this means the ACK packet coming
from the client will find it while doing the normal RCU lookup.
ehash is protected by an array of spinlocks, so it scales.
Ideally, we should allow say 10 million request socks, so that SYNCOOKIE
mode is only a real emergency thing.
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists