Re: [LARTC] SFQ for all classes

2002-04-26 Thread Martin Devera
And it doesn't make sense either. Why did you want to do it Stasi ? devik On Fri, 26 Apr 2002, Stef Coene wrote: On Friday 26 April 2002 01:10, Stasi wrote: Can I use the same SFQ queue dicipline for all the classe in a CBQ or HBT system? No. If you add a SFQ, you can specify a handle.

[LARTC] Re: [Linux Diffserv] Has TC can act as a filter with IPv6 Flow Label ?

2002-04-26 Thread Scottin
Hi, Thank u for giving me the advice. Scottin wrote: Suppose I have two IPv6 flows, one's flowlabel is 0 ,the other's is not 0 . Can I make a filter which filte with the flowlabel? Something like this ought to work (completely untested, of course): tc filter add dev eth0

[LARTC] Re: [Linux Diffserv] Has TC can act as a filter with IPv6 Flow Label ?

2002-04-26 Thread Scottin
- Original Message - From: Werner Almesberger [EMAIL PROTECTED] To: Scottin [EMAIL PROTECTED] Cc: lartc [EMAIL PROTECTED]; diffserv-general [EMAIL PROTECTED] Sent: Friday, April 26, 2002 4:36 PM Subject: Re: [Linux Diffserv] Has TC can act as a filter with IPv6 Flow Label ?

Re: [LARTC] new HTB - call for participation

2002-04-26 Thread Pavel Mores
On Fri, Apr 26, 2002 at 09:53:00AM +0200, Martin Devera wrote: I have almost finished second attempt for the next HTB generation. The first one (not the one publicaly available) based on hierarchy of counters was too complex and yelded only cca 30% speed improvement. Current test one is

Re: [LARTC] new HTB - call for participation

2002-04-26 Thread Martin Devera
The new code is private at this time - it can't be compiled - in reality I;m working on it 4 weeks and I never tried to compile it ;) I'll create web page for it at luxik.cdi.cz/~devik/qos/ in hour or so .. devik On Fri, 26 Apr 2002, Pavel Mores wrote: know. The main problem lies in my time

Re: [LARTC] new HTB - call for participation

2002-04-26 Thread Pavel Mores
On Fri, Apr 26, 2002 at 10:55:01AM +0200, Martin Devera wrote: The new code is private at this time - it can't be compiled - in reality I;m working on it 4 weeks and I never tried to compile it ;) I'll create web page for it at luxik.cdi.cz/~devik/qos/ in hour or so .. OK, thanks - it's

Re: [LARTC] borrowing only from parent

2002-04-26 Thread Stef Coene
On Friday 26 April 2002 12:14, Anton Yurchenko wrote: Hello, for example I have a parent class 1:1 defined as: tc qdisc add dev eth0 root handle 1: htb default 12 # shape at 15 kbit almost no borrowing and no bursts tc class add dev eth0 parent 1: classid 1:1 htb rate 15kbit ceil 1kbit

Re: [LARTC] borrowing only from parent

2002-04-26 Thread Martin Devera
If you read the manual, the algorithm will not work correctly with {,c}burst MTU ... devik On Fri, 26 Apr 2002, Anton Yurchenko wrote: Hello, for example I have a parent class 1:1 defined as: tc qdisc add dev eth0 root handle 1: htb default 12 # shape at 15 kbit almost no borrowing and

Re: [Fwd: Re: [LARTC] borrowing only from parent]

2002-04-26 Thread Martin Devera
I just tried to change {,c}burst to 1600, or leaving them by default but no visible result. here is the latest tc -s -d class show dev eth0 class htb 1:101 parent 1:1 prio 0 rate 40Kbit ceil 40Kbit burst 1599b/8 mpu 0b cburst 1599b/8 mpu 0b quantum 512 level 0 Sent 392526 bytes 5898 pkts

Re: [Fwd: Re: [LARTC] borrowing only from parent]

2002-04-26 Thread Anton Yurchenko
Martin Devera wrote: I just tried to change {,c}burst to 1600, or leaving them by default but no visible result. here is the latest tc -s -d class show dev eth0 class htb 1:101 parent 1:1 prio 0 rate 40Kbit ceil 40Kbit burst 1599b/8 mpu 0b cburst 1599b/8 mpu 0b quantum 512 level 0 Sent 392526

Re: [Fwd: Re: [LARTC] borrowing only from parent]

2002-04-26 Thread Martin Devera
ceil 1kbit !!?? Wouldn`t it prevent 1:1 from borrowing from 1: ? I think I`m it will but also it will prevent 1:1 to lend anything. missunderstanding the ceil. As I see it it is if I fe. have rate 100kbit and ceil 100kbit then 1:1 would go at at least 100kbit and can borrow 100kbit from

Re: [Fwd: Re: [LARTC] borrowing only from parent]

2002-04-26 Thread Anton Yurchenko
Martin Devera wrote: You are trying to shape downloads !? It will not work of course in this setup. You can shape output only. Or what do you want to shape ? devik ok I got it :)) that is what I suspected :)) finaly. that is common logic, I`m sorry, after reading some of the docs you go mad.

Re: [Fwd: Re: [LARTC] borrowing only from parent]

2002-04-26 Thread Martin Devera
;) Try Patrick's IMQ version it should be able to do it. On Fri, 26 Apr 2002, Anton Yurchenko wrote: ok I got it :)) that is what I suspected :)) finaly. that is common logic, I`m sorry, after reading some of the docs you go mad. my bad, thank you and Stef Coene very much for you help.

Re: [LARTC] A tc htb/iptables rate control script for ADSL

2002-04-26 Thread Nils Lichtenfeld
Hello Devik! and set classid directly in iptables like: iptables -t mangle -A to-dsl -p tcp --dport 80 -j MARK --set-mark 0x10010 iptables -t mangle -A to-dsl -p tcp --sport 24 -j MARK --set-mark 0x10020 Oh an and I forgot to ask: Is there any other improvement exept for having a

Re: [LARTC] A tc htb/iptables rate control script for ADSL

2002-04-26 Thread Martin Devera
We are using Ipchains. I guess that makes no difference. At the moment we do the following: For Example (all rules for the same device): 1. filter ACKs by using u32 2. filter a specific IP by using ipchains -m (because we masquarade) with its own tc fw 3. filter ToS by using u32 4.

Re: [LARTC] New HTB docs

2002-04-26 Thread PiotR
On Fri, Apr 26, 2002 at 02:31:18PM +0200, Martin Devera wrote: Hi, for interested in participation on finishing new HTB developement I created simple docs regarding it. It is some insight into CBQ and HTB workings and problems. See luxik.cdi.cz/~devik/qos/htb/v3/

Re: [LARTC] New HTB docs

2002-04-26 Thread Martin Devera
Very interesting devik, as soon as I have some time, I will begin graphing and studying the behaviour of HTB. I will find useful if you have some notes in gathering data, and graphing with gnuplot. ( I think you used gnuplot in your page ). I'm planning to write some page on this theme ..

Re: [LARTC] New HTB docs

2002-04-26 Thread PiotR
On Fri, Apr 26, 2002 at 07:40:43PM +0200, Martin Devera wrote: Very interesting devik, as soon as I have some time, I will begin graphing and studying the behaviour of HTB. I will find useful if you have some notes in gathering data, and graphing with gnuplot. ( I think you used gnuplot