Re: [LARTC] htb

2004-10-17 Thread Andreas Klauer
Am Sunday 17 October 2004 14:08 schrieb James Lista: do you have a small script example to show me ? ... I don't know about the small part... My own script: http://www.metamorpher.de/fairnat/ HTH Andreas ___ LARTC mailing list / [EMAIL PROTECTED]

Re: [LARTC] htb

2004-10-17 Thread James Lista
will he gets it back when he needs it...? thanks again - Original Message - From: Andreas Klauer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, October 17, 2004 11:20 AM Subject: Re: [LARTC] htb Am Sunday 17 October 2004 15:02 schrieb James Lista: and about that you say take

Re: [LARTC] HTB 2.6.8 works 2.4.27 does not!

2004-10-16 Thread gypsy
Peter Huetmannsberger wrote: Hi again, I have also changed the things suggested by Stef earlier on: - HTB hysteries - PSCHED_CPU - QLENGTH in sfq Nothing seems to help. Kernel 2.4.27 distribution (RH9a) Are you SURE the correct modules are being loaded?

[LARTC] HTB 2.6.8 works 2.4.27 does not!

2004-10-15 Thread Peter Huetmannsberger
Hi again, sorry to be such a bother. I got my setup to work with kernel 2.6.8.1, however the two machines where I need to implement the shaping are running a 2.4.27 kernel. I have applied the infamous June patch (htbfair.diff) already, and recompiled the modules. And I am using the tc that

Re: [LARTC] HTB 2.6.8 works 2.4.27 does not!

2004-10-15 Thread Peter Huetmannsberger
Hi again, I have also changed the things suggested by Stef earlier on: - HTB hysteries - PSCHED_CPU - QLENGTH in sfq Nothing seems to help. Kernel 2.4.27 distribution (RH9a) Thanks, .peter ___ LARTC mailing list / [EMAIL PROTECTED]

[LARTC] HTB

2004-10-14 Thread sistemas
Hi all I'm new in this list and i hope to lear and to help if possible. But firt i need help :-( I have this messege in my syslog when my classes and qdiscs goes down. Can any one know what does it mean? Thnx in advance. Yannick Arrimadas Bot Oct 14 16:09:27 pototogorri kernel: HTB init,

Re: [LARTC] HTB

2004-10-14 Thread Jason Boxman
On Thursday 14 October 2004 14:23, sistemas wrote: Hi all I'm new in this list and i hope to lear and to help if possible. But firt i need help :-( I have this messege in my syslog when my classes and qdiscs goes down. Can any one know what does it mean? I used to have an Oops an awful

Re: [LARTC] HTB weird problem ....

2004-10-09 Thread Drink Linux
if i remove the 1 packet ... it would be again exceed the ceiling ... thanks ill try r u referring to this faq in docum??!?!?! http://www.docum.org/docum.org/faq/cache/40.html the file linux/include/net/sched/pkt_sched.h does not have #define PSCHED_CLOCK_SOURCE PSCHED_CPU im using 2.4.20-22

Re: [LARTC] HTB weird problem ....

2004-10-09 Thread Andy Furniss
Drink Linux wrote: if i remove the 1 packet ... it would be again exceed the ceiling ... thanks ill try When you fix HTB you won't need it. r u referring to this faq in docum??!?!?! http://www.docum.org/docum.org/faq/cache/40.html the file linux/include/net/sched/pkt_sched.h

Re: [LARTC] HTB weird problem ....

2004-10-08 Thread Jason Boxman
On Friday 08 October 2004 10:58, Andy Furniss wrote: snip Also you may need to set Hz higher or use psched = CPU for timing. In 2.6.9 this looks like it'll be part of the `make config` process itself. :) -- Jason Boxman Perl Programmer / *NIX Systems Administrator Shimberg Center for

[LARTC] HTB weird problem ....

2004-10-07 Thread Drink Linux
Hello good day to all ... this is my setup 1 Linux Wireless Access Point, connected are 4 wireless gateway in which i needed to apply shaping ... ok here is the weird part... clients on each gateway download files from the Acess Point ... a 500 mb file through ftp on gateway 1 which is up to 64

[LARTC] HTB and Openvpn

2004-10-06 Thread Peter Huetmannsberger
Hi! I have just started with traffic shaping, and after hours of reading websites, man pages asf. I am still stumped at one problem I have. The interface eth0 is attached to the outside world, and I have an openvpn tunnel to another part of the organization using eth0 and port 5001. The

Re: [LARTC] HTB and Openvpn

2004-10-06 Thread Andreas Klauer
Peter Huetmannsberger wrote: The idea was that all traffic going through the tunnel would have top priority and the rest share what's left. Sounded simple enough. You could use a prio queue for that. Tunnel on band 0, rest on band 1. Downside is that there may be nothing left for the rest to

Re: [LARTC] HTB and Openvpn

2004-10-06 Thread Peter Huetmannsberger
Hi, many thanks for your help. I have changed my setup accordingly now, however there are still packets showing up on the default qdisc when I go through the tunnel, about half the packets don't seem to match. Did you see anything wrong with the filter rules. Openvpn uses port 5001 on both

Re: [LARTC] HTB and Openvpn

2004-10-06 Thread Andreas Klauer
Peter Huetmannsberger wrote: I have changed my setup accordingly now, however there are still packets showing up on the default qdisc when I go through the tunnel, about half the packets don't seem to match. If there really only is udp traffic on port 5001, I don't see why your rules should

Re: [LARTC] HTB problem...

2004-09-07 Thread zytek
Dnia poniedziaek 06 wrzesie 2004 23:56, Cow napisa: Hi folks. Let's say I would like to make some bandwidth control on my network using HTB. I have 2 clients: [...] I think a script as i described, could be very complex to write, therefore i ask, whoever is here, for help. Thank you all in

[LARTC] HTB problem...

2004-09-07 Thread Cow
I've tryed to make a script, some of you, who thinks it looks ok? DEV=eth2 DOWNLINK=1024 UPLINK=512 DOWN1=768 UP1=384 DOWN2=256 UP2=128 tc qdisc add dev $DEV root handle 1: htb default 20 tc class add dev $DEV parent 1: classid 1:1 htb rate ${UPLINK}kbit burst 6k tc class add dev $DEV parent

[LARTC] HTB Problem...

2004-09-07 Thread Cow
You might want to check out this script http://www.geocities.com/jame_sj I just noticed a bug (that I need to figure out...) in it but this should give a start.. Looks nice, want to share the bug with me? :-) James ___ LARTC mailing list /

[LARTC] HTB problem...

2004-09-07 Thread Cow
by zytek Hello all, my first post here, maybe even I will help someone;) I assume that you want somethink like: data from server to LAN (PC1,PC2) unshaped (full 100mbit) data from Internet to LAN shaped Correct. Then all you need to do is make classes with source 192.168.0.1 and destination

Re: [LARTC] HTB problem...

2004-09-07 Thread Andreas Klauer
Am Tuesday 07 September 2004 23:18 schrieb Cow: zytec: (?) I assume that you want somethink like: data from server to LAN (PC1,PC2) unshaped (full 100mbit) data from Internet to LAN shaped Correct. Not really an example, but you may have a look at my script [1]. It solves the 100Mbit

[LARTC] HTB problem...

2004-09-06 Thread Cow
Hi folks. Let's say I would like to make some bandwidth control on my network using HTB. I have 2 clients: PC1: 192.168.100.2 PC2: 192.168.100.3 Server: 192.168.100.1 This has 2 NIC's eth1 is local and eth2 is connected to the internet. It could be nice to have a script, where you could

[LARTC] HTB prio question

2004-08-18 Thread Michael Eck
Hi all. I have a bridge running Linux 2.4.24 that I use as a bandwidth manager on a broadband wireless network. I'm using HTB and SFQ to prioritize that share bandwidth on a per-cell basis. My IP tables rules divide the traffic based on IPand traffic type (using layer-7 filter and ipp2p). My

[LARTC] HTB kernel panic crash!

2004-08-17 Thread Trevor Cordes
(list admin, please cancel the same post from my other email address -- forgot to change it on first submission) I need to setup QoS on a linux router/firewall I maintain. I spent 10 hours reading everything I could find on QoS/HTB/iproute2 and came up with what I thought made sense for my

[LARTC] HTB mpu and overhead settings for PPPoE ADSL?

2004-08-05 Thread Stefan Gold
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I'm using HTB to shape my outgoing traffic over a ADSL-link with PPPoE with a nominal bandwidth of 128kbit/s. My goal is to favour small packets like ACKs and interactive services like ssh; in other words, I want to achieve low lantency.

[LARTC] htb and fw problems

2004-08-04 Thread Ing Isianto Istiadi
Dear All, I'm using the kernel 2.6.6, iproute2-2.4.7.20020116, iptables v1.2.9, and gentoo. I have a leased-line 64 kbps. I can see the counter works in iptables, but in the htb, it doesn't go to the right class (it always go to the default class). Any help will be appreciated here's my htb

Re: [LARTC] htb and fw problems

2004-08-04 Thread mjoachimiak
- Original Message - From: [EMAIL PROTECTED] To: Ing Isianto Istiadi [EMAIL PROTECTED] Sent: Wednesday, August 04, 2004 1:40 PM Subject: Re: [LARTC] htb and fw problems hi! your default class must not have rate grater than your desired speed rate. If you have 64kbps your class shoud

Re: [LARTC] htb and fw problems

2004-08-04 Thread Ing Isianto Istiadi
- From: [EMAIL PROTECTED] To: Ing Isianto Istiadi [EMAIL PROTECTED] Sent: Wednesday, August 04, 2004 1:40 PM Subject: Re: [LARTC] htb and fw problems hi! your default class must not have rate grater than your desired speed rate. If you have 64kbps your class shoud have 60kbps

Re: [LARTC] htb and fw problems

2004-08-04 Thread Arno
Hello, On Wednesday 04 August 2004 11:00, Ing Isianto Istiadi wrote: I'm using the kernel 2.6.6, iproute2-2.4.7.20020116, iptables v1.2.9, and gentoo. I have a leased-line 64 kbps. I can see the counter works in iptables, but in the htb, it doesn't go to the right class (it always go to the

Re: [LARTC] htb and fw problems

2004-08-04 Thread Martin A. Brown
Dear Isianto Istiadi, Here are your class creation statements: : [ snip ] 1: classid 1:1 htb rate 65kbps ceil 65kbps : [ snip ] 1:1 classid 1:10 htb rate 20kbps ceil 35kbps prio 3 : [ snip ] 1:1 classid 1:20 htb rate 5kbps ceil 10kbps prio 0 : [ snip ] 1:1 classid 1:30 htb rate 8kbps

Re: [LARTC] htb and fw problems

2004-08-04 Thread Morten Kramer
only short answer test sorry - Original Message - From: Ing Isianto Istiadi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 04, 2004 3:11 PM Subject: Re: [LARTC] htb and fw problems Dear, I have change tc class add dev eth1 parent 1: classid 1:1 htb rate 65kbps ceil

Re: [LARTC] htb and fw problems

2004-08-04 Thread Ing Isianto Istiadi
Ok, here's my new htb config #!/bin/bash tc qdisc del dev eth1 root tc qdisc add dev eth1 root handle 1: htb default 80 debug 333 tc class add dev eth1 parent 1: classid 1:1 htb rate 60kbit ceil 60kbit tc class add dev eth1 parent 1:1 classid 1:10 htb rate 20kbit ceil 65kbit prio 3 tc

Re: [LARTC] htb and fw problems

2004-08-04 Thread zoop
it looks like you might have a problem with your marking with the FW. #-A OUTPUT -p tcp -m tcp --sport 3128 -j MARK --set-mark 0x2 -A OUTPUT -p tcp -m tcp --dport 80 -j others -A personal -j MARK --set-mark 40 -A others -j MARK --set-mark 20 From Looking at this I see the first commented link

Re: [LARTC] htb and fw problems

2004-08-04 Thread Ing Isianto Istiadi
On Wed, 04 Aug 2004 14:31:06 + [EMAIL PROTECTED] wrote: it looks like you might have a problem with your marking with the FW. That's what I thought, but I can't troubleshoot any other way. I tried both ways 0x80, 80 to the same affect. The strange problem is if I omitted the source ip part,

Re: [LARTC] htb and fw problems

2004-08-04 Thread mjoachimiak
I can see the counter works in iptables, but in the htb, it doesn't go to the right class Please write what commands do you use to see the counter and what counter do you mean? I think counter for ip packets isn't it? You can try to see my problem in LARTC archive: HTB 3.13 please help. In my

Re: [LARTC] HTB classifying

2004-07-25 Thread mjoachimiak
sport 80 0x classid 1:11 Take some more reading :) Good luck. - Original Message - From: Mpourtounis Dimitris [EMAIL PROTECTED] To: lartc [EMAIL PROTECTED] Sent: Saturday, July 24, 2004 11:39 PM Subject: Re: [LARTC] HTB classifying Ok then... BOX with 2 ifaces eth0 : 192.168.1.3

[LARTC] HTB classifying

2004-07-24 Thread Mpourtounis Dimitris
I am trying to shape a client (somewhat advanced). This is my target: Client is 192.168.2.224. I would like to allow him to download with 50 bits/sec in general. But, for a specific port(say 22), i would like him to download with 30 bit/sec only. The problem is that my configuration

Re: [LARTC] HTB classifying

2004-07-24 Thread mjoachimiak
Maybe it's my oversight but shoudn't you have tc qdisc add dev eth0 root handle 1:0 htb before rest of your instructions ?? I am trying to shape a client (somewhat advanced). This is my target: Client is 192.168.2.224. I would like to allow him to download with 50 bits/sec in general.

Re: [LARTC] HTB classifying

2004-07-24 Thread mjoachimiak
are right. I should have included this too in my (e-mail) configuration... BTW,Any idea of the situation - Original Message - From: [EMAIL PROTECTED] To: lartc [EMAIL PROTECTED]; Mpourtounis Dimitris [EMAIL PROTECTED] Sent: Friday, January 24, 2003 1:21 AM Subject: Re: [LARTC] HTB

Re: [LARTC] HTB classifying

2004-07-24 Thread Mpourtounis Dimitris
: [LARTC] HTB classifying OK what's the address of eth0? Is the BOX with NAT ? I think you could send a bit of your true script and describe a bit of your network especially the part when this situation is happeniing . If you really afraid of smth like hack attack change IP adressess. Although

Re: [LARTC] HTB classifying

2004-07-24 Thread Martin A. Brown
Hello Mpourtounis, : When i start downloading from node, its http taffic for examle is : really shaped at 50. When i start downloading via sftp (port 22), : its sftp traffic is really shaped at 30. But, if when there is an : http as well as an sftp session at the same time, total

[LARTC] HTB tc

2004-07-22 Thread Antonin Karasek
Hi, I'm trying to make run a simple shaping *through HTB*. I have compiled a new kernel 2.4.21. First command from http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm said: # tc qdisc add dev eth0 root handle 1: htb default 12 RTNETLINK answers: Invalid argument I tryed both standard tc from

Re: [LARTC] HTB tc

2004-07-22 Thread George Alexandru Dragoi
OT: Dudes, why i have to reedit To field and delete CC field, gmail see this as spam Now, make sure you compiled the kernel with htb, latest stable kernel is 2.4.26 or 2.6.7 On Thu, 22 Jul 2004 19:58:40 +0200, Antonin Karasek [EMAIL PROTECTED] wrote: Hi, I'm trying to make run a simple

Re: [LARTC] HTB tc

2004-07-22 Thread mjoachimiak
Check if you have HTB support in your kernel. it must be in kernel/net/sched - Original Message - From: Antonin Karasek [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 22, 2004 6:58 PM Subject: [LARTC] HTB tc Hi, I'm trying to make run a simple shaping *through HTB*. I

Re: [LARTC] : HTB - Really Big problem

2004-07-21 Thread mjoachimiak
I've found that i have messagess like this in /var/log/messages: Jul 20 20:11:26 (none) last message repeated 9 times Jul 20 20:11:30 (none) kernel: NET: 173 messages suppressed. Jul 20 20:11:30 (none) kernel: dst cache overflow Jul 20 20:12:59 (none) kernel: NET: 14 messages suppressed. -

[LARTC] htb quantum/r2q problem/question

2004-07-11 Thread Ciprian Niculescu
hello, i have a config that is with a large domain of rate, from 2kb to 40Mb and i have some problems with i don't know how to deal with. so here are some classes 2 with q=1000, one with q 20 and one with q=6400, all have been calculated by htb, in the code i speficien just rate,ceil, no

[LARTC] HTB Bdw Guarantee

2004-07-09 Thread Ow Mun Heng
Referencing: http://mailman.ds9a.nl/pipermail/lartc/2004q3/013076.html (the bullet'ed items are what he wrote) * NET * 1024/256 ADSL * ||eth1 * Linux Firewall * eth0 * ||LAN 10.a.a.a * * I want to GUARANTEE for an IP (10.x.y.z) a 800kbit

Re: [LARTC] HTB BDW Guarantee

2004-07-09 Thread Rio Martin
On Saturday 10 July 2004 05:54, toto toto wrote: Hello, I have problems setting up HTB. This is my setup : NET 1024/256 ADSL eth1 Linux Firewall eth0 LAN 10.a.a.a I want to GUARANTEE for an IP (10.x.y.z) a 800kbit bandwidth for HTTP download. But When 10.x.y.z does no HTTP download,

Re: [LARTC] HTB Packet Scheduling for Linux 2.4.14 kernel

2004-07-08 Thread Martin Devera
yes but I'm not sure if RB three lib is in 2.4.14 On Wed, 7 Jul 2004 [EMAIL PROTECTED] wrote: Hi All, Can I backport 2.4.20 kernel version's HTB related changes to 2.4.14 ? Will this work w/o any issues ? Please consider this urgent and replay asap. Thanks in advance, Reema.

[LARTC] HTB Packet Scheduling for Linux 2.4.14 kernel

2004-07-07 Thread Reema.Bangar
Hi All, Can I backport 2.4.20 kernel version's HTB related changes to 2.4.14 ? Will this work w/o any issues ? Please consider this urgent and replay asap. Thanks in advance, Reema. ___ LARTC mailing list / [EMAIL PROTECTED]

Re: [LARTC] htb: class 10007 isn't work conserving ?!

2004-07-05 Thread Catalin BOIE
On Fri, 2 Jul 2004, Glen Mabey wrote: I'm getting the following error/warning at some point in my config script, and I'm not sure which class it is referring to. htb: class 10007 isn't work conserving ?! What qdisc is attached to this class? I [think I] understand that htb is a non-work-conserving

RE: [LARTC] htb: class 10007 isn't work conserving ?!

2004-07-05 Thread Chris Bolton
Hi all, Our ISP has given us 5 static IP address plus one router IP address and I was wondering if I could get rid of their stupid EN5861 router and set up the linux machine to handle all the static addresses and routing. I figured I'd have to set up alises for other IP addresses eg ifconfig

Re: [LARTC] htb: class 10007 isn't work conserving ?!

2004-07-05 Thread Ed Wildgoose
Our ISP has given us 5 static IP address plus one router IP address and I was wondering if I could get rid of their stupid EN5861 router and set up the linux machine to handle all the static addresses and routing. I figured I'd have to set up alises for other IP addresses eg ifconfig eth0:0

Re: [LARTC] htb: class 10007 isn't work conserving ?!

2004-07-05 Thread Glen Mabey
On Mon, Jul 05, 2004 at 09:18:11AM +0300, Catalin BOIE wrote: On Fri, 2 Jul 2004, Glen Mabey wrote: I'm getting the following error/warning at some point in my config script, and I'm not sure which class it is referring to. htb: class 10007 isn't work conserving ?! What qdisc is

Re: [LARTC] htb: class 10007 isn't work conserving ?!

2004-07-05 Thread Catalin BOIE
Yes, that's what I was trying to ask below. I'm still trying to figure out which class (in the qdisc:classid format) the error message is referring to. It's about class 1:7. So, since I'm not sure which class it is (and I have several htb qdiscs; oh, I just realized that I neglected to mention

[LARTC] htb: class 10007 isn't work conserving ?!

2004-07-02 Thread Glen Mabey
I'm getting the following error/warning at some point in my config script, and I'm not sure which class it is referring to. htb: class 10007 isn't work conserving ?! I [think I] understand that htb is a non-work-conserving qdisc, and I [think I] have configured things so that every htb qdisc I

Re: [LARTC] HTB and iptables statistics

2004-07-01 Thread Stef Coene
On Wednesday 30 June 2004 19:13, Alexander Kotelnikov wrote: Hello. The problems are: 1. Using HTB I get negative values for tokens and ctokens in tc -s output, for example: This is perfectly possible. It depends on your configuration and the parent-child relation ship between the classes.

Re: [LARTC] HTB and iptables statistics

2004-07-01 Thread Andreas Klauer
Am Thursday 01 July 2004 22:52 schrieb Stef Coene: So it's possible to drag the tokens negative if the child class is more sending packets then the parent allows. If I understand you right, it's only the parent classes that can get negative tokens this way. But I also have leaf classes with

[LARTC] HTB and iptables statistics

2004-06-30 Thread Alexander Kotelnikov
Hello. The problems are: 1. Using HTB I get negative values for tokens and ctokens in tc -s output, for example: mich:~# tc -s -d class show dev eth0 class htb 1:11 parent 1:1 prio 1 quantum 1024 rate 8Kbit ceil 23Kbit burst 1609b/8 mpu 0b cburst 1628b/8 mpu 0b level 0 Sent 0 bytes 0 pkts

Re: [LARTC] HTB and iptables statistics

2004-06-30 Thread Andreas Klauer
Am Wednesday 30 June 2004 19:13 schrieb Alexander Kotelnikov: Using HTB I get negative values for tokens and ctokens in tc -s output Can't help you there. class htb 1:13 parent 1:1 prio 7 quantum 1024 rate 8Kbit ceil 16Kbit [...] 12307 pkts (dropped 20013, overlimits 0) I get traffic

Re: [LARTC] HTB patch - fairness

2004-06-25 Thread Andre Correa
Hi Devik, I played with your htbfair patch on 2.6.6 and found some diferences between 2.4 to 2.6 that cause problems when applying it. Diferences include rb_node that was rb_node_t and some other minor probs. After fixing those diff troubles I still get the following error compiling the kernel

Re: [LARTC] HTB is nor fair when 'borrowing? *bug* confirmed?

2004-06-24 Thread Andy Furniss
pljosh wrote: Uytkownik Andy Furniss napisa: I just tried with 2 d/l and 3 classes - I see the same as you now. Andy. I am happy that there is finally confirmation of what I've seen :) But what now? I am just starting with traffic shaping and my question is: how is that - that so many people are

Re: [LARTC] HTB patch - fairness

2004-06-24 Thread Andy Furniss
devik wrote: Witold Szczerba spent his time evaluating fairness of borrowing. His troubles inspired me enough to analyze the problem: When a class changes from yellow to green it disconnects itself from parent's feedlist. Unfortunately it resets feed pointer to the first child. I created a patch

[LARTC] htb vs hsfc

2004-06-24 Thread Vincent Perrier
HTB versus HFSC, both qdisc offer the same kind of service, if you want to see comparative test results, go to http://www.rawsoft.org at the line TEST RESULTS you will find the results for a sharing test and a burst test. You will see that both qdisc are good.

Re: [LARTC] htb vs hsfc

2004-06-24 Thread Jason Boxman
On Thursday 24 June 2004 13:21, Vincent Perrier wrote: HTB versus HFSC, both qdisc offer the same kind of service, if you want to see comparative test results, go to http://www.rawsoft.org at the line TEST RESULTS you will find the results for a sharing test and a burst test. You will see

Re: [LARTC] HTB patch - fairness

2004-06-24 Thread Andy Furniss
Andy Furniss wrote: I finally got this to work - I forgot to use gcc 2.59.3 to do the module - the one 3.3.3 made segfaulted and stopped tc and ifconfig from working thereafter. I tested and found that the same happens without the patch. It works - It has fixed the problem pljosh described :-)

Re: [LARTC] htb vs hsfc

2004-06-24 Thread Patrick McHardy
Vincent Perrier wrote: HTB versus HFSC, both qdisc offer the same kind of service, if you want to see comparative test results, go to http://www.rawsoft.org at the line TEST RESULTS you will find the results for a sharing test and a burst test. You will see that both qdisc are good. Nice

Re: [LARTC] HTB is nor fair when 'borrowing? *bug* confirmed?

2004-06-24 Thread pljosh
I assume you saw the patch - and it's OK now? Andy. Yes, I was the one who tested it before Devik made it public :) (and he wrote my name together with info about this patch) I wrote to him about that after you confirmed you can see the same behavior of htb. Now it works PERFECT! (three times

Re: [LARTC] htb filter

2004-06-23 Thread Jason Boxman
On Wednesday 23 June 2004 01:57, Svetozar Mihailov wrote: Shouldn't this: tc class add dev eth0 parent 2:0 classid 2:200 htb rate 100Mbit prio 10 be parent 2:? Ed W That change nothing. I have running system with 800 PC , 4 classes for each. There is no difference for me in using

Re: [LARTC] HTB: 3. Sharing hierarchy

2004-06-23 Thread Stef Coene
On Tuesday 22 June 2004 06:19, Mike Mestnik wrote: On http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm... There is a nice explanation on how/why to setup a hierarchy with HTB. Howerver what is missing is how to setup finters for this case? For more information and examples: http://docum.org/

[LARTC] HTB vs CBQ - is meaning of prio param the same?

2004-06-23 Thread adam f
Hi, I am looking working (!) qdisc that would guarantee preferential treatment to priority (ex voice traffic). It is supposed to work as LLQ (Cisco) which means it is PQ but with bandwidth limited for EF PHB traffic. I did lots of tests with CBQ and prio set to 1 for EF PHB and prio 2 for best

Re: [LARTC] HTB: 3. Sharing hierarchy

2004-06-23 Thread Mike Mestnik
I finaly found why my filters woulden't work, I was using grouping maches up with quotation() chars. This caused tc to silently IGNORE thoes matches while letting other non-quotated matches to work normaly, within the same tc cmd. I reworked my whole script to use 10:0 as the parent for filters,

Re: [LARTC] HTB: 3. Sharing hierarchy

2004-06-23 Thread Mike Mestnik
I finaly found why my filters woulden't work, I was using grouping maches up with quotation() chars. This caused tc to silently IGNORE thoes matches while letting other non-quotated matches to work normaly, within the same tc cmd. I reworked my whole script to use 10:0 as the parent for filters,

[LARTC] htb and 2.6.5 ?

2004-06-22 Thread [EMAIL PROTECTED]
does someone have expirience with HTB and kernel 2.6.5 and up... Does anyone have tested it with thousand of classes and filters.. How it behaves.. tia ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO:

Re: [LARTC] htb and 2.6.5 ?

2004-06-22 Thread Catalin BOIE
On Tue, 22 Jun 2004, [EMAIL PROTECTED] wrote: does someone have expirience with HTB and kernel 2.6.5 and up... Does anyone have tested it with thousand of classes and filters.. How it behaves.. Depends on how many filters/classes, how much traffic. If you have a lot of filters, you must use

Re: [LARTC] htb filter

2004-06-22 Thread Ed Wildgoose
Shouldn't this: tc class add dev eth0 parent 2:0 classid 2:200 htb rate 100Mbit prio 10 be parent 2:? Ed W ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[LARTC] HTB: Packet header size option.

2004-06-21 Thread Mike Mestnik
--- On Wed, 05 May 2004 14:01:28 +0100 Andy Furniss Wrote: I forgot to say - if you use DSL tweaking uprate right upto the limit with bulk traffic may not be a good idea. There are atm overheads and thay are greater (as %) for small packets eg. htb counts empy ack as 40 bytes but it's 106

[LARTC] HTB: 3. Sharing hierarchy

2004-06-21 Thread Mike Mestnik
On http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm... There is a nice explanation on how/why to setup a hierarchy with HTB. Howerver what is missing is how to setup finters for this case? I had this working when I was using a seperat qdisc for each ?layer?, making each HTB only one level

Re: [LARTC] HTB is nor fair when 'borrowing? *bug* in HTB or some coincidence?

2004-06-20 Thread Andy Furniss
pljosh wrote: HTB_HYSTERESIS 0 in net/sched/sch_htb.c. I did it, recompiled, launched... and i looks like it is even a little bit worser: user1 has almost twice as much BW as user3... I DO NOT GET IT IT LOOKS LIKE HTB WORKS FOR EVERYONE EXCEPT ME :( I tried with your rc.shape script on my LAN

Re: [LARTC] HTB is nor fair when 'borrowing? *bug* in HTB or some coincidence?

2004-06-20 Thread pljosh
Uytkownik Andy Furniss napisa: I tried with your rc.shape script on my LAN using scp. I couldn't get the bash to work - it looks to me like it will only set one user. But I Did you launch it passing argument in or ''? ./rc.shape 4 5 6 is quite far different than ./rc.shape 4 5 6 hardcoded my

Re: [LARTC] HTB is nor fair when 'borrowing? *bug* in HTB or some coincidence?

2004-06-20 Thread Andy Furniss
pljosh wrote: Uytkownik Andy Furniss napisa: I tried with your rc.shape script on my LAN using scp. I couldn't get the bash to work - it looks to me like it will only set one user. But I Did you launch it passing argument in or ''? ./rc.shape 4 5 6 is quite far different than ./rc.shape 4 5 6

Re: [LARTC] HTB is nor fair when 'borrowing? *bug* in HTB or some coincidence?

2004-06-20 Thread Ed Wildgoose
p.s. I made same test on other network with other PCs and different kernel version and it was the same... Have you got something recent? Try a 2.6.5 or newer kernel perhaps - this has 1000Hz scheduling (I think) and presumably the latest HTB patches. I guess make sure your tc is up to date

Re: [LARTC] HTB is nor fair when 'borrowing? Can someone correct me or maybe Devik's HTB has a bug?

2004-06-18 Thread Ed Wildgoose
HTB should give fifty-fifty to U1 and U3... but it is not... What is happening is that HTB gives about 350-380kbit for user3 and everything else(more than 600kbit) for user1... this period is marked as t1 on my graph... Hmm, interesting. Can you switch the order of your IP mappings around on

Re: [LARTC] HTB is nor fair when 'borrowing? *bug* in HTB or some coincidence?

2004-06-18 Thread pljosh
Ed Wildgoose wrote: Hmm, interesting. Can you switch the order of your IP mappings around on this test so that you can prove that it is some feature of HTB that user1 always gets more bandwidth, and no something about that machine (ie if you swap ip's for user1 and 3 that it still remains (the

Re: [LARTC] HTB is nor fair when 'borrowing? *bug* in HTB or some coincidence?

2004-06-18 Thread Ed Wildgoose
pljosh wrote: Ed Wildgoose wrote: Hmm, interesting. Can you switch the order of your IP mappings around on this test so that you can prove that it is some feature of HTB that user1 always gets more bandwidth, and no something about that machine (ie if you swap ip's for user1 and 3 that it

Re: [LARTC] HTB is nor fair when 'borrowing? *bug* in HTB or some coincidence?

2004-06-18 Thread Ed Wildgoose
Ed Wildgoose wrote: pljosh wrote: Ed Wildgoose wrote: Hmm, interesting. Can you switch the order of your IP mappings around on this test so that you can prove that it is some feature of HTB that user1 always gets more bandwidth, and no something about that machine (ie if you swap ip's for

Re: [LARTC] HTB is nor fair when 'borrowing? *bug* in HTB or some coincidence?

2004-06-18 Thread pljosh
Uytkownik Ed Wildgoose napisa: (see the htb_lookup_leaf function for details) Hope that helps... Hmm... My greatest C program was the most simple snmp client you can ever imagine - and I was writing it for 2 weeks to finish my classes... So I think it is not good idea for me to patch (or even to

Re: [LARTC] HTB is nor fair when 'borrowing? *bug* in HTB or some coincidence?

2004-06-18 Thread Andy Furniss
pljosh wrote: Ed Wildgoose wrote: Hmm, interesting. Can you switch the order of your IP mappings around on this test so that you can prove that it is some feature of HTB that user1 always gets more bandwidth, and no something about that machine (ie if you swap ip's for user1 and 3 that it

Re: [LARTC] HTB is nor fair when 'borrowing? *bug* in HTB or some coincidence?

2004-06-18 Thread pljosh
I just tested with my script and also see a 5-8% advantage for the lower handle class. I wouldn't call it a bug though - HTB is written for high traffic setups and trade off needs to be made between perfect behaviour and CPU usage and you say it gets better with more classes. Andy. Well -

Re: [LARTC] HTB is nor fair when 'borrowing? *bug* in HTB or some coincidence?

2004-06-18 Thread Andy Furniss
pljosh wrote: I just tested with my script and also see a 5-8% advantage for the lower handle class. I wouldn't call it a bug though - HTB is written for high traffic setups and trade off needs to be made between perfect behaviour and CPU usage and you say it gets better with more classes.

Re: [LARTC] HTB is nor fair when 'borrowing? *bug* in HTB or some coincidence?

2004-06-18 Thread Andy Furniss
Andy Furniss wrote: I also have half your bandwidth - and it was set at 400kbit for the test. I meant to say aswell, that if you are doing the tests on downloads you need to throttle to about 80% of your rate, so you can build up queues and have a bit of spare for latency. Andy.

Re: [LARTC] HTB is nor fair when 'borrowing? *bug* in HTB or some coincidence?

2004-06-18 Thread pljosh
HTB_HYSTERESIS 0 in net/sched/sch_htb.c. I did it, recompiled, launched... and i looks like it is even a little bit worser: user1 has almost twice as much BW as user3... I DO NOT GET IT IT LOOKS LIKE HTB WORKS FOR EVERYONE EXCEPT ME :( ___ LARTC

[LARTC] HTB is nor fair when 'borrowing? Can someone correct me or maybe Devik's HTB has a bug?

2004-06-17 Thread pljosh
Hello there! Yesterday I started my experiments with HTB. I configured it this way: 1: root HTB qdisc | 1:1 HTB class rate 1000kbit | /---+--\ 1:40 1:50 1:60 user1 user2 user3 rate 333 ceil 1000 for everyone. User2 is disconnected and user1 and user3 are downloading. For

Re: [LARTC] HTB theory?

2004-06-16 Thread Dmitry Golubev
Thanks very much, Devik and Andy, I had seminar today and I think it has some success, and (for now?) I do not feel like having unanswered questions. Dmitry On Sunday 13 June 2004 21:41, Martin Devera [EMAIL PROTECTED] wrote: 1. In order of priority, we satisfy all leaf classes' rates (while

Re: [LARTC] HTB theory?

2004-06-13 Thread Andy Furniss
Dmitry Golubev wrote: snip One think I do not understand neither for SFQ nor for HTB (please explain for both) - how can we maintain fairness in case of differently-sizes packets. As I understand, one packet is atomic unit, and interface is requesting not more and not less than one packet. I

Re: [LARTC] HTB theory?

2004-06-13 Thread Martin Devera
1. In order of priority, we satisfy all leaf classes' rates (while the class is ?green?) 2. When the leaf classes' rate is reached (all the leaf classes are ?yellow?), borrow the unused speed from parent classes if they have something to give (if they are not ?red?). In this case, each leaf

[LARTC] HTB theory?

2004-06-12 Thread Dmitry Golubev
Hello, I have been searching for HTB theory documentation and found two interesting sources - Devik's page and docum.org FAQ. In some places they are contradictory which make me think that Devik's theoretic document (marked actual) is just too old and does not reflect the latest changes. After

Re: [LARTC] HTB theory?

2004-06-12 Thread Stef Coene
On Saturday 12 June 2004 13:46, Dmitry Golubev wrote: Hello, I have been searching for HTB theory documentation and found two interesting sources - Devik's page and docum.org FAQ. In some places they are contradictory which make me think that Devik's theoretic document (marked actual) is

Re: [LARTC] HTB theory?

2004-06-12 Thread Dmitry Golubev
OK then, could you tell if I understand correctly and correct me if not? 1. In order of priority, we satisfy all leaf classes' rates (while the class is green) 2. When the leaf classes' rate is reached (all the leaf classes are yellow), borrow the unused speed from parent classes if they have

Re: [LARTC] HTB latency

2004-06-09 Thread miller69
tc qdisc add dev ethX parent HTBCLASS handle QDISC pfifo limit 10 Thanks guys, reducing the queue length to 10 packets the delay decreased from about 2600ms (2.6 seconds) to 80ms. That helps a lot! Regards -- Sie haben neue Mails! - Die GMX Toolbar informiert Sie beim Surfen! Jetzt aktivieren

[LARTC] HTB Bug report.

2004-06-04 Thread Thierry Coutelier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, We got the following message on the console of one of our server: ~ HTB: dequeue bug (8,12140714,12140714), report it please ! The server is a Dell Poweredge with 2 CPUs running a 2.5.25 Kernel. It is used as a ppp gateway to server l2tp

<    1   2   3   4   5   6   7   8   9   10   >