From mboxrd@z Thu Jan 1 00:00:00 1970 From: Justin Schoeman Date: Fri, 07 Sep 2007 08:43:59 +0000 Subject: Re: [LARTC] HTB does not respect the prio parameter Message-Id: <46E10F4F.5030104@expertron.co.za> List-Id: References: <46D52904.4040809@businessecurity.com> In-Reply-To: <46D52904.4040809@businessecurity.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Is quantum not perhaps a bit high? Try setting it lower, and see what=20 happens? -justin On 2007-08-29 08:06, Martin Bj=F6rnsson wrote: > Hi all, >=20 > I'm experimenting with HTB and the prio parameter and it does not give me= results I > expect. I've created 4 HTB classes: >=20 > 1:10 TCP ACKs (prio 0) > 1:20 TCP traffic on dst port 10001 (prio 1) > 1:30 TCP traffic on dst port 10000 (prio 2) > 1:40 Default (prio 3) >=20 > ceil and rate parameters are the same for all 4 classes (rate is 1000kbit= and ceil is > 55000kbit). >=20 > Then I start 2 TCP flows on src/dst ports 10000 and 10001. The packets se= em to be > correctly classified by the filter (I get hits on classes 10, 20 and 30). >=20 > The problem is that I get the same throughput on both TCP flows. Shouldn'= t I get about > 1000kbit through class 30 and much more through class 20 since it has hig= her priority? >=20 >=20 > Here's my setup script: >=20 > #!/bin/sh > /bin/tc qdisc add dev eth0 root handle 1: htb default 40=20 _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc