All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] TC not working well with bonded nics please help
@ 2007-03-19 23:33 dhananjay.tembe
  2007-03-20  3:41 ` Rodolfo Brasnarof
  0 siblings, 1 reply; 2+ messages in thread
From: dhananjay.tembe @ 2007-03-19 23:33 UTC (permalink / raw)
  To: lartc


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 started a TCP traffic between this bond (2gbit bandwidth) and a remote
nic (1gbit bandwidth).
Without qos, bond was transmitting at 960Mbps.
After I executed above mentioned commands, it was expected that the bond
will transmit at 400Mbps but it was transmitting only at 70Mbps.
Same thing was observed with different qos rates for class 1:2, outbound
traffic through bond was very less than the rate specified in the tc
command.

Is getting poor performance after running tc over a bond is a known issue?
Please help me with this issue.

Thanks and regards,
---Dhananjay.



_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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

end of thread, other threads:[~2007-03-20  3:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-19 23:33 [LARTC] TC not working well with bonded nics please help dhananjay.tembe
2007-03-20  3:41 ` Rodolfo Brasnarof

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.