All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Tim Carr" <tcarr@rim.net>
To: lartc@vger.kernel.org
Subject: RE: [LARTC] Anyone seen this?
Date: Fri, 01 Nov 2002 16:47:21 +0000	[thread overview]
Message-ID: <marc-lartc-103616931610197@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103609443808983@msgid-missing>


> You have to compare the highes and the lowest rate you have.  
> You have to 
> choose r2q so the lowest-rate / r2q > 1500 and highest-rate / 
> r2q < 60000.
> You can specify the r2q parameter if you add the htb qdisc.

Ok, I specified the r2q as 2, and now here's my HTB:

-------------------------

ROOT
class htb 1:1 root rate 168Kbit ceil 168Kbit burst 2Kb/8 mpu 0b cburst 1814b/8 mpu 0b level 7
 Sent 27115 bytes 246 pkts (dropped 0, overlimits 0)
 rate 289bps 3pps
 lended: 10 borrowed: 0 giants: 0
 tokens: 72229 ctokens: 63353

PCs' upstreams
class htb 1:2 parent 1:1 rate 112Kbit ceil 168Kbit burst 2Kb/8 mpu 0b cburst 1814b/8 mpu 0b level 6
 Sent 1239 bytes 8 pkts (dropped 0, overlimits 0)
 rate 6bps
 lended: 0 borrowed: 0 giants: 0
 tokens: 93716 ctokens: 53600

SSH packets
class htb 1:3 parent 1:1 leaf 3: prio 1 quantum 2048 rate 16Kbit ceil 168Kbit burst 2Kb/8 mpu 0b cburst 1814b/8 mpu 0b level 0
 Sent 18380 bytes 104 pkts (dropped 0, overlimits 0)
 rate 159bps 1pps
 lended: 94 borrowed: 10 giants: 0
 tokens: 777601 ctokens: 65181

ACK packets
class htb 1:4 parent 1:1 leaf 4: prio 2 quantum 5120 rate 40Kbit ceil 168Kbit burst 2Kb/8 mpu 0b cburst 1814b/8 mpu 0b level 0
 Sent 7496 bytes 134 pkts (dropped 0, overlimits 0)
 rate 71bps 1pps
 lended: 134 borrowed: 0 giants: 0
 tokens: 320000 ctokens: 67314

PC 1
class htb 1:10 parent 1:2 leaf 10: prio 3 quantum 4096 rate 32Kbit ceil 152Kbit burst 2Kb/8 mpu 0b cburst 1793b/8 mpu 0b level 0
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
 lended: 0 borrowed: 0 giants: 0
 tokens: 409600 ctokens: 75536

PC 2
class htb 1:11 parent 1:2 leaf 11: prio 3 quantum 4096 rate 32Kbit ceil 152Kbit burst 2Kb/8 mpu 0b cburst 1793b/8 mpu 0b level 0
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
 lended: 0 borrowed: 0 giants: 0
 tokens: 409600 ctokens: 75536

PC 3
class htb 1:12 parent 1:2 leaf 12: prio 3 quantum 4096 rate 32Kbit ceil 152Kbit burst 2Kb/8 mpu 0b cburst 1793b/8 mpu 0b level 0
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
 lended: 0 borrowed: 0 giants: 0
 tokens: 409600 ctokens: 75536

ROUTER (this machine itself!) and default
class htb 1:13 parent 1:2 leaf 13: prio 3 quantum 2048 rate 16Kbit ceil 152Kbit burst 2Kb/8 mpu 0b cburst 1793b/8 mpu 0b level 0
 Sent 1239 bytes 8 pkts (dropped 0, overlimits 0)
 rate 6bps
 lended: 8 borrowed: 0 giants: 0
 tokens: 656002 ctokens: 58359
--------------------

Note that all my quantums are now >1500 and < 60k.  Does everything here look ok? Will the rates be more accurate now that quantum isn't 1000?  How do I make pretty graphical pictures like you guys did, to tell how well it is working?

> results you wanted.  I just did some small test with the 
> quantum parameter.  
> I have to make a link on the site, but you can find it for now on : 
> http://home.docum.org/stef.coene/qos/tests/htb/quantum/

That link doesn't work for me. Can you check it for me?

> The lower the prio, the higher the priority

Great, thanks.

Thanks for all the help!

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

  parent reply	other threads:[~2002-11-01 16:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-31 19:59 [LARTC] Anyone seen this? Tim Carr
2002-10-31 21:28 ` Stef Coene
2002-11-01 15:29 ` Tim Carr
2002-11-01 15:43 ` Tim Carr
2002-11-01 15:43 ` Luc Brouard
2002-11-01 16:10 ` Stef Coene
2002-11-01 16:47 ` Tim Carr [this message]
2002-11-01 17:03 ` Stef Coene

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-103616931610197@msgid-missing \
    --to=tcarr@rim.net \
    --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.