Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Martin Devera <devik@cdi.cz>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] htb, class, prio
Date: Tue, 14 May 2002 12:09:44 +0000	[thread overview]
Message-ID: <marc-lartc-102137824606929@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102136917232748@msgid-missing>

In the latest HTB the prio number can be increased
to 8 or more without sacrifying performance.
Probably I will make both depth & prios 8 in default
configuration ..
devik

On Tue, 14 May 2002, Stef Coene wrote:

> On Tuesday 14 May 2002 11:38, Catalin BOIE wrote:
> > Hello!
> >
> > Seems that whatever I set for prio for a htb class it is always set to 3.
> Prio is a number between 0 and 3.  Prio's > 3 are set to 3.
>
> Stef
>
> > Example script:
> >
> > ifconfig dummy1 up
> > ifconfig dummy1 200.200.200.200 netmask 255.255.255.248
> >
> > tc qdisc del dev dummy1 root
> >
> > tc qdisc add dev dummy1 root handle 2: htb
> >
> > tc class add dev dummy1 parent 2: classid 2:1 \
> >         htb prio 7 rate 1000bps ceil 2000bps
> >                ^^^^^
> >
> > Dump:
> > # tc -s -d -r class show dev dummy1
> > class htb 2:1 root prio 3 rate 1000bps ceil 2000bps burst 1609b/8 mpu 0b
> >                       ^^^^^
> > cburst 1619b/8 mpu 0b quantum 100 level 0 buffer [00142000] cbuffer
> > [000a2000] Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
> >  lended: 0 borrowed: 0 giants: 0 injects: 0
> >  tokens: 1318912 ctokens: 663552
> >
> >
> > Thanks!
> >
> > ---
> > Catalin(ux) BOIE
> > catab@deuroconsult.ro
> > openh323://dino.rdsbv.ro
> >
> > _______________________________________________
> > LARTC mailing list / LARTC@mailman.ds9a.nl
> > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
> --
>
> stef.coene@docum.org
>  "Using Linux as bandwidth manager"
>      http://www.docum.org/
>      #lartc @ irc.openprojects.net
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
>

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

  parent reply	other threads:[~2002-05-14 12:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-14  9:38 [LARTC] htb, class, prio Catalin BOIE
2002-05-14  9:47 ` Stef Coene
2002-05-14 12:09 ` Martin Devera [this message]
2002-11-07 14:31 ` Martin Devera

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-102137824606929@msgid-missing \
    --to=devik@cdi.cz \
    --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