[LARTC] HTB prio: global or per class ?

2006-11-16 Thread doudouyam
Hi all, Is the prio specification in the htb class global or is it on a per class basis ? A simple example: class 1:10 parent 1: class 1:100 parent 1:10 prio 3 class 1:200 parent 1:10 prio 7 class 1:201 parent 1:200 prio 1 class 1:202 parent 1:200 prio 2 Which class will get excessive bandwid

[LARTC] HTB question

2006-09-13 Thread doudouyam
Hi,I try to configure 3 HTB class with a rate near to zero and the ceil equal to the max of the bandwith. And I put prio parameter for each class.In this configuration, HTB is equivalent with Weighted Round Robin algorithm. Is it more correct to put the good rate for each class or to play with the

[LARTC] Can i attach another qdisc (htb) under HFSC classfull ?

2006-09-06 Thread doudouyam
Hi,Is it possible to attach another qdisq under a HFSC classfull ?I try it and the configuraton works :     $TC qdisc add dev $dev root handle 1: hfsc default 30                $TC class add dev $dev parent 1: classid 1:1 hfsc sc rate ${RATE}mbit ul rate ${RATE}mbit         $TC class add dev $d

[LARTC] HFSC help

2006-09-01 Thread doudouyam
hi,I would like to use the HFSC scheduler for my QoS.I've 4 class and 2 of them need to control the bandwidth and the latencies so I think I must use HFSC.So I read some doc ( http://del.icio.us/tag/hfsc ) but its not very clear.I make some tests with differents parameters but I'm not able to use

[LARTC] problem with PRIO

2006-08-13 Thread doudouyam
Hi,I try to use the PRIO scheduler on a 2.6.17 kernel.I use a simple configuration :        $TC qdisc add dev $dev root handle 1: prio bands 2 priomap 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1               $TC qdisc add dev $dev parent 1:1 handle 10:0 sfq perturb10         $TC qdisc add dev $dev parent 1:2

[LARTC] tc filter

2006-08-03 Thread doudouyam
Hi,Is it possible to make a filter with tc which exclude an IP like iptables ??ex:iptable -t mangle -A PREROUTING -i eth0 -d ! 192.168.1.222 -j MARK ...I try the ! with tc but it doesn't work.Thanks,doude. ___ LARTC mailing list LARTC@mailman.ds9a.nl htt

[LARTC] Re: PRIO and CBQ

2006-07-19 Thread doudouyam
parent 10:1 handle 20: prioIs it correct ? 2006/7/19, doudouyam <[EMAIL PROTECTED]>: I've made a mistake in the second case:tc qdisc add dev $DEV root handle 1: prio band 1tc class add dev $DEV parent 1: classid 1:2 cbq … tc class add dev $DEV parent 1:2 classid 1:3 cbq … tc class a

[LARTC] Re: PRIO and CBQ

2006-07-19 Thread doudouyam
pfifo)      |    |                      |    |                     30: 40:                     (sfq)   (sfq)2006/7/19, doudouyam <[EMAIL PROTECTED] >: Hi,I'm work on traffic shaping and I would like to know if it's possible to mix differents Queueing Disciplines ??I would like to combine the

[LARTC] PRIO and CBQ

2006-07-19 Thread doudouyam
Hi,I'm work on traffic shaping and I would like to know if it's possible to mix differents Queueing Disciplines ??I would like to combine the proporties of a PRIO discipline with that of a CBQ discipline.I read some documentation and I found nothing about that, can you help me ? I think to try some