From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Jones Subject: Re: 32 core net-next stack/netfilter "scaling" Date: Tue, 27 Jan 2009 14:29:33 -0800 Message-ID: <497F8ACD.2050203@hp.com> References: <497E361B.30909@hp.com> <497E42F4.7080201@cosmosbay.com> <497E44F6.2010703@hp.com> <497ECF84.1030308@cosmosbay.com> <497ED0A2.6050707@trash.net> <497F350A.9020509@cosmosbay.com> <497F457F.2050802@trash.net> <497F4C2F.9000804@hp.com> <497F5BCD.9060807@hp.com> <497F5F86.9010101@hp.com> <497F87E7.2000304@cosmosbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Netfilter Developers , Patrick McHardy , Linux Network Development list , Stephen Hemminger To: Eric Dumazet Return-path: Received: from g1t0026.austin.hp.com ([15.216.28.33]:19042 "EHLO g1t0026.austin.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751020AbZA0W3i (ORCPT ); Tue, 27 Jan 2009 17:29:38 -0500 In-Reply-To: <497F87E7.2000304@cosmosbay.com> Sender: netfilter-devel-owner@vger.kernel.org List-ID: > Thanks for the report > > If you have so much contention on spinlocks, maybe hash function is not > good at all... > > hash = (unsigned long)ct; > hash ^= hash >> 16; > hash ^= hash >> 8; > > I ass-u-me you compiled your kernel with NR_CPUS=32 ? I believe so - CONFIG_NR_CPUS in .config is 64 anyway. If there is a more definitive place to check I'd be happy to look. rick