From: Jason Tackaberry <tack@auc.ca>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] HTB not working quite the way I'd expect?
Date: Sun, 03 Feb 2002 21:01:06 +0000 [thread overview]
Message-ID: <marc-lartc-101277000526587@msgid-missing> (raw)
In-Reply-To: <marc-lartc-101262785901252@msgid-missing>
[-- Attachment #1: Type: text/plain, Size: 1177 bytes --]
On Sun, 2002-02-03 at 15:20, Martin Devera wrote:
> very interesting ! I'm interested in "tc -s -d class show dev eth8" output
> in middle of your run. Please take several snapshots, copy into file along
> with time (I need to know the time difference between them).
Okay. Attached is a commented typescript taken. The first invocation
of 'tc show' is before I initiated the remote wgets, the next 2 are
during, and the last is after I stopped them. I don't quite understand
all the data, but strictly looking at the rate field, I think it pretty
nicely shows what's happening. (Except on the last reading, which shows
a rate of ~40k/s even though the web server's interface was idle -- I
assumed it was just an averaging window issue.)
> I'll look at them and try to deduce the problem. I use configuration like
> your regulary with no probs so that I'm really interested.
Thanks very much for your help on this, Martin. :)
Jason.
--
Academic Computing Support Specialist
Algoma University College
Sault Ste. Marie, Ontario
705-949-2301 x330 Personal Home Page
http://www.auc.ca http://sault.org
[-- Attachment #2: Type: text/plain, Size: 5689 bytes --]
###
# Before hitting the webserver. This is normal traffic generated by
# our residence. iptraf showed ~200k/s being sent on eth8.
########
[root@hawk tack]# date && tc -s -d class show dev eth8
Sun Feb 3 15:47:22 EST 2002
class htb 1:11 parent 1:1 leaf 8066: prio 3 rate 400Kbit ceil 1600Kbit burst 2Kb/8 mpu 0b cburst 3647b/8 mpu 0b quantum 5120 level 0
Sent 75213499 bytes 106516 pkts (dropped 34, overlimits 70905)
rate 192901bps 236pps backlog 36p
lended: 38257 borrowed: 68223 giants: 0 injects: 0
tokens: -118 ctokens: -3836
class htb 1:1 root prio 0 rate 2000Kbit ceil 2000Kbit burst 4159b/8 mpu 0b cburst 4159b/8 mpu 0b quantum 25600 level 3
Sent 87895315 bytes 121163 pkts (dropped 0, overlimits 0)
rate 191724bps 239pps
lended: 68223 borrowed: 0 giants: 0 injects: 0
tokens: 3968 ctokens: 3968
class htb 1:10 parent 1:1 leaf 8065: prio 1 rate 1600Kbit ceil 2000Kbit burst 10Kb/8 mpu 0b cburst 4159b/8 mpu 0b quantum 20480 level 0
Sent 12717097 bytes 14683 pkts (dropped 0, overlimits 2668)
rate 1380bps 9pps
lended: 14683 borrowed: 0 giants: 0 injects: 0
tokens: 40577 ctokens: 13004
###
# Immediately following the previous command, I began the run by initiating
# wget on 3 separate sites downloading from our webserver (a large file).
########
[root@hawk tack]# date && tc -s -d class show dev eth8
Sun Feb 3 15:47:44 EST 2002
class htb 1:11 parent 1:1 leaf 8066: prio 3 rate 400Kbit ceil 1600Kbit burst 2Kb/8 mpu 0b cburst 3647b/8 mpu 0b quantum 5120 level 0
Sent 78931896 bytes 110921 pkts (dropped 34, overlimits 76204)
rate 182403bps 219pps backlog 18p
lended: 39606 borrowed: 71297 giants: 0 injects: 0
tokens: -7489 ctokens: -4151
class htb 1:1 root prio 0 rate 2000Kbit ceil 2000Kbit burst 4159b/8 mpu 0b cburst 4159b/8 mpu 0b quantum 25600 level 3
Sent 93010578 bytes 126696 pkts (dropped 0, overlimits 0)
rate 1663Kbit 247pps
lended: 71297 borrowed: 0 giants: 0 injects: 0
tokens: -2 ctokens: -2
class htb 1:10 parent 1:1 leaf 8065: prio 1 rate 1600Kbit ceil 2000Kbit burst 10Kb/8 mpu 0b cburst 4159b/8 mpu 0b quantum 20480 level 0
Sent 14099891 bytes 15793 pkts (dropped 0, overlimits 2988)
rate 32109bps 28pps
lended: 15793 borrowed: 0 giants: 0 injects: 0
tokens: 19305 ctokens: 2537
###
# The wgets are still going.
########
[root@hawk tack]# date && tc -s -d class show dev eth8
Sun Feb 3 15:48:00 EST 2002
class htb 1:11 parent 1:1 leaf 8066: prio 3 rate 400Kbit ceil 1600Kbit burst 2Kb/8 mpu 0b cburst 3647b/8 mpu 0b quantum 5120 level 0
Sent 81834500 bytes 114311 pkts (dropped 34, overlimits 80140)
rate 182926bps 217pps backlog 16p
lended: 40580 borrowed: 73715 giants: 0 injects: 0
tokens: -596 ctokens: -1591
class htb 1:1 root prio 0 rate 2000Kbit ceil 2000Kbit burst 4159b/8 mpu 0b cburst 4159b/8 mpu 0b quantum 25600 level 3
Sent 96964624 bytes 130954 pkts (dropped 0, overlimits 0)
rate 230521bps 258pps
lended: 73715 borrowed: 0 giants: 0 injects: 0
tokens: 7272 ctokens: 7272
class htb 1:10 parent 1:1 leaf 8065: prio 1 rate 1600Kbit ceil 2000Kbit burst 10Kb/8 mpu 0b cburst 4159b/8 mpu 0b quantum 20480 level 0
Sent 15150851 bytes 16659 pkts (dropped 0, overlimits 3082)
rate 47974bps 41pps
lended: 16659 borrowed: 0 giants: 0 injects: 0
tokens: 21062 ctokens: 667
###
# Immediately following the last command, I stopped the wgets. Our
# webserver was idle. For whatever reason, it shows the rate of 1:10 at
# 62790bps but the web server's interface was clearly idle. I assume it
# averages rate over a wide window, like 20-30 seconds?
########
[root@hawk tack]# date && tc -s -d class show dev eth8
Sun Feb 3 15:48:14 EST 2002
class htb 1:11 parent 1:1 leaf 8066: prio 3 rate 400Kbit ceil 1600Kbit burst 2Kb/8 mpu 0b cburst 3647b/8 mpu 0b quantum 5120 level 0
Sent 84370895 bytes 117247 pkts (dropped 34, overlimits 83715)
rate 177121bps 208pps backlog 19p
lended: 41432 borrowed: 75796 giants: 0 injects: 0
tokens: -13591 ctokens: -216
class htb 1:1 root prio 0 rate 2000Kbit ceil 2000Kbit burst 4159b/8 mpu 0b cburst 4159b/8 mpu 0b quantum 25600 level 3
Sent 100567608 bytes 134827 pkts (dropped 0, overlimits 0)
rate 240215bps 261pps
lended: 75796 borrowed: 0 giants: 0 injects: 0
tokens: -3658 ctokens: -3658
class htb 1:10 parent 1:1 leaf 8065: prio 1 rate 1600Kbit ceil 2000Kbit burst 10Kb/8 mpu 0b cburst 4159b/8 mpu 0b quantum 20480 level 0
Sent 16215919 bytes 17599 pkts (dropped 0, overlimits 3251)
rate 62790bps 52pps
lended: 17599 borrowed: 0 giants: 0 injects: 0
tokens: 22819 ctokens: -1203
[root@hawk tack]# date && tc -s -d class show dev eth8
Sun Feb 3 15:48:37 EST 2002
class htb 1:11 parent 1:1 leaf 8066: prio 3 rate 400Kbit ceil 1600Kbit burst 2Kb/8 mpu 0b cburst 3647b/8 mpu 0b quantum 5120 level 0
Sent 88862765 bytes 122423 pkts (dropped 34, overlimits 89207)
rate 187439bps 221pps backlog 25p
lended: 42738 borrowed: 79660 giants: 0 injects: 0
tokens: -17782 ctokens: -2329
class htb 1:1 root prio 0 rate 2000Kbit ceil 2000Kbit burst 4159b/8 mpu 0b cburst 4159b/8 mpu 0b quantum 25600 level 3
Sent 105201282 bytes 140534 pkts (dropped 0, overlimits 0)
rate 231031bps 267pps
lended: 79660 borrowed: 0 giants: 0 injects: 0
tokens: 7044 ctokens: 7044
class htb 1:10 parent 1:1 leaf 8065: prio 1 rate 1600Kbit ceil 2000Kbit burst 10Kb/8 mpu 0b cburst 4159b/8 mpu 0b quantum 20480 level 0
Sent 16367152 bytes 18136 pkts (dropped 0, overlimits 3262)
rate 42641bps 45pps
lended: 18136 borrowed: 0 giants: 0 injects: 0
tokens: 40609 ctokens: 13031
next prev parent reply other threads:[~2002-02-03 21:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-02 5:32 [LARTC] HTB not working quite the way I'd expect? Jason Tackaberry
2002-02-02 13:14 ` Martin Devera
2002-02-03 19:41 ` Jason Tackaberry
2002-02-03 20:20 ` Martin Devera
2002-02-03 21:01 ` Jason Tackaberry [this message]
2002-02-03 21:11 ` Jason Tackaberry
2002-02-03 22:25 ` Martin Devera
2002-02-03 22:37 ` Jason Tackaberry
2002-02-04 7:01 ` Martin Devera
2002-02-04 15:04 ` Jason Tackaberry
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-101277000526587@msgid-missing \
--to=tack@auc.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.