All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] An example of prio qdisc please...
Date: Wed, 25 Sep 2002 15:42:21 +0000	[thread overview]
Message-ID: <marc-lartc-103296866527067@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103288271014525@msgid-missing>

On Wednesday 25 September 2002 16:13, Tobias Geiger wrote:
> correct me if im wrong, but couldn't u achieve the same goal only with htb?
>
> i mean by creating a leave-level with classes rate=1bps, ceil=maxbw, prio
> 0-6
>
> and attaching sfq/pfifo as leave-qdiscs to these classes?
Yes and it's even better.  With cbq you can give the all classes a minimum 
bandwidth so one class can not kill an other by using all bandwidth.  With 
prio, you can generate a lot of traffic in the highest band so the other 
bands have no bandwidth left.

> s.th. like:
> tc qdisc root handle 1:0 htb
> tc class parent 1:0 handle 1:1 rate <maxuploadbw>
> tc class parent 1:1 handle 1:10 rate 1bps ceil <maxuploadbw> prio 0
> tc class parent 1:1 handle 1:11 rate .... ... ..             prio 1
> and so on
> tc qdisc parent 1:10 handle 10:0 pfifo/sfq
> tc qdisc parent 1:11 handle 11:0 ....
> and so on
> tc filter 1:0 protocol ip prio 0 handle 9999 fw classid 1:10
> (syntax is not correct :)
> and/or other filters
>
> doesn't do this setup the same as the priomap (in general)?
It's not the same, but you can get the same result.
Remember, prio is only for excess bandidth.  So each class will get's at least 
his rate and the class with the lowest prio will get the remaining bandwidth.

Stef

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

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

  parent reply	other threads:[~2002-09-25 15:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-24 15:50 [LARTC] An example of prio qdisc please Emmanuel Lacour
2002-09-25  7:28 ` Soulfly
2002-09-25  9:18 ` Emmanuel Lacour
2002-09-25  9:51 ` Rohan Almeida
2002-09-25 10:45 ` Soulfly
2002-09-25 11:02 ` Soulfly
2002-09-25 11:44 ` Stef Coene
2002-09-25 14:13 ` Tobias Geiger
2002-09-25 15:42 ` Stef Coene [this message]
2002-09-26  9:52 ` Emmanuel Lacour

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-103296866527067@msgid-missing \
    --to=stef.coene@docum.org \
    --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.