From: Ciprian Niculescu <cnicules@4email.net>
To: lartc@vger.kernel.org
Subject: [LARTC] htb quantum/r2q problem/question
Date: Sun, 11 Jul 2004 23:40:53 +0000 [thread overview]
Message-ID: <40F1D005.5020303@4email.net> (raw)
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/
reply other threads:[~2004-07-11 23:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40F1D005.5020303@4email.net \
--to=cnicules@4email.net \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox