Re: [LARTC] HTB is losing packets ?

2004-10-28 Thread George Alexandru Dragoi
Well, similar things happened on a machine with 2.4.26, with about 300 classes (for 150 users with different cir/mir for metro/extern). I remade the classes and i applyed fw filters instead of u32, and now it works very well on 2.4.26. On Thu, 28 Oct 2004 15:22:42 +0200, Dumitrache Ionut <[EMAIL

Re: [LARTC] htb

2004-10-17 Thread James Lista
a "vampire", when 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

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] ht

Re: [LARTC] htb

2004-10-17 Thread Andreas Klauer
Am Sunday 17 October 2004 15:02 schrieb James Lista: > and about that you say take a look at ipp2p or l7-filter: errr, can > they identify when a user changed edonkey or any other p2p default port > and limit such packet even so They try to. I'm using IPP2P and it works okay for me. Althou

Re: [LARTC] htb

2004-10-17 Thread James Lista
: James Lista ; [EMAIL PROTECTED] Sent: Sunday, October 17, 2004 10:53 AM Subject: Re: [LARTC] htb This is no good cause for example bittorent can download on port 80 :D. So the best way is create classes with ceil parameter for example 128kbit to ensure relability for every user

Re: [LARTC] htb

2004-10-17 Thread James Lista
edonkey or any other p2p default port and limit such packet even so - Original Message - From: "Andreas Klauer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, October 17, 2004 10:19 AM Subject: Re: [LARTC] htb > Am Sunday 17 October 2004

Re: [LARTC] htb

2004-10-17 Thread ja
This is no good cause for example bittorent can download on port 80 :D. So the best way is create classes with ceil parameter for example 128kbit to ensure relability for every user and limit number of connections to 50-80 per user. This the best (i can get a word grr- you know) if you d

Re: [LARTC] htb

2004-10-17 Thread Andreas Klauer
Am Sunday 17 October 2004 14:42 schrieb James Lista: > 600kbit 50% for port 80 >30% for port 25 and 110 >20% for the rest Sure, that's possible. That's one 600kbit class with three child classes. However, there may be many other ports

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? ___

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] http://ma

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

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 include/net/pkt_sched.

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 k

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

2004-10-08 Thread Jason Boxman
On Friday 08 October 2004 10:58, Andy Furniss wrote: > 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 Affordable H

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

2004-10-08 Thread Andy Furniss
Drink Linux wrote: hello Andy , i think they are right for 256kbps = 2048kbit ... ahh I see. I just tried your setup on my eth0 and it works OK. Though HTB's stats don't seem too accurate - I used wget/ftp to judge rates. You may need to patch HTB/use a newer kernel - there was a patch posted o

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

2004-10-08 Thread Drink Linux
hello Andy , i think they are right for 256kbps = 2048kbit ... i have added a leaf pfifo with a limit of 1 packet per second, coz if i have 2-10 it wont work...viola !!! the ceiling rate for each class rule is now working... my problem is that you can reach the ceiling class only if you have 4-5

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

2004-10-08 Thread Andy Furniss
Drink Linux wrote: 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 wh

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 mat

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: 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 sha

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 10

Re: [LARTC] HTB problem...

2004-09-07 Thread zytek
Dnia poniedziałek 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 yo

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

2004-08-23 Thread Andy Furniss
Stefan Gold wrote: -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 l

Re: [LARTC] htb and fw problems

2004-08-04 Thread Ing Isianto Istiadi
On Thu, 5 Aug 2004 01:40:48 +0200 > 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? I'm using iptables -L -v -x -t mangle and look for my rule. My assumptions is that if the counter is counting up in the iptables

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

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 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 lin

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 class

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 pa

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 ceil

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 t

Re: [LARTC] htb and fw problems

2004-08-04 Thread Ing Isianto Istiadi
--- 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

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 rat

Re: [LARTC] HTB classifying

2004-07-25 Thread mjoachimiak
> match ip 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 clas

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 bandw

Re: [LARTC] HTB classifying

2004-07-24 Thread Mpourtounis Dimitris
Sent: Friday, January 24, 2003 2:13 AM Subject: Re: [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 > rea

Re: [LARTC] HTB classifying

2004-07-24 Thread mjoachimiak
CTED]> > Sent: Friday, January 24, 2003 1:21 AM > Subject: Re: [LARTC] HTB classifying > > > > 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

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 gen

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 H

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 sha

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. - O

Re: [LARTC] HTB & Bdw Guarantee

2004-07-10 Thread Dmitry Golubev
Shouldn't you assign priorities to your classes? Also make RED a leaf queue for more more smooth TCP experience Dmitry On Saturday 10 July 2004 01:48, toto toto <[EMAIL PROTECTED]> wrote: > Hello, > > I have problems setting up HTB. > This is my setup : > > NET 1024/256 ADSL > > eth1 > Linux Fir

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 d

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. > __

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 : 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 that I'm using

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

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 xx.xx

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 eth0

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

2004-07-04 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 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 n

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 class

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 s

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 kerne

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 'hip

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 comparis

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 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

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 wh

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

2004-06-24 Thread Andy Furniss
pljosh wrote: Użytkownik 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 ar

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,

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.or

Re: [LARTC] htb filter

2004-06-22 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

Re: [LARTC] htb filter

2004-06-22 Thread Svetozar Mihailov
> 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 "parent 2:" vs "parent 2:0". Both give same resul

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/

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 hashes

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

2004-06-20 Thread pljosh
Użytkownik 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 using HTB for

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

2004-06-20 Thread Andy Furniss
Andy Furniss wrote: pljosh wrote: Użytkownik 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 differe

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 a

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

2004-06-20 Thread Andy Furniss
pljosh wrote: Użytkownik 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

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

2004-06-20 Thread pljosh
Użytkownik 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

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 u

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 mailin

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

2004-06-18 Thread pljosh
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. This 80% rule doesnt affect me as I am doing this on my local 100mbit network. I mean all the traffic is local - ins

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 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 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 - y

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 still

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

2004-06-18 Thread pljosh
Użytkownik 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

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 user1

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 still

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? 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 o

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 (whi

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 le

Re: [LARTC] HTB theory?

2004-06-13 Thread Andy Furniss
Dmitry Golubev wrote: 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 don't

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 hav

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

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 aktiviere

Re: [LARTC] HTB Bug report.

2004-06-04 Thread Catalin BOIE
On Fri, 4 Jun 2004, Thierry Coutelier wrote: -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

Re: [LARTC] HTB latency

2004-06-01 Thread Marton Sandor
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > Can someone point me how to reduce this queue length or wich else qdisc I > can use to improve latency? All I need is a short queue in addition to the > shaping accuracy of HTB. Things like SFQ don't help. CBQ is a bit faster but > far more in

Re: [LARTC] HTB MPU

2004-05-30 Thread Andy Furniss
Ed Wildgoose wrote: Reading your other post I see your small traffic is ~100b - this would use three cells, so as a temporary kludge you could set your mpu to 159 and see how it goes. AFAIK the author of the HTB patch is looking into modifying it to do the sums properly for DSL. There isn't on

Re: [LARTC] HTB MPU

2004-05-30 Thread Andy Furniss
Jason Boxman wrote: On Friday 28 May 2004 14:54, Andy Furniss wrote: Reading your other post I see your small traffic is ~100b - this would use three cells, so as a temporary kludge you could set your mpu to 159 and see how it goes. AFAIK the author of the HTB patch is looking into modifying it to

Re: [LARTC] HTB MPU

2004-05-28 Thread Ed Wildgoose
Reading your other post I see your small traffic is ~100b - this would use three cells, so as a temporary kludge you could set your mpu to 159 and see how it goes. AFAIK the author of the HTB patch is looking into modifying it to do the sums properly for DSL. There isn't one answer though - Ed

Re: [LARTC] HTB MPU

2004-05-28 Thread Jason Boxman
On Friday 28 May 2004 14:54, Andy Furniss wrote: > Reading your other post I see your small traffic is ~100b - this would > use three cells, so as a temporary kludge you could set your mpu to 159 > and see how it goes. > > AFAIK the author of the HTB patch is looking into modifying it to do the >

Re: [LARTC] HTB MPU

2004-05-28 Thread Andy Furniss
Jason Boxman wrote: On Friday 14 May 2004 03:05, Ed Wildgoose wrote: I appears that you could change the patch in tc/core in fn tc_calc_rtable, from: + if (overhead) + sz += overhead; to something like: + if (overhead) + sz += (((sz-1)/mpu)+1) * overhead; I did that and recompiled ipr

Re: [LARTC] HTB, MPU, and suitable values

2004-05-25 Thread Ed Wildgoose
Andreas Klauer wrote: Am Tuesday 18 May 2004 08:38 schrieb Ed Wildgoose: I would code this as: size = ( (int)((datasize-1)/48) + 1) * 53 You could hardcode something similar into your tc and see if it helps (just remove PMU and overhead code added by the existing patch). How does modifying

Re: [LARTC] HTB, MPU, and suitable values

2004-05-25 Thread Andreas Klauer
Am Tuesday 18 May 2004 08:38 schrieb Ed Wildgoose: > I would code this as: > > size = ( (int)((datasize-1)/48) + 1) * 53 > > You could hardcode something similar into your tc and see if it helps > (just remove PMU and overhead code added by the existing patch). How does modifying the tc code affe

Re: [LARTC] HTB MPU

2004-05-24 Thread Ed Wildgoose
Jason Boxman wrote: On Friday 14 May 2004 03:05, Ed Wildgoose wrote: I appears that you could change the patch in tc/core in fn tc_calc_rtable, from: + if (overhead) + sz += overhead; to something like: + if (overhead) + sz += (((sz-1)/mpu)+1) * overhead; I did that and recompi

Re: [LARTC] HTB MPU

2004-05-24 Thread Jason Boxman
On Friday 14 May 2004 03:05, Ed Wildgoose wrote: > I appears that you could change the patch in tc/core in fn > tc_calc_rtable, from: > > + if (overhead) > + sz += overhead; > > to something like: > > + if (overhead) > + sz += (((sz-1)/mpu)+1) * overhead; I did that and recompiled

<    1   2   3   4   5   6   7   8   9   >