From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Furniss Date: Thu, 01 Jun 2006 20:24:38 +0000 Subject: Re: [LARTC] Fair shaping over link with variable parameters Message-Id: <447F4D06.30607@andyfurniss.entadsl.com> List-Id: References: <20060528193129.GA15843@iceberg.netwerke.eu.org> In-Reply-To: <20060528193129.GA15843@iceberg.netwerke.eu.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Rafal Krypa wrote: > Hi. > I would like to ask you for advice. > I am trying to construct following shaping solution: > * several users are using one link to the Internet > * all of them have equal priority and should be given fair amount of bandwidth > * no kind of traffic is considered more important than other > * our Internet connection has no CIR, only "maximum dl/ul speeds" given by > provider What you can or can't do will depend on the exact nature and behavior of the link. > * most important: our outgoing and incoming traffic must be shaped to some rate > that will provide possibly low latency. For users that do not have active > connections I'd like to ensure no more than 100ms latency for ping or any > other low-traffic connections 100ms - that would be hard to guarantee on a slow fixed rate link, in some situations you may need to sacrifice 50% of ingress bandwidth. It depends on how fast the link is and how slow it gets and how it is slowed. > > > For several years of my experiments with traffic shaping over Linux I found no > tool for creating such system. For example, HTB require given, constant 'ceil' > parameter. I would like to have some qdisc that can automatically adjush its > rate/ceil parameter depending on achieved latency. The rest of the job would be > quite pretty done by ESFQ. > Could you point me to anything adequate to my needs? > There is no qdisc that has variable rates. I've just got a link with variable down speed and have played around with policers to see what's possible. I haven't done much and it doesn't work too well - though it works enough to carry on trying to see what's possible. I still don't know whether it can ever work enough to be left "unnatended". If you have few users and know your traffic and have a fairly fast link and know how it behaves there may be a way - at least to do alot better than doing nothing. Andy. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc