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] Classless Queues in series...
Date: Wed, 12 Mar 2003 17:52:55 +0000	[thread overview]
Message-ID: <marc-lartc-104749168207785@msgid-missing> (raw)
In-Reply-To: <marc-lartc-104748887802810@msgid-missing>

Ben,

 : I need (or would at lest live very much :) to use two Classless Queues
 : in series.
 :
 : I can't see in the HOWTO how this is done, but guess at something like:
 :
 : tc qdisc add dev eth0 root handle 1: sfq (etc)
 : tc qdisk add dev eth0 parent 1: tbf (etc)
 :
 : Am I on the right lines here?

A classless queueing discipline cannot contain another queueing
discipline.

A classful queueing discipline can contain classes and leaf queueing
disciplines.

In other words:

  - a classless queueing discipline is by definition, a terminal qdisc
  - a classful queueing discipline can be terminal or
    - can contain a class, which can be terminal or
      - can contain another queueing discipline

Does that help?


 : I also have a small problem with TBF...  From the HOWTO sec 9.2.2, it is
 : surgested that a value for the 'burst' should be:
 :
 : "For 10mbit/s on Intel, you need at least 10kbyte buffer if you want to
 : reach your configured rate!"
 :
 : Therefore: burst => rate * (8 / 1000)
 :
 : However, I find using this I get stall on ftp and other common
 : protocols, when they get above the throttle rate, with low bandwidths
 : (eg, 64kbit/sec).  --  Or I completelly fail to understand the above
 : statement...
 :
 : Does any person have a better method for calculating a good value for
 : 'buffer' ?

I'm afraid I can't help you on this question.

-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/

  reply	other threads:[~2003-03-12 17:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-12 17:07 [LARTC] Classless Queues in series Ben Clewett
2003-03-12 17:52 ` Martin A. Brown [this message]
2003-03-12 20:36 ` Stef Coene

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-104749168207785@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.