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

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

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.

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

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

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

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/

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

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

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

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

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

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

Re: [LARTC] HTB MPU

2004-05-30 Thread Andy Furniss
Jason Boxman wrote: On Friday 28 May 2004 14:54, Andy Furniss wrote: snip 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

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

Re: [LARTC] HTB MPU

2004-05-28 Thread Andy Furniss
Jason Boxman wrote: On Friday 14 May 2004 03:05, Ed Wildgoose wrote: snip 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

Re: [LARTC] HTB MPU

2004-05-28 Thread Jason Boxman
On Friday 28 May 2004 14:54, Andy Furniss wrote: snip 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 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 -

Re: [LARTC] HTB MPU

2004-05-21 Thread syrius . ml
[...] I've just noticed that there is a patch on devik's site which does mpu and overhead. For dsl users mpu is, for practical purposes going to be 106 - overhead is still variable though, depending on packet size. Having these should let you push upstream bandwidth rates a bit closer to

Re: [LARTC] HTB MPU

2004-05-20 Thread Jason Boxman
On Monday 17 May 2004 18:36, Andy Furniss wrote: snip Could be this then - You can make HTB more accurate by setting HTB_HYSTERESIS to 0 in net/sched/sch_htb.c. I have been messing with producing graphs with SNMP, so I only just did this. I was hoping to get before and after graphs to

Re: [LARTC] HTB MPU

2004-05-20 Thread Andy Furniss
Jason Boxman wrote: On Monday 17 May 2004 18:36, Andy Furniss wrote: snip Could be this then - You can make HTB more accurate by setting HTB_HYSTERESIS to 0 in net/sched/sch_htb.c. I have been messing with producing graphs with SNMP, so I only just did this. I was hoping to get before and after

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

2004-05-18 Thread Ed Wildgoose
Jason Boxman wrote: On Monday 17 May 2004 17:23, Ed Wildgoose wrote: snip Read the follows to that post as well. Basically it's only an approximation. The MPU is basically pointing out that your ADSL stream is encapsulated in an ATM stream. ATM uses fixed size 64 byte packets. You need at

Re: [LARTC] HTB Web server lag

2004-05-18 Thread Andreas Klauer
Am Wednesday 19 May 2004 01:43 schrieb Laurence Arabia: My default class is 512Kbit DS 256Kbit US. I remembering reading about this before but cannot find the post now. I have looked on the HTB site but cannot find a bug report. Most likely you're putting your local traffic into the same

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

2004-05-17 Thread Ed Wildgoose
I imagine that 106 value is a reference to this post: http://mailman.ds9a.nl/pipermail/lartc/2004q2/012369.html ... It's my suspicion that the MPU and overhead options for HTB would assist in resolving this and enable me to resume using 190kbit instead of 160kbit for the outer most parent

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

2004-05-17 Thread Jason Boxman
On Monday 17 May 2004 17:23, Ed Wildgoose wrote: snip Read the follows to that post as well. Basically it's only an approximation. The MPU is basically pointing out that your ADSL stream is encapsulated in an ATM stream. ATM uses fixed size 64 byte packets. You need at least 2 of these,

Re: [LARTC] HTB MPU

2004-05-17 Thread Andy Furniss
Andy Furniss wrote: You can make HTB more accurate by setting HTB_HYSTERESIS to 0 in net/sched/sch_htb.c. To save time - if you built HTB as a module, you can probably (well it worked for me) get away with editing htb.c and do make SUBDIRS=net/sched modules and replacing

Re: [LARTC] HTB MPU

2004-05-15 Thread Jason Boxman
On Friday 14 May 2004 05:55, Andy Furniss wrote: snip If you can get a cell count from your modem you can work it out with ping. I don't know what your pppoe is. I can probably get my USB Stringray out of the closet and hook it up. I think the Windows diagnostic utility for it actually

Re: [LARTC] HTB MPU

2004-05-14 Thread Ed Wildgoose
Andy Furniss wrote: Hi. I wrote in a reply to a mail on here recently that you can't set mpu (minimum packet unit) on HTB as you can on CBQ. I've just noticed that there is a patch on devik's site which does mpu and overhead. http://luxik.cdi.cz/~devik/qos/htb/ For dsl users mpu is, for

Re: [LARTC] HTB MPU

2004-05-14 Thread Andy Furniss
Ed Wildgoose wrote: Andy Furniss wrote: Hi. I wrote in a reply to a mail on here recently that you can't set mpu (minimum packet unit) on HTB as you can on CBQ. I've just noticed that there is a patch on devik's site which does mpu and overhead. http://luxik.cdi.cz/~devik/qos/htb/ For dsl

Re: [LARTC] HTB MPU

2004-05-14 Thread Andy Furniss
Jason Boxman wrote: On Thursday 13 May 2004 13:28, Andreas Klauer wrote: Am Thursday 13 May 2004 16:38 schrieb Andreas Klauer: Am Thursday 13 May 2004 15:54 schrieb Andy Furniss: I've just noticed that there is a patch on devik's site which does mpu and overhead. I'll give it a try. Thanks for

Re: [LARTC] HTB MPU

2004-05-13 Thread Jason Boxman
On Thursday 13 May 2004 13:28, Andreas Klauer wrote: Am Thursday 13 May 2004 16:38 schrieb Andreas Klauer: Am Thursday 13 May 2004 15:54 schrieb Andy Furniss: I've just noticed that there is a patch on devik's site which does mpu and overhead. I'll give it a try. Thanks for the hint.

Re: [LARTC] htb bandwith

2004-05-04 Thread Stef Coene
On Monday 03 May 2004 13:54, derbel hajer wrote: Hi, tc qdisc add dev eth0 root handle 1: htb tc class add dev eth0 parent 1:0 classid 1:1 htb rate 2000Kbit ceil 2000kbit tc class add dev eth0 parent 1:1 classid 1:2 htb rate 1200Kbit ceil 2000kbit tc class add dev eth0parent 1:1 classid

Re: [LARTC] HTB and message 'RTNETLINK answers: Invalid argument'

2004-03-29 Thread Andy Furniss
Patrick Spousta wrote: I wish to use HTB shapper with ESFQ scheduler per class. Kernel patched, compiled and reinstaled with all needed modules. Package iproute is also patched, compiled and this 'new' version is installed. When I tried assign HTB as root qdisc with the 'new' tc I got message

Re: [LARTC] HTB and message 'RTNETLINK answers: Invalid argument'

2004-03-29 Thread Patrick Spousta
Andy Furniss wrote: Sources for ESFQ patching I take from Debian sources (iproute_20010824.orig.tar.gz, iproute_20010824-8.diff.gz and iproute_20010824-8.dsc). I hope it sources are the same version as original (Debian binary) iproute package. When I tried apply HTB3.6 patch to iproute

Re: [LARTC] HTB speed

2004-03-26 Thread Andy Furniss
Simon Byrnand wrote: At 12:46 26/03/2004, Simon Byrnand wrote: At 18:17 25/03/2004, Andrew Hall wrote: You need to recompile the kernel after altering this value in linux/include/net/pkt_sched.h. Also remember that if using SFQ on leaf qdisc, then the queue length may cause delay problems if

Re: [LARTC] HTB speed

2004-03-26 Thread Jeroen Vriesman
Strange, must be somthing else going on. I had the same 40 to 50 percent too slow, which was completely fixed bij using PSCHED_CPU in pkt_sched.h. Using kernel 2.4.24, I measure the speed with the iptables byte counters. On Fri, 26 Mar 2004 16:27:42 +1200 Simon Byrnand [EMAIL PROTECTED]

Re: [LARTC] HTB speed

2004-03-25 Thread Jeroen Vriesman
: Simon Byrnand [EMAIL PROTECTED] To: Jeroen Vriesman [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, March 25, 2004 4:36 PM Subject: Re: [LARTC] HTB speed At 11:14 14/03/2004, Jeroen Vriesman wrote: Hi, just putting the answer to my own question here, for those who have

RE: [LARTC] HTB speed

2004-03-25 Thread ThE LinuX_KiD
Byrnand [EMAIL PROTECTED] - To: Jeroen Vriesman [EMAIL PROTECTED]; [EMAIL PROTECTED] - Sent: Thursday, March 25, 2004 4:36 PM - Subject: Re: [LARTC] HTB speed - - - At 11:14 14/03/2004, Jeroen Vriesman wrote: - Hi, - - just putting the answer to my own question here, for those - who have the - same

Re: [LARTC] HTB speed

2004-03-24 Thread Simon Byrnand
At 11:14 14/03/2004, Jeroen Vriesman wrote: Hi, just putting the answer to my own question here, for those who have the same problem, and read the mailing list archive. The timing of the P4 based on jiffies is hopeless, it's different for every processor, and can be a wrong by a factor 3. If

Re: [LARTC] HTB speed

2004-03-24 Thread Andrew Hall
considerably. This change needs to be done in linux/net/sched/sch_sfq.c. which also needs a kernel recompilation. - Original Message - From: Simon Byrnand [EMAIL PROTECTED] To: Jeroen Vriesman [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, March 25, 2004 4:36 PM Subject: Re: [LARTC] HTB

Re: [LARTC] HTB speed

2004-03-15 Thread Maria Joana Urbano
in pkt_sched.h: #define PSCHED_CLOCK_SOURCE PSCHED_CPU that's all, I wonder why it's not default to do this, or maybe it's an idea to make the packet scheduler detect the presence of tsc when the module is loaded. Hi, I think not all processors accept this #define PSCHED_CLOCK_SOURCE

Re: [LARTC] HTB speed

2004-03-15 Thread Jeroen Vriesman
Hi, Indeed, changing the timer to 1000Hz is possible, it turned out that I have a machine here running with a 1000Hz timer ticker. (I've installed a realtime kernel on it for audio recording). About your previous question, I've noticed that the system with 1000Hz ticker (which has been

Re: {Spam?} Re: [LARTC] HTB speed

2004-03-15 Thread Maria Joana Urbano
Indeed, changing the timer to 1000Hz is possible, it turned out that I have a machine here running with a 1000Hz timer ticker. (I've installed a realtime kernel on it for audio recording). About your previous question, I've noticed that the system with 1000Hz ticker (which has been running

Re: {Spam?} Re: [LARTC] HTB speed

2004-03-15 Thread Maria Joana Urbano
Hi Jeroen, Thanx for your fast answer. to use the TSC, the processor has to have a tsc, you can see that in /proc/cpuinfo, for as far as I know, every P4 has it (but I'm not sure), it's in the flags of cpuinfo: On my P4-1800: flags : fpu vme de pse tsc msr pae mce cx8 apic sep

Re: [LARTC] HTB speed

2004-03-15 Thread Jeroen Vriesman
Hi, to use the TSC, the processor has to have a tsc, you can see that in /proc/cpuinfo, for as far as I know, every P4 has it (but I'm not sure), it's in the flags of cpuinfo: On my P4-1800: flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts

Re: {Spam?} Re: [LARTC] HTB speed

2004-03-15 Thread Jeroen Vriesman
List, I just logged in to a machine with a modern AMD cpu, it also has a TSC. [EMAIL PROTECTED]:~ cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 6 model name : AMD Athlon(TM) XP 2000+ stepping: 2 cpu MHz : 1668.736

Re: [LARTC] HTB speed

2004-03-13 Thread Jeroen Vriesman
Hi, just putting the answer to my own question here, for those who have the same problem, and read the mailing list archive. The timing of the P4 based on jiffies is hopeless, it's different for every processor, and can be a wrong by a factor 3. If the tsc (time stamp counter) is used, the

Re: [LARTC] htb classes

2004-03-06 Thread Stef Coene
On Sunday 29 February 2004 22:30, Ciprian Niculescu wrote: hi, i want 5 classes that have rate 50, and ceil to max(or near) and that borrow bandwidth. but which config is better and why: It depends on what you want to do. In the first example, the traffic will be equally divided and each

Re: [LARTC] HTB classes and SFQ qdiscs showing 0 sent bytes

2004-02-25 Thread Simon Byrnand
At 00:24 25/02/2004, Animesh Bansriyar wrote: Hi All, I have set up a test script to limit incoming connections to my Network Server like this. Running SuSE Linux Professional 8.2. The snippet from my script is: SNIP # Adding some filters tc filter add dev eth0 protocol ip parent 1:2 prio 1

Re: [LARTC] HTB Quatum values

2004-02-20 Thread Stef Coene
On Friday 20 February 2004 06:18, Damion de Soto wrote: Hi guys, I've just been playing and reading again, and come to the conclusion that although i've read a lot about quantum ( r2q) settings for the htb qdisc, i still don't understand it. If the quantum for each class should be as small

RE: [LARTC] htb kernel 2.4.18

2004-02-12 Thread Geoff Dornan
Are you using the tc userspace util binary that has HTB in it ? -Original Message- From: Eddie [mailto:[EMAIL PROTECTED] Sent: 12 February 2004 01:24 To: lartc Subject: [LARTC] htb kernel 2.4.18 Good day all I'm trying to install htb under redhat 7.3 I got htb and patched the kernel,mad

Re: [LARTC] htb kernel 2.4.18

2004-02-12 Thread Stef Coene
On Thursday 12 February 2004 12:23, Eddie wrote: Good day all I'm trying to install htb under redhat 7.3 I got htb and patched the kernel,mad a make menuconfig and selected htb under qos and did the recompile and started up with the new kernel now when I run the scrip it says Any Idea pleas

Re: [LARTC] HTB Script Errors. What is wrong?

2004-02-12 Thread Stef Coene
On Thursday 12 February 2004 12:51, Vlad H. wrote: What can be wrong in this script? Any help is appreciated. snip Local traffic and Counter-Strike traffic are ok. But when it comes to HTTP I'm getting huge delays, lost packets on MSN Messenger. I also found these errors with dmesg command:

Re: [LARTC] htb,iptables

2004-02-11 Thread Stef Coene
On Monday 09 February 2004 15:00, eddieknows wrote: Hi all I'm sure you have heard this before but sorry.I wrote a script once and never looked at it again.An as my luck will have it I need it now and it is gone.I'm trying my best to rewrite it:-( My 1st question is: If my server is a

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

2004-02-11 Thread Stef Coene
On Monday 09 February 2004 20:50, Patrick Turley wrote: I am seeing a lot of messages like this on my console and in /var/log/messages: Feb 9 19:27:55 rnsa kernel: htb: class 20001 isn't work conserving ?! The class it's referring to is the only subclass of an HTB qdisc. Can anyone

Re: [LARTC] HTB - got mesage invalid parent ID is wrong: 1:1

2004-02-08 Thread Stef Coene
On Sunday 08 February 2004 10:44, Patrick Spousta wrote: Hi, I have more ethernet cards. Egress shaping with HTB over eth0 works fine, ingress shaping with HTB over IMQ works also fine, but in both of cases I use only one class of traffic. Now I want to divide traffic to 3 classes on other

Re: [LARTC] HTB dequeueing in pairs fixed

2004-02-01 Thread Stef Coene
On Saturday 31 January 2004 18:00, Alexander Clouter wrote: On Jan 31, Art??ras ??lajus wrote: Stef Coene wrote: Devik told me that disabling hysteresis will give you more accuracy, but you will loose speed. I had to disable hysteresis when I did some bursts tests.

Re: [LARTC] HTB dequeueing in pairs fixed

2004-02-01 Thread Alexander Clouter
On Feb 01, Stef Coene wrote: On Saturday 31 January 2004 18:00, Alexander Clouter wrote: On Jan 31, Art??ras ??lajus wrote: Stef Coene wrote: Devik told me that disabling hysteresis will give you more accuracy, but you will loose speed. I had to disable hysteresis when I did some

Re: [LARTC] HTB dequeueing in pairs fixed

2004-01-31 Thread Stef Coene
On Saturday 31 January 2004 02:40, Andy Furniss wrote: I posted earlier when I noticed that htb was releasing packets in pairs, even though my burst/quantums were 1 pkt. To fix I set HTB_HYSTERESIS 0 in net/sched/sch_htb.c . This gives a noticable gain in upstream worst case latency, for me

Re: [LARTC] HTB dequeueing in pairs fixed

2004-01-31 Thread Artras lajus
Stef Coene wrote: Devik told me that disabling hysteresis will give you more accuracy, but you will loose speed. I had to disable hysteresis when I did some bursts tests. http://docum.org/stef.coene/qos/faq/cache/36.html Maybe this could be set as kernel option and not by editing .c file in next

Re: [LARTC] HTB dequeueing in pairs fixed

2004-01-31 Thread Alexander Clouter
On Jan 31, Art??ras ??lajus wrote: Stef Coene wrote: Devik told me that disabling hysteresis will give you more accuracy, but you will loose speed. I had to disable hysteresis when I did some bursts tests. http://docum.org/stef.coene/qos/faq/cache/36.html Maybe this could be set as

Re: [LARTC] HTB dequeueing in pairs fixed

2004-01-31 Thread Andy Furniss
Stef Coene wrote: On Saturday 31 January 2004 02:40, Andy Furniss wrote: I posted earlier when I noticed that htb was releasing packets in pairs, even though my burst/quantums were 1 pkt. To fix I set HTB_HYSTERESIS 0 in net/sched/sch_htb.c . This gives a noticable gain in upstream worst case

Re: [LARTC] HTB/SFQ dequeueing in pairs

2004-01-27 Thread Andy Furniss
I got this reply from don would rather answer on list so more people have a chance to correct any of my misconceptions :-) [this message off list - feel free to forward it, but leave out my address] I wanted to see where from a slot the packets got dropped when the queue was full. (e)sfq

Re: [LARTC] HTB and VOIP- Choppy voice quality: What am I doing wrong? Desperate!

2004-01-22 Thread Artras lajus
Dan White wrote: All of the gateways are set up properly, and I can communicate in all directions, and can place calls clearly when the traffic is low. Now here is my problem. When I dump a big file over the fiber link, the voice quality goes down considerably. I hit cancel on the file, the

<    1   2   3   4   5   6   7   >