All of lore.kernel.org
 help / color / mirror / Atom feed
From: King Yung Tong <tong@cs.dal.ca>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Ethloop?
Date: Fri, 07 Jun 2002 19:47:31 +0000	[thread overview]
Message-ID: <marc-lartc-102347940817875@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102340461224067@msgid-missing>

Thank you for you help.
Here is the HTB

echo Clean all the tc setup
./tc qdisc del dev lo root

./tc qdisc add dev lo root handle 1: htb default 12

./tc class add dev lo parent 1: classid 1:1 htb rate 100kbps ceil 100kbps
./tc class add dev lo parent 1:1 classid 1:2 htb rate 40kbps ceil 100kbps
./tc class add dev lo parent 1:2 classid 1:10 htb rate 30kbps ceil 100kbps
prio 0
./tc class add dev lo parent 1:2 classid 1:11 htb rate 10kbps ceil 100kbps
prio 1
./tc class add dev lo parent 1:1 classid 1:12 htb rate 60kbps ceil 100kbps

echo qdisc
./tc qdisc add dev lo parent 1:10 handle 20: pfifo limit 5
./tc qdisc add dev lo parent 1:11 handle 30: pfifo limit 5
./tc qdisc add dev lo parent 1:12 handle 40: sfq perturb 10

            _________________________1:11
	   /
	  /
_________/    ___________________ 1:12 (to should not be increse)???
	     /
 -----------/

Result

0.5 23233 23233 0 0 7744 7744 0 0 44545 44545 0 0
1.0 28987 28987 0 0 9662 9662 0 0 57518 57518 0 0
1.5 29609 29609 0 0 10139 10139 0 0 59920 59920 0 0
2.0 30583 30583 0 0 10258 10258 0 0 59877 59877 0 0
2.5 28941 28941 0 0 10308 10308 0 0 58869 58869 0 0
3.0 30374 30374 0 0 10282 10282 0 0 60982 60982 0 0
3.5 29747 29747 0 0 8874 8874 0 0 59755 59755 0 0
4.0 29736 29736 0 0 9818 9818 0 0 59993 59993 0 0
4.5 30679 30679 0 0 10204 10204 0 0 14237 14237 0 0
5.0 29897 29897 0 0 10365 10365 0 0 3378 3378 0 0
5.5 30670 30670 0 0 10318 10318 0 0 802 802 0 0
6.0 30576 30576 0 0 10214 10214 0 0 190 190 0 0
6.5 28799 28799 0 0 10245 10245 0 0 45 45 0 0
7.0 30321 30321 0 0 8340 8340 0 0 11 11 0 0
7.5 45445 45445 0 0 18142 18142 0 0 3 3 0 0
8.0 48046 48046 0 0 19985 19985 0 0 1 1 0 0
8.5 50644 50644 0 0 17879 17879 0 0 0 0 0 0
9.0 50885 50885 0 0 19094 19094 0 0 0 0 0 0
9.5 50467 50467 0 0 20211 20211 0 0 0 0 0 0
10.0 49349 49349 0 0 20513 20513 0 0 0 0 0 0






On Fri, 7 Jun 2002, Martin Devera wrote:

> > Thank you for you answer, 1:10 is incresed but 1:20 is also increased and
> > increase to the specific rate if I add 100kbps to every line.
> 
> sounds weird. With higher prio 1:10 should get 90k and 1:11 10k.
> 
> > In my case, I would like to put all the extra to 1:10 only, is that means
> > I have to give 1:11 ceil to 10kbps. If it is, is that means I don't need
> > prio paramter? How prio parameter works?
> 
> your understanding is ok, tge ceil 10k is correct - the prio is
> meant for lowering delay and change in excess distribution is
> only "secondary" product.
> 
> Port the resulting graph somewhere so I can look at it.
> 
> devik
> 
> _______________________________________________
> 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-06-07 19:47 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-06 23:02 [LARTC] Ethloop? King Yung Tong
2002-06-07 18:02 ` Martin Devera
2002-06-07 18:36 ` King Yung Tong
2002-06-07 18:45 ` Martin Devera
2002-06-07 18:57 ` King Yung Tong
2002-06-07 19:06 ` Martin Devera
2002-06-07 19:47 ` Martin Devera
2002-06-07 19:47 ` King Yung Tong [this message]
2002-06-07 19:53 ` King Yung Tong
2002-06-07 20:03 ` Martin Devera
2002-06-07 20:17 ` King Yung Tong
2002-06-07 20:19 ` Martin Devera
2002-06-07 20:26 ` King Yung Tong
2002-06-07 20:48 ` Martin Devera
2002-06-07 20:53 ` King Yung Tong

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-102347940817875@msgid-missing \
    --to=tong@cs.dal.ca \
    --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.