Messages in this thread |  | | Date | Thu, 5 Sep 2002 19:55:47 +0200 | From | Patrick Schaaf <> | Subject | Re: ip_conntrack_hash() problem |
| |
On Thu, Sep 05, 2002 at 01:54:40PM +0200, Andi Kleen wrote: > > I'll feed this through 2.5, once it's had some more testing (hint > > hint!). Then Harald will make a call on 2.4. > > I would propose to include Martin's simple patch as a short term fix > for 2.4 until Rusty's full work can get in. It fixes an bad performance > problems in some not too uncommon cases.
As a short time fix, seeing that it's mostly even hash bucket counts that give a problem, I would still propose just making the bucket count the nearest odd number, i.e. basically htable_size |= 1 in the startup code.
I don't expect any user to notice such a miniscule change.
best regards Patrick
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |