From: "Oleg R." Date: Wed, 28 Sep 2005 15:18:55 +0000 Subject: [LARTC] Does HTB consider PRIO or not? Message-Id: <001601c5c43f$f10fb790$14901ad9@grom> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============1251956527==" List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. --===============1251956527== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0013_01C5C459.162D2D00" This is a multi-part message in MIME format. ------=_NextPart_000_0013_01C5C459.162D2D00 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Hello LARTC!!!!=20 There is a question that kills me everytime I think about it. I just = love HTB and for one year since I started to work wih it I had no = complains until one day. One client needs to allocate the shared = bandwith , based on priorities. The HTB as everybody knows have the CEIL = parameter and also PRIO which are supposed to solve the problem. Now the = problem: I configure everything, rate for the first class rate for the = second, ceil is the same prio for the first class is 1 for the second is = 7. I suppose the second is getting the shared bandwidth in the last = place..but it is not so. In practice firstly who start downloading is = taking 60-70% of the shared bandwidth. it seems the PRIO doesn't work at = all. IS IT REALLY SO??? I changed kernel from 2.4 to 2.6 , thought it is = a kernel problem, no way it is not working.=20 My system : Pentium 500 Ram 256 Mb 2 networks cards (in and out) Linux Slackware 9.1 Kernel 2.6.13.2 iproute2 Some output from htb.init list qdisc htb 1: r2q 10 default 20 direct_packets_stat 119 class htb 1:5 parent 1:2 prio 1 rate 128000bit ceil 950000bit burst = 1663b cburst 2074b class htb 1:14 parent 1:2 leaf 14: prio 7 rate 18000bit ceil 900000bit = burst 1608b cburst 2Kb I use HTB.INIT to generate HTB rules. Have a good day!!!!=20 Oleg R. ------=_NextPart_000_0013_01C5C459.162D2D00 Content-Type: text/html; charset="koi8-r" Content-Transfer-Encoding: quoted-printable
Hello LARTC!!!!
There is a question that kills me = everytime I think=20 about it. I just love HTB and for one year since I started to work wih = it I had=20 no complains until one day. One client needs to allocate the shared = bandwith ,=20 based on priorities. The HTB as everybody knows have the CEIL = parameter and=20 also PRIO which are supposed to solve the problem. Now the problem: I = configure=20 everything, rate for the first class rate for the second, ceil is the = same prio=20 for the first class is 1 for the second is 7. I suppose the second is = getting=20 the shared bandwidth in the last place..but it is not so. In practice = firstly=20 who start downloading is taking 60-70% of the shared bandwidth. it seems = the=20 PRIO doesn't work at all. IS IT REALLY SO??? I changed kernel from 2.4 = to 2.6 ,=20 thought it is a kernel problem, no way it is not working.
 
My system :
Pentium 500
Ram 256 Mb
2 networks cards (in and = out)
Linux Slackware 9.1
Kernel 2.6.13.2
iproute2
 
Some output from htb.init = list
 
qdisc htb 1: r2q 10 default 20 = direct_packets_stat=20 119
class htb 1:5 parent 1:2 prio 1 rate = 128000bit ceil=20 950000bit burst 1663b cburst 2074b
class htb 1:14 parent 1:2 leaf 14: prio = 7 rate=20 18000bit ceil 900000bit burst 1608b cburst 2Kb
 
I use HTB.INIT to generate HTB = rules.
 
Have a good day!!!!
 
Oleg R.
 
------=_NextPart_000_0013_01C5C459.162D2D00-- --===============1251956527== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============1251956527==--