Re: [LARTC] Ethloop?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you for you help.
Here is the HTB

echo Clean all the tc setup
./tc qdisc del dev lo root

./tc qdisc add dev lo root handle 1: htb default 12

./tc class add dev lo parent 1: classid 1:1 htb rate 100kbps ceil 100kbps
./tc class add dev lo parent 1:1 classid 1:2 htb rate 40kbps ceil 100kbps
./tc class add dev lo parent 1:2 classid 1:10 htb rate 30kbps ceil 100kbps
prio 0
./tc class add dev lo parent 1:2 classid 1:11 htb rate 10kbps ceil 100kbps
prio 1
./tc class add dev lo parent 1:1 classid 1:12 htb rate 60kbps ceil 100kbps

echo qdisc
./tc qdisc add dev lo parent 1:10 handle 20: pfifo limit 5
./tc qdisc add dev lo parent 1:11 handle 30: pfifo limit 5
./tc qdisc add dev lo parent 1:12 handle 40: sfq perturb 10

            _________________________1:11
	   /
	  /
_________/    ___________________ 1:12 (to should not be increse)???
	     /
 -----------/

Result

0.5 23233 23233 0 0 7744 7744 0 0 44545 44545 0 0
1.0 28987 28987 0 0 9662 9662 0 0 57518 57518 0 0
1.5 29609 29609 0 0 10139 10139 0 0 59920 59920 0 0
2.0 30583 30583 0 0 10258 10258 0 0 59877 59877 0 0
2.5 28941 28941 0 0 10308 10308 0 0 58869 58869 0 0
3.0 30374 30374 0 0 10282 10282 0 0 60982 60982 0 0
3.5 29747 29747 0 0 8874 8874 0 0 59755 59755 0 0
4.0 29736 29736 0 0 9818 9818 0 0 59993 59993 0 0
4.5 30679 30679 0 0 10204 10204 0 0 14237 14237 0 0
5.0 29897 29897 0 0 10365 10365 0 0 3378 3378 0 0
5.5 30670 30670 0 0 10318 10318 0 0 802 802 0 0
6.0 30576 30576 0 0 10214 10214 0 0 190 190 0 0
6.5 28799 28799 0 0 10245 10245 0 0 45 45 0 0
7.0 30321 30321 0 0 8340 8340 0 0 11 11 0 0
7.5 45445 45445 0 0 18142 18142 0 0 3 3 0 0
8.0 48046 48046 0 0 19985 19985 0 0 1 1 0 0
8.5 50644 50644 0 0 17879 17879 0 0 0 0 0 0
9.0 50885 50885 0 0 19094 19094 0 0 0 0 0 0
9.5 50467 50467 0 0 20211 20211 0 0 0 0 0 0
10.0 49349 49349 0 0 20513 20513 0 0 0 0 0 0






On Fri, 7 Jun 2002, Martin Devera wrote:

> > Thank you for you answer, 1:10 is incresed but 1:20 is also increased and
> > increase to the specific rate if I add 100kbps to every line.
> 
> sounds weird. With higher prio 1:10 should get 90k and 1:11 10k.
> 
> > In my case, I would like to put all the extra to 1:10 only, is that means
> > I have to give 1:11 ceil to 10kbps. If it is, is that means I don't need
> > prio paramter? How prio parameter works?
> 
> your understanding is ok, tge ceil 10k is correct - the prio is
> meant for lowering delay and change in excess distribution is
> only "secondary" product.
> 
> Port the resulting graph somewhere so I can look at it.
> 
> devik
> 
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> 

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux