TC not working well with bonded nics please help
* [email protected] wrote, On 19/03/07 23:21:
Quoted 11 lines
Hi,
I am facing a problem when I run tc on the bonded nic cards.
When I run tc on a single nic card, it worked perfectly fine. But when I run tc on a bond of two nics, tc gives poor performance. The two nics were bonded in round-robin (load balancing) mode. I created a qdisc, class and a filter as follows:tc qdisc add dev bond0 root handle 1: htb
tc class add dev bond0 parent 1: classid 1:1 htb rate 240mbps tc class add dev bond0 parent 1:1 classid 1:2 htb rate 50 ceil 50 quantum 1500
I may have missed something, but why did you expect a transmit rate of 400mbps?
Has anything else changed besides the bond? If your traffic is not sent evenly and burst or cburst aren't big enough to buffer the data until transmit, then it will be dropped reducing your throughput.
How are you calculating the transmit rate; is the transmit rate actually 70mbps or is that the tcp send rate, maybe due to retransmission because of tc drops?
Sam
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc