All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] htb quantum/r2q problem/question
@ 2004-07-11 23:40 Ciprian Niculescu
  0 siblings, 0 replies; only message in thread
From: Ciprian Niculescu @ 2004-07-11 23:40 UTC (permalink / raw)
  To: lartc

hello,

i have a config that is with a large domain of rate, from 2kb to 40Mb 
and i have some problems with i don't know how to deal with.

so here are some classes 2 with q\x1000, one with q 200000 and one with 
qd00, all have been calculated by htb, in the code i speficien just 
rate,ceil, no quantum, no r2q, no bursts
($tc class add $IF_INT parent 1:2 classid 1:21 htb rate 
${eth1_web_r}kbit prio 1)

class htb 1:199 parent 1:10 leaf 1990: prio 2 quantum 200000 rate 
23000Kbit ceil 47040Kbit burst 10Kb/8 mpu 0b cburst 61800b/8 mpu 0b level 0

class htb 1:2 parent 1:20 prio 1 quantum 1000 rate 48Kbit ceil 48Kbit 
burst 10Kb/8 mpu 0b cburst 1660b/8 mpu 0b level 0

class htb 1:12 parent 1:10 prio 1 quantum 1000 rate 50Kbit ceil 
48000Kbit burst 10Kb/8 mpu 0b cburst 63025b/8 mpu 0b level 0

class htb 1:15 parent 1:10 prio 1 quantum 6400 rate 500Kbit ceil 
48000Kbit burst 10Kb/8 mpu 0b cburst 63025b/8 mpu 0b level 0


and in the logs o get:
kernel: HTB init, kernel part version 3.17
kernel: HTB: quantum of class 10001 is big. Consider r2q change.
kernel: HTB: quantum of class 10002 is small. Consider r2q change.
kernel: HTB: quantum of class 10012 is small. Consider r2q change.
kernel: HTB: quantum of class 10199 is big. Consider r2q change.


for now i put manualy 1500 to all, but more logicaly how do i set the 
quantum, what are the considerations????

primus:/etc# uname -a
Linux primus 2.4.26 #3 Sun Jul 4 16:58:02 EEST 2004 i686 unknown
primus:/etc# tc -V
tc utility, iproute2-ss020116
primus:/etc#

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-07-11 23:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-11 23:40 [LARTC] htb quantum/r2q problem/question Ciprian Niculescu

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.