From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Wed, 02 Apr 2003 20:14:50 +0000 Subject: Re: [LARTC] Strange HTB problem Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org On Wednesday 02 April 2003 21:32, Venceslav Vatashki wrote: > Hello friends, > I have small LAN network with 5 computers.I use HTB init script > with configuration like this : > ////// > RATE=80Kbit > PRIO=3D5 > LEAF=3Dsfq > RULE=192.168.1.[1..6] > ////// > The problem is when user start to download with Flashget,MassDownloader > (with 10 threads) he kills the internet connection (240Kbit) without > overlimiting his 80Kbit. Other users get 1-2kbps, witch is extremely > unpleasant. So you have 240Kbit, 1 user uses his 80kbit and other users don't get any=20 bandwidth. Are all these users in the same class? If they are, it's the s= fq=20 qdisc that causes problems. =20 It will create 1 "queue" for each flow. Flows have different ip-addresses = and=20 ports. So the 10 downloads ends up in 10 different queues. So the more=20 sessions a user opens, the more bandwidth he gets You can try the esfq qdisc. That's an enhanced sfq qdisc. You can create = the=20 different queues based on ip-addresses and/or ports and this for source=20 and/or destination. In your case, you can use the source address so each=20 user has his own queue. So each user has the same amount of bandwidth. I=20 have a link somewhere on the faq page on www.docum.org. > Btw which is the HTB version that ships with linux 2.4.20 ? I think it's 3.7 but it's the same code as version 3.6. Stef --=20 stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/