Skip to contentSkip to conversation

Dual CPU performance in routing

LARTC GolemMTM 3 participants 3 messages Nov 6, 2006

lore
Share & tools
lore

GolemMTM

author
#0 lore raw

Hello

I have question, currently using linux box as router. It only route packets. Currently there is 80k packets/sec and this cause 90% CPU usage on Intel Celeron 3ghz CPU.
Did multiprocessor system like 2x XEON DP 3.4ghz will divide CPU usage between 2 CPU and will allow double routing performance ?

Signature · 6 lines
 Golem

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
#1 lore raw
Quoted 7 lines · GolemMTM

Hello

I have question, currently using linux box as router. It only route packets. Currently there is 80k packets/sec and this cause 90% CPU usage on Intel Celeron 3ghz CPU.
Did multiprocessor system like 2x XEON DP 3.4ghz will divide CPU usage between 2 CPU and will allow double routing performance ?

If you have two physical eth cards and will assign different irq for different CPU -- it will. Not sure about double, but significant, i'd say.

Quoted 4 lines
Signature · 2 lines
-- 
 Golem
Signature · 9 lines
  _,-=._              /|_/|
  `-.}   `=._,.-=-._.,  @ @._,
     `._ _,-.   )      _,.-'
        `    G.m-"^m`m'        Dmytro O. Redchuk

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
#2 lore raw
In reply to GolemMTM
Quoted 10 lines · GolemMTM

Hello

I have question, currently using linux box as router. It only route packets. Currently there is 80k packets/sec and this cause 90% CPU usage on Intel Celeron 3ghz CPU.
Did multiprocessor system like 2x XEON DP 3.4ghz will divide CPU usage between 2 CPU and will allow double routing performance ?

It will improve performance if irqs are balanced, but not double. Also, 90% seems like a lot. If you use firewalling (many linear rules) and qos (many linear u32 filter rules), they will cost a lot of performance, you will se that with top, on soft interrupts (si). I suggest you to use intel gigabit cards on pci64.
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc