All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] help needed using filters
Date: Sat, 16 Nov 2002 20:45:01 +0000	[thread overview]
Message-ID: <marc-lartc-103747959518914@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103747183314053@msgid-missing>

> Ok, so how do you do what I want to do in the example above using the TBF
> queuing discipline? All the examples I've seen so far uses CBQ, but that is
> not what I want since I don't want to specify the size of my
> interface/bandwidth (which is not needed to shape networks).
Cbq needs to know the NIC bandwidth for the internal calculations.  If you 
have 10Mbit nic, you have to specify 10mbit.  This is just for the 
calculations.  Htb does not need this.  

> I obviously need a classful queuing displine so that I can make lots of
> sibling classes with filters attached to each one (with each filter's
> flowid pointing to a tbf qdisc in that class), but the question then is
> which queuing discipline should I use for this "container queueing
> discipline"?
You need to use htb or cbq for it.  And you don't need the tbf to throttle the 
bandwidth.  You can throttle the bandwidth of a class with htb or cbq itself.
The classes are not reponsible for sending the packets, it's the qdisc 
attached to them that do this job.  So all packets in the class, will get 
sended by the qdisc, so you don't need a filter to do this.

Stef

-- 

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/

      parent reply	other threads:[~2002-11-16 20:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-16 18:34 [LARTC] help needed using filters Abraham van der Merwe
2002-11-16 19:57 ` Stef Coene
2002-11-16 20:16 ` Abraham van der Merwe
2002-11-16 20:45 ` Stef Coene [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-103747959518914@msgid-missing \
    --to=stef.coene@docum.org \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.