All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin A. Brown" <mabrown-lartc@securepipe.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] =?GB2312?Q?For a root-qdisc, can the bandwidth  be
Date: Tue, 05 Aug 2003 12:57:46 +0000	[thread overview]
Message-ID: <marc-lartc-106008852801602@msgid-missing> (raw)
In-Reply-To: <marc-lartc-106004971031658@msgid-missing>

 : > For a root-qdisc, can the bandwidth be smaller than the bandwidth of
 : > the device
 :
 : yes.  The root qdisc bandwidth *should* be set smaller than the
 : bandwidth of the device by about 5%

Well, wouldn't you say it depends on the qdisc in use?  If you are using
CBQ, see the comments in section 9.5.4, "The famous CBQ qdisc":

  http://lartc.org/howto/lartc.qdisc.classful.html

In short, you'll use the bandwidth parameter to both your "tc qdisc add"
and your "tc class add" commands.

But, if you are using HTB, Steve is partly correct.  Under HTB, you do not
specify the real device bandwidth, but rather the rate to which you wish
to limit your transmitted traffic.  And in this case, it is wise to set
the rate a bit lower than the real bandwidth to ensure that the HTB
qdisc/classes are the bottleneck between the networks.

-Martin

-- 
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

      parent reply	other threads:[~2003-08-05 12:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-05  2:14 [LARTC] For a root-qdisc, can the bandwidth be smaller than the anzp
2003-08-05  4:15 ` [LARTC] =?GB2312?Q?For a root-qdisc, can the bandwidth be Steve Wright
2003-08-05 12:57 ` Martin A. Brown [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-106008852801602@msgid-missing \
    --to=mabrown-lartc@securepipe.com \
    --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.