All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Devera <devik@cdi.cz>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Has anybody used HTB?
Date: Wed, 06 Mar 2002 09:20:47 +0000	[thread overview]
Message-ID: <marc-lartc-101540649726756@msgid-missing> (raw)
In-Reply-To: <marc-lartc-101540571724934@msgid-missing>

Your setup doesn't make much sense. Two htbs can be done
but there is no benefit.
tc qdisc add dev eth1 parent 100:2 handle 102:1 is wrong
because each qdisc handle takes form X:0 not X:1 ...
devik

On Wed, 6 Mar 2002, eth wrote:

>     Until now I've been using HTB instead of CBQ and it worked quite 
> good. I try now to prio ICMP and SSHwith the following:
> 
> tc_htb qdisc add dev eth1 root handle 1: htb default 10
> 
>  # total
>  #78Kbytes 
>  tc class add dev eth1 parent 1: classid 1:1 htb rate 76kbps ceil 78kbps 
> burst 2k
> 
>  #50Kbytes 
>  tc class add dev eth1 parent 1:1 classid 1:10 htb rate 48kbps ceil 
> 76kbps burst 2k
>    #PRIO as qdisk for this slice
>    tc qdisc add dev eth1 parent 1:10 handle 100: prio
>      #I try to avoid a situation where a "massive" ping would disrupt 
> everything else
>      tc qdisc add dev eth1 parent 100:1 handle 101 tbf rate 8kbps 
> latency 1500ms burst 1540
>      #The second band (probably HTTP) shouldn't eat everything from FTP 
> which should be tc filtered in band 3...
>      tc qdisc add dev eth1 parent 100:2 handle 102:1 htb default 100221
> 
>      tc class add dev eth1 parent 102:1 classid 1002:1 htb rate 40kbps 
> ceil 76kbps burst 2k   
> 
> ... and the last line gives me an error:    RTNETLINK answers: Invalid 
> argument. Why?
> 
> _______________________________________________
> 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/

  reply	other threads:[~2002-03-06  9:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-06  9:05 [LARTC] Has anybody used HTB? eth
2002-03-06  9:20 ` Martin Devera [this message]
2002-03-06 14:48 ` eth
2002-03-08 10:09 ` Martin Devera
2002-03-08 10:49 ` eth
2002-03-08 11:35 ` Martin Devera
2002-03-08 12:54 ` eth

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-101540649726756@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 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.