Stephen Hemminger
2007-Apr-18 17:22 UTC
[Bridge] Performance problem with linux bridge ... compare kernel 2.6.13.4 to 2.6.15.1
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.
Paweł Staszewski
2007-Apr-18 17:22 UTC
[Bridge] Performance problem with linux bridge ... compare kernel 2.6.13.4 to 2.6.15.1
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)
Seemingly Similar Threads
- [Bug 1761] New: nft_fib checks only the main route table when iif is a slave of a master vrf interface
- how to change guest OS kernel version from xen
- Routing Calls via chan_capi with AVM FritzCard
- Table creation failed
- Working UPS report: Geek Squad GS-700U (Cyberpower clone?)