All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] how can i choose  HTB's prio
@ 2002-10-08  2:06 hanhbnetfilter
  2002-10-08 14:19 ` Stef Coene
  0 siblings, 1 reply; 2+ messages in thread
From: hanhbnetfilter @ 2002-10-08  2:06 UTC (permalink / raw)
  To: lartc

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 2
$AC 1:2 classid 1:12 htb rate 50kbps ceil 100kbps
burst 2k 
please tell me if i do not set prio, what is the
default prio? low delay class can use prio 2,the
others should use which prio?




_________________________________________________________
Do You Yahoo!? 
"发短信赢手机,快来参加雅虎巨星秀!"
http://cn.ent.yahoo.com/star/midautumn/index.html
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] how can i choose  HTB's prio
  2002-10-08  2:06 [LARTC] how can i choose HTB's prio hanhbnetfilter
@ 2002-10-08 14:19 ` Stef Coene
  0 siblings, 0 replies; 2+ messages in thread
From: Stef Coene @ 2002-10-08 14:19 UTC (permalink / raw)
  To: lartc

On Tuesday 08 October 2002 04:06, hanhbnetfilter wrote:
> 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 2
> $AC 1:2 classid 1:12 htb rate 50kbps ceil 100kbps
> burst 2k
> please tell me if i do not set prio, what is the
> default prio? low delay class can use prio 2,the
> others should use which prio?
prio is only used when all classes are served and there is some bandwidth 
left.  So if you have 20kbps in each class, you have 40kbs left.  It will be 
given to the class with the lowest prio.
But there is more going on.  You can find more info on the homepage of htb ( 
http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm#prio). If you have a 
class with the lowest prio and this class is not overlimit (it never wants to 
send more traffic then the rate), it will get very low delays. BUT if you 
send more traffic then the rate, the delays will increase.
I still have to figure out if you can use this to get low delays.

Stef


-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-08 14:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-08  2:06 [LARTC] how can i choose HTB's prio hanhbnetfilter
2002-10-08 14:19 ` Stef Coene

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.