[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20121201.113656.763210835116576607.davem@davemloft.net>
Date: Sat, 01 Dec 2012 11:36:56 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] tcp: change default tcp hash size
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 30 Nov 2012 12:08:52 -0800
> From: Eric Dumazet <edumazet@...gle.com>
>
> As time passed, available memory increased faster than number of
> concurrent tcp sockets.
>
> As a result, a machine with 4GB of ram gets a hash table
> with 524288 slots, using 8388608 bytes of memory.
>
> Lets change that by a 16x factor (one slot for 128 KB of ram)
>
> Even if a small machine needs a _lot_ of sockets, tcp lookups are now
> very efficient, using one cache line per socket.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Agreed, applied, thanks Eric.
--
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