Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 5 Sep 2002 13:54:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 5 Sep 2002 13:54:17 -0400 Received: from bof.de ([195.4.223.10]:24215 "HELO oknodo.bof.de") by vger.kernel.org with SMTP id ; Thu, 5 Sep 2002 13:54:16 -0400 Date: Thu, 5 Sep 2002 19:55:47 +0200 From: Patrick Schaaf To: Andi Kleen Cc: Rusty Russell , Martin Wilck , Harald Welte , Netfilter Mailing List , Linux Kernel mailing list , Patrick Schaaf Subject: Re: ip_conntrack_hash() problem Message-ID: <20020905195547.A21899@oknodo.bof.de> References: <1031210342.9785.159.camel@biker.pdb.fsc.net> <20020905115208.4D0A02C064@lists.samba.org> <20020905135440.A10805@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020905135440.A10805@wotan.suse.de>; from ak@suse.de on Thu, Sep 05, 2002 at 01:54:40PM +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 920 Lines: 22 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/