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] Guaranteed rate per class and maximum ceiling per element in class???
Date: Mon, 20 Sep 2004 15:57:07 +0000	[thread overview]
Message-ID: <200409201757.07461.stef.coene@docum.org> (raw)
In-Reply-To: <A3D1526C98B7C1409A687E0943EAC41001EA8B@obelix.askesis.nl>

On Sunday 19 September 2004 16:57, Joost Kraaijeveld wrote:
> Hi Stef,
>
> lartc-admin@mailman.ds9a.nl schreef:
> > The first 2 can be done with htb.  For the third yes, you can
> > use the wrr qdisc (I never tested this myself and I don't know if tcng
> > can configure this).  The wrr qdisc can be added to a htb class.  Or you
> > can add extra classes to the htb class.
>
> I want to look into policing for enforcing the ceiling per element, but to
> my disappointment I cannot get it working. whatever I use for values,
> nothing changes in the measured trhoughput I I don't know why.
You don't need policing for the forcing a ceil, htb can this too.

> If I use the stuff below I expect that the throughput for host
> asterix.askesis.nl will be 10Bps. Which is not the case. But whatever
> values I use nothing changes in the throughtput. It appears that tat the
> ingress rules is ignored. Any ideas?
Do you know how slow 10Bps is ?????   Use some real values like 10KBps or so.

>
>   ingress
>   {
>         /*
>         TCNG manual p. 39
>         SLB(cbs,cir [,mpu])
>             cbs: commited burst size in bytes (size of bucket)
>             cir: commited information rate in bps (rate of entering bucket)
>             mpu: minimum policed unit in bytes (size of bucket in/decrement
> ?) */
>         $network = SLB( cbs 10B, cir 10 Bps);
>
>         /*
>         SLB_ok, if true pass the packet
>         SLB_else_drop, if true drop the packet
>         */
>         class(<>) if ip_src = host "asterix.askesis.nl" &&
> SLB_else_drop($network); }
Do you want to shape outgoing traffic or incoming traffic?  Ingress is for 
incoming traffic, htb is outgoing traffic.
You can use htb for incoming traffic if you use the imq device or if you can 
shape on a router, you can shape on both interfaces.

Stef

-- 
stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  parent reply	other threads:[~2004-09-20 15:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-17  5:22 [LARTC] Guaranteed rate per class and maximum ceiling per element in class??? Joost Kraaijeveld
2004-09-17 19:04 ` Stef Coene
2004-09-19 14:57 ` Joost Kraaijeveld
2004-09-20 15:57 ` Stef Coene [this message]
2004-09-20 19:40 ` Joost Kraaijeveld

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=200409201757.07461.stef.coene@docum.org \
    --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.