Thread (42 messages) 42 messages, 5 authors, 2009-02-20

Re: 32 core net-next stack/netfilter "scaling"

From: Eric Dumazet <hidden>
Date: 2009-01-27 23:17:28
Also in: netfilter-devel

Rick Jones a écrit :
quoted
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
By any chance, are you using SLAB instead of SLUB ?

While running your netperf session, issuing :

grep conntrack /proc/slabinfo

Would help to know hash dispertion on your machine.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help