All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frank v Waveren <fvw.lartc@var.cx>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] a simple setup with tbf and prio?
Date: Tue, 15 Apr 2003 05:59:20 +0000	[thread overview]
Message-ID: <marc-lartc-105038645226776@msgid-missing> (raw)
In-Reply-To: <marc-lartc-105035807108856@msgid-missing>

On Mon, Apr 14, 2003 at 11:27:14PM -0500, Martin A. Brown wrote:
> Right.  OK.  Sorry--didn't mean to go on a feature-length tirade...
Not at all, I'm happy someone's willing to take the time to explain..

Now, I think I know what I want, however before I try to convert it
all into tc/tcc, I'd appreciate it if somebody could tell me if they
think it makes sense (not yet showing which parts are the classes and
which are qdiscs because that's part of what I still have to figure
out (-:) 

                          o
                          |
                +------------------+
                |        HTB       |
                |Limited at 100kbit|
                | Ceil at 100kbit  |
                +------------------+
                          |
                       +----+                                
                       |PRIO|
                       +----+
                      /   |  \
                    /-    |   -\
                  /-      |     -\                               
                /-        |       -\                           
              /-          |         -\
            /-            |           -\
          /-              |             -\
        /-                |               -\
      +---+             +---+            +---+
      |SFQ|             |SFQ|            |HTB|
      +---+             +---+            +---+
   Interactive         Regular           /   \
                                       /-     -\
                                     /-         -\
                                   /-             -\
                                 /-                 -\
                               /-                     -\
                             /-                         -\
                   +-----------------+         +-----------------+     
                   |        HTB      |         |        HTB      |
                   |Limited at 50kbit|         |Limited at 50kbit|
                   | Ceil at 100kbit |         | Ceil at 100kbit |
                   +-----------------+         +-----------------+
                     Bulk App A                    Bulk App B


Traffic that has the lowlatency TOS bit set, is an ACK, or is on port
80 (I'm not expecting any heavy uploads over http) goes into the
interactive SFQ, and everything else that doesn't have a netfilter
mask goes into 'Regular'. Further, I have two bandwith hogging
applications running whose packets I mark with the iptables MARK target.
Each gets sent to its own HTB (A or B).

What I intend the end result to be is that if there's any interactive
traffic that goes first, then if there's room left the regular traffic
goes, and after that if there's any room left, Bulk Apps A and B use
up all the leftover bandwidth (even if one of them decides to be quiet
for a while).

Is this correct? Suggestions?
                             
-- 
Frank v Waveren                                      Fingerprint: 21A7 C7F3
fvw@[var.cx|stack.nl|chello.nl] ICQ#10074100            1FF3 47FF 545C CB53
Public key: hkp://wwwkeys.pgp.net/fvw@var.cx            7BD9 09C0 3AC1 6DF2
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

      parent reply	other threads:[~2003-04-15  5:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-14 22:06 [LARTC] a simple setup with tbf and prio? Frank v Waveren
2003-04-15  0:31 ` Martin A. Brown
2003-04-15  1:04 ` Frank v Waveren
2003-04-15  1:48 ` Martin A. Brown
2003-04-15  1:51 ` Frank v Waveren
2003-04-15  2:56 ` Martin A. Brown
2003-04-15  3:39 ` Frank v Waveren
2003-04-15  4:27 ` Martin A. Brown
2003-04-15  5:59 ` Frank v Waveren [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-105038645226776@msgid-missing \
    --to=fvw.lartc@var.cx \
    --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.