Hello all, I am testing CBQ and HTB these days and I got a
lots problem which needs your help. It is a little long text :) Thank
you! (All my test is based on Redhat Linux9.0)
1.Is isolated of CBQ working? I have read Mr. stef word that he never made cbq isolated work. 2. I have setup an environment to test cbq: one tcp flow which I should
protect
and a noisy udp flow who will eat much of the bandwith. when only tcp flow is run, the result is good, the tcp rate is controlled with the acceptable deviation. But if the nosiy udp runs up(it is not classed into the same class as tcp's) the tcp rate will increase almost to the double.Why increased???Actually, I thought that tcp rate would decrease for impolite UDP flow, but the fact is on the contrary. Whatever I set "isolated" or not to the tcp rate. The below is the script I set in a computer running redhat9, and this linux also produces tcp flow to 200.200.200.229 and udp flow to 200.200.200.121 by iperf1.7.0. ---------------------------------- tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000 cell 8 tc class add dev eth0 parent 1:0 classid 1:1 cbq bandwidth 100Mbit rate 100Mbit weight 10Mbit prio 1 allot 1514 cell 8 maxburst 20 avpkt 1000 bounded tc class add dev eth0 parent 1:1 classid 1:2 cbq bandwidth 100Mbit rate 480Kbit weight 48Kbit prio 1 allot 1514 cell 8 maxburst 20 avpkt 1000 tc class add dev eth0 parent 1:1 classid 1:3 cbq bandwidth 100Mbit rate 10Mbit weight 1Mbit prio 1 allot 1514 cell 8 maxburst 20 avpkt 1000 bounded isolated tc qdisc add dev eth0 parent 1:3 handle 30: sfq tc filter add dev eth0 parent 1:0 protocol ip prio 1 u32 match ip dst 200.200.200.121 match ip dport 5001 0xffff flowid 1:2 tc filter add dev eth0 parent 1:0 protocol ip prio 1 u32 match ip dst 200.200.200.229 match ip dport 5001 0xffff flowid 1:3 -------------------------------------- 3. I have watched that cbq throughput is mostly 18M in redhat9. Although I wirte a script increase "cbq bandwidth 100Mbit rate xxx" to be a larger and larger rate, but the iperf reports only 18.5M or so. But HTB is very good at it. Thanks! ----- Original Message ----- From: "Stef Coene" <stef.coene@xxxxxxxxx> To: "cai" <rjcai@xxxxxxxxxx> Sent: Wednesday, June 01, 2005 7:15 PM Subject: Re: cbq question > On Wednesday 01 June 2005 12:51, you wrote: > > hello, stef, I saw your assertion that cbq is not working in isolated mode: > > http://mailman.ds9a.nl/pipermail/lartc/2002q3/004782.html > > "Btw, I never could get isolated working with cbq." > > Is this true in all linux kernel version or only some specific. > It's a long time since I tested it, but I never could get it working. The cbq > code has not changed much, so I think it's stil not working. > > > Stef > |
_______________________________________________ LARTC mailing list LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc