Skip to contentSkip to conversation

the range of HTB's prio

LARTC hanhbnetfilter 6 participants 8 messages Sep 17, 2002 – Sep 18, 2002

lore
Share & tools
lore
#0 lore raw

HTB and imq was used to control traffic.
AC="tc class add dev eth0 parent"
$AC 1: classid 1:1 htb rate 100kbps burst 2k
$AC 1:2 classid 1:10 htb rate 50kbps ceil 100kbps
burst 2k prio 1
$AC 1:2 classid 1:11 htb rate 50kbps ceil 100kbps
burst 2k prio 1

please tell me the range of "prio"

_________________________________________________________
Do You Yahoo!?
新鲜到底,娱乐到家 - 雅虎推出免费娱乐电子周报!
http://cn.ent.yahoo.com/newsletter/index.html
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 9 lines

HTB and imq was used to control traffic.
AC="tc class add dev eth0 parent"
$AC 1: classid 1:1 htb rate 100kbps burst 2k
$AC 1:2 classid 1:10 htb rate 50kbps ceil 100kbps
burst 2k prio 1
$AC 1:2 classid 1:11 htb rate 50kbps ceil 100kbps
burst 2k prio 1

please tell me the range of "prio"

1 to 8, 1 being the highest, 8 - the lowest.
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#2 lore raw
In reply to hanhbnetfilter

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 2 lines · Nickola Kolev
Quoted 1 line

please tell me the range of "prio"

1 to 8, 1 being the highest, 8 - the lowest.

0 is highest as I know ...

but I've also an question:

is there if difference if I have 2 chains and use prio 0 and 7 or prio 0 and 1 ?

- --
Regards,
Robert
- ----------------
Robert Penz
[email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9hv008tTsQqJDUBMRAuJIAJ90P6MUqvNw2V1sm9qLtPtncGXBnQCeNVFT 9DbmTUzKwv0/eMwgdg2n/lo=
=KhJa
-----END PGP SIGNATURE-----

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#3 lore raw
In reply to hanhbnetfilter
Quoted 9 lines · hanhbnetfilter

HTB and imq was used to control traffic.
AC="tc class add dev eth0 parent"
$AC 1: classid 1:1 htb rate 100kbps burst 2k
$AC 1:2 classid 1:10 htb rate 50kbps ceil 100kbps
burst 2k prio 1
$AC 1:2 classid 1:11 htb rate 50kbps ceil 100kbps
burst 2k prio 1

please tell me the range of "prio"

htb2 : 0-3
htb3 : 0-7

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#4 lore raw
In reply to hanhbnetfilter
Quoted 6 lines · Robert Penz

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 2 lines · Nickola Kolev
Quoted 1 line

please tell me the range of "prio"

Quoted 8 lines
Quoted 1 line

1 to 8, 1 being the highest, 8 - the lowest.

0 is highest as I know ...

but I've also an question:

is there if difference if I have 2 chains and use prio 0 and 7 or prio 0 and 1 ?

No

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#5 lore raw
In reply to hanhbnetfilter
Quoted 1 line

Aren't you talking about the depth of the classes?

Euh stupid me. Indeed.

Quoted 3 lines

Btw, several months ago I tried to hack my kernel (2.4.17 at that time) and changed the maxdepth to 7... Guess what happenned?
It went OOOPS'ing... Anyway. That was HTB2.

In htb3 you can change it if you want :
htb3.6_2.4.17.diff:+#define TC_HTB_MAXDEPTH 8

Quoted 1 line

So, now with htb3 I can use maximum depth of classes = 7, right?

Yep. Or change it in the source to an other value.

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#6 lore raw
In reply to hanhbnetfilter

Earlier Freeswan also required patching of kernel. Recently, however, an rpm was released which makes it easy to install. many users may not have installed development libraries to do a recompile. Can someone who is good at it create and publish the rpms of kernel, iproute2 and tc patched for htb please?

Mohan

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Stef Coene
Sent: 17 September 2002 22:46
To: Robert Penz; [email protected]
Subject: Re: [LARTC] the range of HTB's prio

Quoted 6 lines · Robert Penz

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 2 lines · Nickola Kolev
Quoted 1 line

please tell me the range of "prio"

Quoted 8 lines
Quoted 1 line

1 to 8, 1 being the highest, 8 - the lowest.

0 is highest as I know ...

but I've also an question:

is there if difference if I have 2 chains and use prio 0 and 7 or prio 0 and 1 ?

No

Stef

--

[email protected]
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#7 lore raw
In reply to hanhbnetfilter
Quoted 2 lines

Earlier Freeswan also required patching of kernel. Recently, however, an

rpm

Quoted 3 lines

was released which makes it easy to install. many users may not have installed development libraries to do a recompile. Can someone who is good at it create and publish the rpms of kernel, iproute2 and tc patched for

htb

Quoted 1 line

please?

For which distribution ?

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/