Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: "Steen Suder, privat" <sfs_lartc@suder.dk>
To: lartc@vger.kernel.org
Subject: [LARTC] "Fan-in/fan-out" tc filters?
Date: Wed, 13 Nov 2002 18:07:15 +0000	[thread overview]
Message-ID: <marc-lartc-103721093821681@msgid-missing> (raw)

Consider a Linux NAT-gateway on an ADSLlink providing internet for a
number of users, say, 100 or so.

I want to use WRR, perhaps with attached SFQs or similar, to make sure
every user get their fair share of download.

Atop, at the root, I'll place a HTB to limit bandwidth to make sure the
gw is the bottleneck to make shaping efficient.

How do I prioritize packets based on tc filters between the root HTB and
the WRR?

What I imagine is something like:

                    DEV
                     |
                 ---------
                 |  HTB  |              "Bottleneck"
                 ---------
                     |
                     |
              -------|--------
             /       |        \
            /        |         \
           /         |          \
       -------    -------    --------
       | LOW |    | MED |    | HIGH |   "Prio-bands"
       -------    -------    --------   (HTB, pfifo_fast, PRIO
           \         |          /        or the like)
            \        |         /
             \       |        /
              ----------------
                     |
                     |
                  -------
                  | WRR |
                  -------
                     |
                     |
              -------|--------
             /       |        \
            /        |         \
           /         |          \
       -------    -------    -------
       | SFQ |    | SFQ |    | SFQ |    x 100
       -------    -------    -------


I'd like to do that to make sure that the system overall favours
interactive traffic before "bulk". Games and other latency-dependant
traffic types must perform the best on the cost of ftp-download or similar.

Attaching pfifo_fast, PRIO or triple (low/medium/high priorities) HTB
qdiscs to the root is easy but it seems that it is impossible to attach
/one/ WRR afterwards.

How do I accomplish what I want to do?

-- 
Mvh. / Best regards,
Steen Suder		<http://www.suder.dk/>
ICQ UIN			4133803


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

             reply	other threads:[~2002-11-13 18:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-13 18:07 Steen Suder, privat [this message]
2002-11-13 18:25 ` [LARTC] "Fan-in/fan-out" tc filters? Stef Coene
2002-11-13 19:58 ` Christian G. Warden
2002-11-13 20:37 ` Steen Suder, privat
2002-11-13 21:24 ` Stef Coene
2002-11-13 21:32 ` 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-103721093821681@msgid-missing \
    --to=sfs_lartc@suder.dk \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox