From: Jonathan Day Date: Tue, 07 Jun 2005 21:24:58 +0000 Subject: Re: [LARTC] wrr question Message-Id: <20050607212459.68034.qmail@web31501.mail.mud.yahoo.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hi, For something like this, where you're wanting to do bandwidth capping, you're probably better off with something like CBQ, which supports limits. It sounds like you want soft limits of 4% (a fair slice, when 25 users are present) and hard limits of 25%. Another option would be to use WRR and then use pattern-matching in Netfilter to set the hard limit. Part of the problem is that there are a very large number of "Quality of Service" protocols, of which Linux supports some, but that there is no really clear cheat-sheet on what to use when, what works well with what, and what capabilities each QoS method has. Jonathan --- Kenneth Kalmer wrote: > Guys > > All the recent discussions recently, and the > knowledge of a 2.6 port, > of WRR has made me very keen on trying it. I had a > look at the docs > and examples know but my mind is not in a very > receptive state. > > Take this simple example. > > Incoming internet connection of 1mbps. Shared > between up to 25 users > simultaneously. > > I know that WRR can fairly distribute the traffic > amongst the > currently connected clients at any specific time. > I'd like to know how > can I restrict any client from getting more than > 256kbps (or 25%) of > the total link speed, even when they are the only > users. > > Kind regards > > -- > > Kenneth Kalmer > kenneth.kalmer@gmail.com > http://opensourcery.blogspot.com > _______________________________________________ > LARTC mailing list > LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc