All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bridge] Performance problem with linux bridge ... compare kernel 2.6.13.4 to 2.6.15.1
@ 2006-01-29 22:48 Paweł Staszewski
  2006-01-30 17:12 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: Paweł Staszewski @ 2006-01-29 22:48 UTC (permalink / raw)
  To: Bridge List

With kernel 2.6.13.4 linux bridge with traffic management for 4000users 
and 20.4 MB/s(tx)/22.4 MB/s(rx) data load of CPU is max 50%
With kernel 2.6.15.1 the same linux bridge with the same traffic has 
100% CPU load and in top I have ksoftirqd proccess.



The machine is P4 3.2 GHz with 1GB of ram and 4 NetGear 620 cards


The config is:

/sbin/modprobe acenic link=0x0100,0x0100,0x0100,0x0100 
tx_coal_tick=256,256,256,256 rx_coal_tick=256,256,256,256 
max_rx_desc=512,512,512,512 max_tx_desc=512,512,512,512


/sbin/ifconfig eth0 0.0.0.0 txqueuelen 10000 mtu 1500 up
/sbin/ifconfig eth1 0.0.0.0 txqueuelen 10000 mtu 1500 up
/sbin/ifconfig eth2 0.0.0.0 txqueuelen 10000 mtu 1500 up
/sbin/ifconfig eth3 0.0.0.0 txqueuelen 10000 mtu 1500 up

#To bond0
/sbin/ifconfig eth0 down
/sbin/ifconfig eth2 down

#To bond1
/sbin/ifconfig eth1 down
/sbin/ifconfig eth3 down

modprobe bonding max_bonds=2

ifconfig bond0 0.0.0.0 up

ifenslave-2.6 bond0 eth0 eth2

ifconfig bond1 0.0.0.0 up

ifenslave-2.6 bond1 eth1 eth3


/usr/local/sbin/brctl addbr br999

/sbin/vconfig add bond0 999
/sbin/vconfig add bond1 999
/sbin/ifconfig bond0.999 up
/sbin/ifconfig bond1.999 up

/usr/local/sbin/brctl addif br999 bond0.999
/usr/local/sbin/brctl addif br999 bond1.999
/sbin/ifconfig br999 up


Host has 102 vlans (bridges)
On each vlan interface is traffic management (iproute2 with hashing filters)



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bridge] Performance problem with linux bridge ... compare kernel 2.6.13.4 to 2.6.15.1
  2006-01-29 22:48 [Bridge] Performance problem with linux bridge ... compare kernel 2.6.13.4 to 2.6.15.1 Paweł Staszewski
@ 2006-01-30 17:12 ` Stephen Hemminger
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2006-01-30 17:12 UTC (permalink / raw)
  To: Paweł Staszewski; +Cc: Bridge List

On Sun, 29 Jan 2006 23:48:23 +0100
Paweł Staszewski <pstaszewski@artcom.pl> wrote:

> With kernel 2.6.13.4 linux bridge with traffic management for 4000users 
> and 20.4 MB/s(tx)/22.4 MB/s(rx) data load of CPU is max 50%
> With kernel 2.6.15.1 the same linux bridge with the same traffic has 
> 100% CPU load and in top I have ksoftirqd proccess.

Nothing jumps out as major changes. Could you get a profile?

If you really want to drill down then using git bisect will really
help find the offending patch.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-30 17:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-29 22:48 [Bridge] Performance problem with linux bridge ... compare kernel 2.6.13.4 to 2.6.15.1 Paweł Staszewski
2006-01-30 17:12 ` Stephen Hemminger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.