Displaying 20 results from an estimated 3000 matches similar to: "HTB code :-)"
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 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/
2004 Jun 21
3
HTB patch - fairness
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
where the class uses classid to remember its position in the feedlist. The
patch for 2.4.24 and hopefully
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 29
3
HTB/IMQ with GRE bug
Hi Devik/Patrik,
In setting up IMQ/HTB with a GRE Tunnel I''m constantly getting kernel
errors:
[root@linux /root]# dmesg
... ... ...
NET: XXX messages suppressed.
Dead loop on virtual device gre1, fix it urgently!
... ... ...
This I get only if I''m going to start cross device b/w control. If I remove
iptables rule
iptables -t mangle -D POSTROUTING -j IMQ
then no such warning
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
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
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
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
2005 Jan 18
3
Doubt regarding priority of classes with HTB
Hi,
I''m a bit confused with the priority of different classes with HTB. How it will be? Will the class with lowest no: have maximum priority?
Any help is most appreciated,
Thanks in advance,
Sanjeev
--
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.
Powered by
2003 Jul 05
13
HTB doesn''t respect rate values
Hi,
machine: AMD K6 200 MHz
Linux distribution: Mandrake 8.1
kernel: compiled 2.4.21
applied this:
#define PSCHED_CLOCK_SOURCE PSCHED_CPU in file
linux/include/net/pkt_sched.h bevore compiled the kernel
(described on http://www.docum.org/stef.coene/qos/faq/cache/40.html)
bandwitch on eth0: 128kbit
The most simple configuration - 122kbit guaranted for WWW (sport 80) and
2002 Mar 29
7
"weight" parameter in htb?
Hello,
I''ve been using cbq''s "weight" parameter to influence distribution of
excess bandwidth among sibling classes. Does htb offer something
similar?
So far I think that
- you either use priorities - then excess bandwidth is offered to higher
priority classes first, the rest (if any) is distributed among lower
priority classes
- or you don''t use
2005 Nov 02
1
HTB not shaping traffic
I cannot get HTB to function properly. Most classes transmit more than
their ceiling, more than any reasonable burst would allow. I have
reviewed my script several times but I can''t find anything out of place.
The setup is as standard as it gets: one HTB root qdisc, a small tree of
HTB classes, one SFQ qdisc for each leaf HTB class.
To illustrate the problem, here is non-leaf HTB
2004 May 13
2
wondershaper.htb problem
hi there,
this is my 1st message in the list.
I would like to use this wondershaper.htb to limit the bandwith usage at
home.
My kernel config is:
# QoS and/or fair queueing
#
CONFIG_NET_SCHED=y
CONFIG_NET_SCH_CBQ=y
CONFIG_NET_SCH_HTB=y
CONFIG_NET_SCH_CSZ=y
CONFIG_NET_SCH_HFSC=y
CONFIG_NET_SCH_PRIO=y
CONFIG_NET_SCH_RED=y
CONFIG_NET_SCH_SFQ=y
CONFIG_NET_SCH_TEQL=y
CONFIG_NET_SCH_TBF=y
2003 Dec 07
1
HTB: Two OOPSes fixed
Hello all,
Two oopses were found by zhaoyao and Daniel Blueman. Patch against
2.4.23 and 2.6.0-test10 is here. It will be included in next kernel
releases of course.
-------------------------------
Martin Devera aka devik
Linux kernel QoS/HTB maintainer
http://luxik.cdi.cz/~devik/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
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.