From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Wed, 23 Apr 2003 19:14:34 +0000 Subject: Re: [LARTC] cbq.init Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org On Wednesday 23 April 2003 20:58, larry lefthook wrote: > About the cbq.init. Four machines which traffic to limit in same LAN. > Is the samething if I put limiting rules to four different files or all to > the same file? Like: > > DEVICE=3Deth0,10Mbit,1Mbit > RATEdKbit > WEIGHT=3D6Kbit > PRIO=3D5 > RULE=192.168.0.5 > RULE=192.168.0.6 > RULE=192.168.0.7 > RULE=192.168.0.8 > > OR four equal files with different IPs, Ids and no PARENT rule? > What style of ID numbering you use if there is many conf files? > > I read about htb.init problem here: > " > 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." And the answer: "You can try the esfq qdisc. You can create > the different queues based on ip-addresses and/or ports and this for sour= ce > and/or destination." > > I have cbq.init and LEAF=DEfault (tbf). Can Flashget & others do me the > above thing? Just suspicious...perhaps stupid questions. Not stupid, but the wrong place. This is not the cbq.init discussion list. Howerver some remarks. I think the esfq idea came from me. You can use if= =20 you know why. So if you are not satisfied with cbq.init, try to create you= r=20 own script. =20 You can have the sfq "problem" if you add mutliple users in the same class.= =20 With the sfq qdisc, each stream (determined by src/dst and port/ip-address)= =20 has the same opportunity to send something. The esfq qdisc can be configur= ed=20 to only use the src address to create the streams so the each users has hi= s=20 own little queue. And so they have the same chance to send something. Or you can create 1 class for each user. 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/