[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEP_g=_Mj9az1oSLzUcqT_m05JEJavjcQ1SFeoYtsgk5xvBjBQ@mail.gmail.com>
Date: Tue, 29 Nov 2011 22:21:32 -0800
From: Jesse Gross <jesse@...ira.com>
To: Herbert Xu <herbert@...dor.apana.org.au>
Cc: "Fischer, Anna" <anna.fischer@...com>,
"jhs@...atatu.com" <jhs@...atatu.com>,
David Miller <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"dev@...nvswitch.org" <dev@...nvswitch.org>
Subject: Re: [GIT PULL v2] Open vSwitch
On Mon, Nov 28, 2011 at 6:51 AM, Herbert Xu <herbert@...dor.apana.org.au> wrote:
> There are other issues with the hash implementation. For example,
> there seems to be no limit on the number of collisions in each
> bucket. As the hash table growth code simply continues when it
> fails to expand, this means that the number of collisions may
> rise without bound.
It's userspace which is managing the entries in the kernel hash table
and it has some intelligence about aging out entries (and specifically
about doing it more aggressively as the number of entries increases),
so it's not really unbounded. In practice, userspace actually keeps
the number of entries much smaller than the maximum size of the table.
--
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