Skip to contentSkip to conversation

Network Performance: SMP 2.4 vs 2.6

DISCUSSION Jens Hektor 2 participants 2 messages Nov 12, 2004 – Dec 16, 2004 netfilter

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----

Hi,

I know that I am slightly off-topic but I have a question regarding to netfilter-based packet filters on SMP machines.

Maybe someone can hint me in the right direction.

Machine A: IBM xSeries 345, 2xXeon, Fedora Core 1, Kernel 2.4.22-1.2199.nptlsmp, e1000 nic Machine B: IBM xSeries 346, 2xXeon, Fedora Core 3, Kernel 2.6.9-1.667smp, tg3 nic

Both machines show 4 CPUs.

The observed behaviour is the following:

Load is generated by having throughput of ~400Mbits (day-average) with heavy connection-tracking (200k - 300k conntrack states).

Load on machine A is distributed over 2 CPUs,
load on machine B is tied to one CPU.
Hyperthreading is enabled on both.

Can someone hint me in the right direction which tunable to set to get the 2.4 behaviour on 2.6?

Any hints (and redirections to other lists¹) are welcome.

Best regards, Jens Hektor

¹ I know it's less a netfilter topic but more a SMP/network topic, but for shure in this list there are some "gurus".

- --
Jens Hektor, Rechen- und Kommunikationszentrum, Wendlingweg 10, 52074 Aachen Centre for Computing and Communication, RWTH Aachen University, Germany mailto:[email protected], Tel.: +49 241 80 29206, Raum: 2.07 -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEVAwUBQZSWLBsVN+J7zzuXAQGS1wgAvGfdFRJWjAkoBPewfGKRYK5JMjquSx3Z GDp5DdEu8Rq8xIfMsz9CM28qvfQxijxN1L8ECZSjQTfN6WTJgkWoACbG89SsYYMi XJ/cKcfWGA6GUiD0tkycVqopAHNJ+ll/m8O81xTavfkzfywd+zhY3Vjp9Y9NVZlx CnzSNkLge+Ru+RsJWrajgvME2E+wK4gJOnkSGAtnijsrtSY6OgzCu6LEWa877o0c AAU1jRMjwQ+tMrFbF9MhmQUCDBWbQqUuphvkqe57fYDsQJydcJNTTQhkxiLZVAeu nuFMEhOEKoExjl/5uFpU4HnVx2/8/9X3gZThCcxnID1DC1WZWrIs8w== =dVjB
-----END PGP SIGNATURE-----

#1 lore raw
Quoted 9 lines · Jens Hektor

Load is generated by having throughput of ~400Mbits (day-average) with heavy connection-tracking (200k - 300k conntrack states).

Load on machine A is distributed over 2 CPUs,
load on machine B is tied to one CPU.
Hyperthreading is enabled on both.

Can someone hint me in the right direction which tunable to set to get the 2.4 behaviour on 2.6?

probably you or your distribution configured irq_affinity in a way to route all NIC interrupts to one particular cpu.

Signature · 5 lines
- Harald Welte <[email protected]>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie