[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: shaping: dividing bandwidth between router & NAT hosts

green wrote at 2010-03-04 22:35 -0600:
> Alex Samad wrote at 2010-03-04 16:18 -0700:
> > On Thu, 2010-03-04 at 15:17 -0700, green wrote:
> > > green wrote at 2010-02-12 08:03 -0700:
> > > > An automatic detection of down/up bandwidth would be great...
> > > 
> > > Is it even possible to implement traffic shaping without knowing the available 
> > > bandwidth?
> > 
> > If you setting to fix limits why not ?
> I'm not setting fixed limits, I am prioritizing traffic by type/connection/IP.
> > > For example, can I set up egress shaping on the internet interface without ever 
> > > specifying a bandwidth limit?  In that case will the queues be always empty?

At some point in my research, I seem to have answered my question.  Some of 
this came from LARTC and some from elsewhere (which I can't find now).

For the root qdisc, shaping must occur when a high speed interface is connected 
to a slower device (like a cable modem).  Otherwise the queue is in the cable 
modem rather than in the Linux device.

I am assuming then that shaping is not necessary when the interface is to a 
client device, like ethernet or wireless to another host.  That is, something 
like SFQ will work without being under a HTB rate-limiting qdisc.

(I think there is a proper way to differentiate between these two types of a 

Attachment: signature.asc
Description: Digital signature

Reply to: