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]
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
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?
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
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]
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,
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
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
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
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
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
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
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
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
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
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
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
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 /
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
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
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
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
(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
-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.
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
- 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
-
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
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
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
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
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
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
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,
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
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
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
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.
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
: [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
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
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
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
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
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.
-
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
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
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,
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.
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]
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
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
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
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
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
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
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.
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
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
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
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
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
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
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.
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
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 :-)
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
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
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
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/
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
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,
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,
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:
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
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/
--- 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
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
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
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
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
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
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
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
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
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
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
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
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 -
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.
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.
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
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
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
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
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
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
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
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
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
-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
401 - 500 of 1020 matches
Mail list logo