[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20121022.151149.1484294300015203756.davem@davemloft.net>
Date: Mon, 22 Oct 2012 15:11:49 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] ipv4: 16 slots in initial fib_info hash table
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Mon, 22 Oct 2012 08:12:09 +0200
> From: Eric Dumazet <edumazet@...gle.com>
>
> A small host typically needs ~10 fib_info structures, so create initial
> hash table with 16 slots instead of only one. This removes potential
> false sharing and reallocs/rehashes (1->2->4->8->16)
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied.
--
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