From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Furniss Date: Fri, 18 Jun 2004 21:11:35 +0000 Subject: Re: [LARTC] HTB is nor fair when 'borrowing? *bug* in HTB or some Message-Id: <40D35A87.7080204@dsl.pipex.com> List-Id: References: <40D21439.7000702@interia.pl> In-Reply-To: <40D21439.7000702@interia.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org pljosh wrote: >> I just tested with my script and also see a 5-8% advantage for the >> lower handle class. >> >> I wouldn't call it a bug though - HTB is written for high traffic >> setups and trade off needs to be made between perfect behaviour and >> CPU usage and you say it gets better with more classes. >> >> Andy. > > > Well - you had 5-8% while I noticed 50-80% difference! (user1 ~76kB/s > and user3 ~45kB/s). I did notice on the graph I looked at, that it was a bit higher - I only tested with wget. I was going to repeat properly and if you were still higher suggest that you set quantums to mtu, low bursts and set HTB_HYSTERESIS 0 in net/sched/sch_htb.c. I also have esfq attached to classes > Of course - as you can see on the graph I created: with more classes > difference beteween u1&u3 is smaller... Hmm I only have 2+default shared by IP - but two more "above". > > Can you send me the script you used for your test which gave you only > 5-8%? Maybe there is something wrong with the one of mine? OK but it won't work for you - I guess. It needs connbytes a hacked IMQ and esfq. It's just a test evolved from digriz script really. I also have half your bandwidth - and it was set at 400kbit for the test. Andy. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/