All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] htb3 & imq
@ 2002-08-09 19:45 Arindam Haldar
  2002-08-09 21:20 ` Stef Coene
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Arindam Haldar @ 2002-08-09 19:45 UTC (permalink / raw)
  To: lartc

hi all,
am testing htb3 with imq. i have read the mannuals & have the follwoing 
script for a test bed.

$htb qdisc add dev imq0 root handle 2: htb
$htb class add dev imq0 parent 2: classid 2:1 htb rate 10mbit
$htb class add dev imq0 parent 2:1 classid 2:10 htb rate 64kbit ceil 72kbit
$htb class add dev imq0 parent 2:1 classid 2:20 htb rate 64kbit ceil 70kbit
##### -- define for groupA
$htb class add dev imq0 parent 2:10 classid 2:1010 htb quantum 40960 
rate 36kbit ceil 44kbit
$htb class add dev imq0 parent 2:10 classid 2:1011 htb quantum 4096 rate 
36kbit ceil 46kbit
##### -- define for groupB
$htb class add dev imq0 parent 2:20 classid 2:2020 htb quantum 1096 rate 
36kbit ceil 42kbit
$htb class add dev imq0 parent 2:20 classid 2:2021 htb quantum 1096 rate 
36kbit ceil 46kbit

$htb qdisc add dev imq0 parent 2:1010 handle 20 sfq perturb 5
$htb qdisc add dev imq0 parent 2:1011 handle 21 sfq perturb 5
$htb qdisc add dev imq0 parent 2:2020 handle 22 pfifo limit 2
$htb qdisc add dev imq0 parent 2:2021 handle 23 pfifo limit 2

the quantum were added as the default taken reported error to be *TOO* 
small... am getting this errors in log file...

Aug 10 01:05:32 Lr1 kernel: HTB init, kernel part version 3.6
Aug 10 01:05:32 Lr1 kernel: HTB: quantum of class 20010 is small. 
Consider r2q change.<4>HTB: quantum of class 20020 is small. Consider 
r2q change.nf_hook: Verdict = QUEUE.
Aug 10 01:05:32 Lr1 kernel: nf_hook: Verdict = QUEUE.
Aug 10 01:06:03 Lr1 last message repeated 2297 times

the mannual says >>> "..Normaly you don't need to specify quantums 
manualy as HTB chooses precomputed values. It computes classe's quantum 
(when you add or change it) as its rate divided by r2q global parameter... "
why in thiscase the default quabum reported error/taken too small ?
can u please elaborate on r2q... how is it calculated, as the mannual 
says  default value 10 !
what does these error signifies?..
thanking in advance
A.H

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

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

end of thread, other threads:[~2002-08-13 17:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-09 19:45 [LARTC] htb3 & imq Arindam Haldar
2002-08-09 21:20 ` Stef Coene
2002-08-10  4:58 ` Arindam Haldar
2002-08-10  8:20 ` Stef Coene
2002-08-11  7:29 ` Arindam Haldar
2002-08-12 23:07 ` Tobias Geiger
2002-08-13  7:54 ` Stef Coene
2002-08-13 11:44 ` Arindam Haldar
2002-08-13 17:44 ` 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.