Hi!
How does prioritization work when you''ve got a tree structure, e.g.
|
+-- class_a rate 64kbit prio 1
| |
| +-- class_a1 rate 32kbit prio 1
| |
| `-- class_a2 rate 32kbit prio 2
|
`-- class_b rate 64kbit prio 2
Above could either be interpreted as
(a) a, a1 have prio 1
b, a2 have prio 2
(iow, no distinction is being made between the inner/nested classes and
the outer/parent classes)
OR
(b) all packets matching a1, a2 are prio 1, then a1 is given a higher
priority than a2
(iow, multiple layers of prioritization exist)
--
Regards
Abraham
TODAY the Pond!
TOMORROW the World!
-- Frogs (1972)
___________________________________________________
Abraham vd Merwe - Frogfoot Networks CC
1st Floor, Albion Springs, 183 Main Road, Newlands
Phone: +27 21 689 3876 Cell: +27 82 565 4451
Http: http://www.frogfoot.net/ Email: abz@frogfoot.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Abraham van der Merwe wrote:>Hi! > >How does prioritization work when you''ve got a tree structure, e.g. > > >I think the whole idea of linux QOS is that it dequeues up the tree until it reaches the net interface. So effectively I think you evaluate each leaf in turn on the way up the tree If for example you have some queue which gives 50:50, and below one leaf you add another queue which gives 50:50 then I think those bottom leaves are getting 1/4 each. I''m sure Andy or someone else will correct me if I''m wrong, but I think this is how you evaluate the whole QOS tree to see what will happen? Ed W _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Użytkownik Abraham van der Merwe napisał:> Hi! > How does prioritization work when you''ve got a tree structure, e.g. > | > +-- class_a rate 64kbit prio 1 > | | > | +-- class_a1 rate 32kbit prio 1 > | | > | `-- class_a2 rate 32kbit prio 2 > | > `-- class_b rate 64kbit prio 2HTB means: __Hierarchical__ Token Bucket so it is more like this:> (b) all packets matching a1, a2 are prio 1, then a1 is given a higher > priority than a2 > > (iow, multiple layers of prioritization exist) >But "prio" is used when there is some some unused BW that could be splited for borrowing (for classes which have ceil higher than rate). -josh _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hi All, I have try to compile net-snmp with QoS patch from http://x-ray.prokon.cz/data/snmp/ but got error, i have try many times but still got the same result. Anybody have the net-snmp package or binary, deb or rpm that already support QoS ? Many thnks Regards, Kris _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Friday 18 June 2004 07:41, kristiadi_himawan@dtp.net.id wrote:> Hi All, > > I have try to compile net-snmp with QoS patch from > http://x-ray.prokon.cz/data/snmp/ but got error, i have try many times > but still got the same result.I have compiled it without any problems. What errors did you receive? Did you follow the installation instructions?> Anybody have the net-snmp package or binary, deb or rpm that already > support QoS ?I haven''t seen any yet.> Many thnks > > Regards, > > Kris >_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Friday 18 June 2004 13:12, pljosh wrote:> Użytkownik Abraham van der Merwe napisał: > > Hi! > > How does prioritization work when you''ve got a tree structure, e.g. > > > > +-- class_a rate 64kbit prio 1 > > > > | +-- class_a1 rate 32kbit prio 1 > > | > > | `-- class_a2 rate 32kbit prio 2 > > > > `-- class_b rate 64kbit prio 2The prio of class class_a is never used and does not matter.> HTB means: __Hierarchical__ Token Bucket so it is more like this: > > (b) all packets matching a1, a2 are prio 1, then a1 is given a higher > > priority than a2 > > > > (iow, multiple layers of prioritization exist) > > But "prio" is used when there is some some unused BW that could be > splited for borrowing (for classes which have ceil higher than rate).Htb is used for 2 things: - class with lowest prio will get the lowest latancy (if and only if this class is not sending more data then the tate) - class will lowest prio will get the remaining bandwidth from the parent after each child class is sending his rate. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
I already read the readme and here''s the error log :
gcc -I../../include -I../../include -I. -I../.. -I. -I./../.. -I./../../snmp
lib -I./.. -I.. -DINET6 -O2 -D_REENTRANT -Dlinux -c
os_checkfns_local.c -fPIC -DPIC -o .libs/qos_checkfns_local.lo
In file included from /usr/include/arpa/nameser.h:552,
from /usr/include/resolv.h:65,
from qos_checkfns_local.c:33:
/usr/include/arpa/nameser_compat.h:88: warning: `MAXLABEL'' redefined
../../include/net-snmp/library/parse.h:32: warning: this is the location of
the previous definition
qos_checkfns_local.c: In function `insert_entry'':
qos_checkfns_local.c:308: `TCA_HTB_RTAB'' undeclared (first use in this
function)
qos_checkfns_local.c:308: (Each undeclared identifier is reported only once
qos_checkfns_local.c:308: for each function it appears in.)
qos_checkfns_local.c:308: size of array `tb2'' has non-integer type
qos_checkfns_local.c:314: dereferencing pointer to incomplete type
qos_checkfns_local.c:315: dereferencing pointer to incomplete type
qos_checkfns_local.c:316: dereferencing pointer to incomplete type
qos_checkfns_local.c:317: dereferencing pointer to incomplete type
qos_checkfns_local.c:319: dereferencing pointer to incomplete type
qos_checkfns_local.c:319: dereferencing pointer to incomplete type
qos_checkfns_local.c:320: dereferencing pointer to incomplete type
qos_checkfns_local.c:320: dereferencing pointer to incomplete type
qos_checkfns_local.c:323: dereferencing pointer to incomplete type
qos_checkfns_local.c:324: dereferencing pointer to incomplete type
qos_checkfns_local.c:326: dereferencing pointer to incomplete type
qos_checkfns_local.c:334: `TCA_HTB_PARMS'' undeclared (first use in this
function)
qos_checkfns_local.c:337: dereferencing pointer to incomplete type
qos_checkfns_local.c:341: dereferencing pointer to incomplete type
qos_checkfns_local.c:342: dereferencing pointer to incomplete type
qos_checkfns_local.c:343: dereferencing pointer to incomplete type
make[3]: *** [qos_checkfns_local.lo] Error 1
Any suggestion ?
----- Original Message -----
From: "Jason Boxman" <jasonb@edseek.com>
To: <lartc@mailman.ds9a.nl>
Sent: Saturday, June 19, 2004 1:58 AM
Subject: Re: [LARTC] tc + snmp
> On Friday 18 June 2004 07:41, kristiadi_himawan@dtp.net.id wrote:
> > Hi All,
> >
> > I have try to compile net-snmp with QoS patch from
> > http://x-ray.prokon.cz/data/snmp/ but got error, i have try many times
> > but still got the same result.
>
> I have compiled it without any problems. What errors did you receive?
Did> you follow the installation instructions?
>
> > Anybody have the net-snmp package or binary, deb or rpm that already
> > support QoS ?
>
> I haven''t seen any yet.
>
> > Many thnks
> >
> > Regards,
> >
> > Kris
> >
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/