From mboxrd@z Thu Jan 1 00:00:00 1970 From: pljosh Date: Sun, 20 Jun 2004 11:56:26 +0000 Subject: Re: [LARTC] HTB is nor fair when 'borrowing? *bug* in HTB or some Message-Id: <40D57B6A.7040309@interia.pl> List-Id: References: <40D21439.7000702@interia.pl> In-Reply-To: <40D21439.7000702@interia.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org U=BFytkownik Andy Furniss napisa=B3: > I tried with your rc.shape script on my LAN using scp. I couldn't get=20 > the bash to work - it looks to me like it will only set one user. But I=20 Did you launch it passing argument in "" or ''? ./rc.shape "4 5 6" is quite far different than ./rc.shape 4 5 6 > hardcoded my settings in it and checked with tc -s class ls dev eth0=20 > that my 2 classes existed. I dont get it: you prepared two classes for two PCs which is equivalent=20 to "t5" on my graph which shows that HTB acts PERFECT in such conditions. > I SCPd a file from gateway to 2 PCs and thay were shaped OK and came in=20 > second perfect. It was the same for 500,1000 and 5000 ceils. The 500=20 > test took 15 mins. > So I don't really know whats going on for you. > Andy. Try the same using 3 classes and stress it with 2 PCs only (each class=20 has rate=3D1/3 of max bw and ceil=3Dmax bw. You will se that first class=20 will get from HTB almost TWICE as much as secound one one! -josh p.s. I made same test on other network with other PCs and different kernel=20 version and it was the same... _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/