[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <497F8ACD.2050203@hp.com>
Date: Tue, 27 Jan 2009 14:29:33 -0800
From: Rick Jones <rick.jones2@...com>
To: Eric Dumazet <dada1@...mosbay.com>
CC: Netfilter Developers <netfilter-devel@...r.kernel.org>,
Patrick McHardy <kaber@...sh.net>,
Linux Network Development list <netdev@...r.kernel.org>,
Stephen Hemminger <shemminger@...tta.com>
Subject: Re: 32 core net-next stack/netfilter "scaling"
> 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
--
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