All of lore.kernel.org
 help / color / mirror / Atom feed
From: eth <eth@finsiel.ro>
To: lartc@vger.kernel.org
Subject: [LARTC] HTB with 3 classes question...
Date: Thu, 14 Mar 2002 08:34:49 +0000	[thread overview]
Message-ID: <marc-lartc-101609511729486@msgid-missing> (raw)

Hi everyone.

Here is a HTB class definition:

tc class add dev eth1 parent 1:0 classid 1:2 htb rate 626kbit ceil 
626kbit burst 0k

#372kbit
  tc class add dev eth1 parent 1:2 classid 1:10 htb rate 370kbit ceil 
626kbit burst 0k
  tc class add dev eth1 parent 1:10 classid 1:110 htb rate 32kbit ceil 
32kbit burst 0k prio 1
  tc qdisc add dev eth1 parent 1:110 handle 11:0 pfifo limit 10
  tc class add dev eth1 parent 1:10 classid 1:120 htb rate 32kbit ceil 
626kbit burst 0k prio 2
  tc qdisc add dev eth1 parent 1:120 handle 12:0 sfq perturb 10
  tc class add dev eth1 parent 1:10 classid 1:130 htb rate 306kbit ceil 
626kbit burst 0k prio 3
  tc qdisc add dev eth1 parent 1:130 handle 13:0 sfq perturb 10


#192kbit
   tc class add dev eth1 parent 1:2 classid 1:20 htb rate 190kbit ceil 
626kbit burst 0k
   tc class add dev eth1 parent 1:20 classid 1:210 htb rate 30kbit ceil 
32kbit burst 0k prio 1
   tc qdisc add dev eth1 parent 1:210 handle 21:0 pfifo limit 10
   tc class add dev eth1 parent 1:20 classid 1:220 htb rate 160kbit ceil 
626kbit burst 0k prio 2
   tc qdisc add dev eth1 parent 1:220 handle 22:0 sfq perturb 10

   #64kbit
   tc class add dev eth1 parent 1:2 classid 1:30 htb rate 64kbit ceil 
64kbit burst 0k
   tc class add dev eth1 parent 1:30 classid 1:310 htb rate 32kbit ceil 
32kbit burst 0k prio 1
   tc qdisc add dev eth1 parent 1:310 handle 31:0 pfifo limit 10
   tc class add dev eth1 parent 1:30 classid 1:320 htb rate 32kbit ceil 
64kbit burst 0k prio 2
   tc qdisc add dev eth1 parent 1:320 handle 32:0 sfq perturb 10

I don't send you the tc filter as traffic seems to go in the designated 
classes. My problem: If all the machines are working, everything is 
fine. If only one class is using the network, again no problem. Yet if 
only class 372 and 192kbit are working the extra 64kbit are used by 
class 192kbit instead of being evenly distributed or in some % ... why?

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

                 reply	other threads:[~2002-03-14  8:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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-101609511729486@msgid-missing \
    --to=eth@finsiel.ro \
    --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.