From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ciprian Niculescu Date: Sun, 11 Jul 2004 23:40:53 +0000 Subject: [LARTC] htb quantum/r2q problem/question Message-Id: <40F1D005.5020303@4email.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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 q00, 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/