Displaying 20 results from an estimated 1000 matches similar to: "HTB patch - fairness"
2003 Jul 18
10
[HTB] htb_dequeue_tree assertion (kernel 2.4.21-ac4)
Hello,
I think the BUG_TRAP() in the htb_dequeue_tree() is wrong. First it
checks if the class pointer "cl" is NULL, which is obviously right. But
I do not understand why we also check whenever the queue length of the
leaf queue is zero "cl->un.leaf.q->q.qlen". I would have put that in the
expression of the "if" statements that comes afterwards. A queue
2004 Jun 17
19
HTB is nor fair when ''borrowing? Can someone correct me or maybe Devik''s HTB has a bug?
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 all the time (t1-t5) there are ONLY these two users downloading!
HTB should give
2004 May 13
19
HTB MPU
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 practical purposes going to be 106 - overhead
is still variable though, depending on packet size.
2002 Mar 18
2
Failed to insmod sch_htb
Hi,
I''m new to HTB and CBQ, and i want to try it.
But i failed the first step: load modules.
I patch the kernel 2.4.17 succesfully, add QoS support, and all QoS
scheds in modules instead off kernel. make clean dep bzImage modules
modules_install copy the new kernel
reboot
fine
But when i :
server:~# insmod sch_htb
Using /lib/modules/2.4.17/kernel/net/sched/sch_htb.o
2004 Oct 13
5
Re: Is this actually possible?
>Hi everyone, and thanks for your help so far.
>
>I have been playing around with tc and htb for a couple of weeks now, and
>while I am nowhere near understanding everything here, I am beginning to
>know more about packets than I ever wanted to know.
>
>I have two university buildings with a 1mb connection to the Internet. The
>two buildings (on either side of town) are
2006 Aug 02
10
[PATCH 0/6] htb: cleanup
The HTB scheduler code is a mess, this patch set does some basic
house cleaning. The first four should cause no code change, but the
last two need more testing.
--
Stephen Hemminger <shemminger@osdl.org>
"And in the Packet there writ down that doome"
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
2002 Jan 24
2
strange problem with 2.4.17 and htb
Hi,
Trying htb (latest patches from the page) with 2.4.17 I get:
RTNETLINK answers: File exists
iproute is 20010824 with the patch from the page.
The kernel module loads, but is not used:
sch_htb 12672 0 (unused)
Any ideas?
-j
2004 Jul 22
2
HTB & tc
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 Debian stable and
http://luxik.cdi.cz/~devik/qos/htb/v2/tc.gz
this one...
I tryed
2004 Jun 12
5
HTB theory?
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
reading http://www.docum.org/docum.org/faq/cache/30.html and others, I
2004 Jan 31
6
HTB dequeueing in pairs fixed
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 with
256kbit/s up I used to see +90 sometimes, now it''s +45. For the many who
have 128 up it should limit them to +90 rather than +180.
Andy.
2002 Apr 07
2
HTB question
Hi,
I am new to tc, please forgive me for simple question.
I have linux 2.4 in my routers, I would like to use HTB. I have downloaded binary code from http://luxik.cdi.cz/~devik/qos/htb/#source, (tc.gz), but I could not open the file. Is there any other place I can get binary code for HTB. Also if you can give some direction how to patch it, it will be really helpful.
Thanks in advance
Omer
2002 Oct 09
2
imq in 2.2.17 and ipchains?
Hi stef;
imq patch of 2.2.17 form http://luxik.cdi.cz/~devik/qos/imq.htm
diff against 2.2.17
Can you tell me how imq work with ipchains?
thanks for your help
regards,
haipe
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
2004 May 04
4
Wrapping prio in tbf
The manual says (about prio):
> Because it doesn''t actually shape, the same warning as for SFQ holds:
> either use it only if your physical link is really full or wrap it
> inside a classful qdisc that does shape. The latter holds for almost all
> cable modems and DSL devices.
I want to wrap prio inside of tbf. Here''s why: I have a server on a DSL
line, which has
2003 Oct 17
3
[htb] strange problems !?
hi,
I have strange problems with HTB and several hundred classes flat structure i.e.
root
|--50kbps
|--30kbps
|--50kbps
|--80kbps
|--100kbps
.... several hundred classes like this
Ceil is the same as rate. The machine get no more than 2-3% average cpu(2.4Ghz pentium).
What happens is that from time to time the traffic got "stalled".
I tried numerous things to solve
2002 Sep 07
4
imq0 not being detected
mdew:~# tc qdisc add dev imq0 handle 1: root htb default 12 r2q 1
Cannot find device "imq0"
mdew:~# lsmod
Module Size Used by Not tainted
ipt_REDIRECT 728 0 (autoclean)
ipt_MARK 728 2 (autoclean)
iptable_mangle 2100 1 (autoclean)
ipt_REJECT 2712 4 (autoclean)
iptable_filter 1672 1 (autoclean)
2005 Jan 25
3
graphing
Does anyone know what Martin used to generate the graphs in the HTB user guide?
http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm
Thanks!
-Jacob
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
2002 Jan 23
5
unknown qdisc ''htb'' ???
Hello,
I''d like to try out HTB for traffic shaping.
I have a test machine with Redhat 7.2 (kernel 2.4.10), I''ve downloaded
kernel 2.4.17, applied the patch from http://luxik.cdi.cz/~devik/qos/htb/,
recompiled the kernel (checked the option to use HTB in make menuconfig),
and rebooted with the new kernel.
When I try to add some rules with HTB (f.i. tc qdisc add dev eth0 root
2004 Jul 28
3
Re: Re: HTB 3.13 please help
//Just to not forget eth0 is WAN and eth1 is LAN . The box is NATing my lan.
I configured tcng to shape both download and upload
and i got connection loss again.
Maybe it is my script fault or it is something bad with packets marking .
this is how i mark outgoing packets
iptables -t mangle -A MYSHAPER-OUT -p tcp -s 192.168.1.23 -j MARK --set-mark
$ip
and this part of my script which is intented
2007 Jun 06
4
how hierarchical is HTB?
Hi there!
I''ve using HTB for a while and now I an faced with a ''problem''.
How hierarchical is HTB?
Let''s say I have this 3 layer HTB setup:
root class 1: (rate=100, ceil=100)
1: children classes 1:10 (30,100) and 1:20 (70,100)
1:10 children classes 1:100 (10,100) and 1:101 (20,100)
1:20 children classes 1:200 (30,100) and 1:201 (70,100)
I managed to have
2002 Apr 26
13
New HTB docs
Hi,
for interested in participation on finishing new HTB developement
I created simple docs regarding it. It is some insight into CBQ
and HTB workings and problems.
See luxik.cdi.cz/~devik/qos/htb/v3/