All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] "Fan-in/fan-out" tc filters?
@ 2002-11-13 18:07 Steen Suder, privat
  2002-11-13 18:25 ` Stef Coene
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Steen Suder, privat @ 2002-11-13 18:07 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-11-13 21:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-13 18:07 [LARTC] "Fan-in/fan-out" tc filters? Steen Suder, privat
2002-11-13 18:25 ` 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

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.