From: Anton Yurchenko <phila@dg.net.ua>
To: lartc@vger.kernel.org
Subject: Re: [Fwd: Re: [LARTC] borrowing only from parent]
Date: Fri, 26 Apr 2002 11:54:07 +0000 [thread overview]
Message-ID: <marc-lartc-101982212907164@msgid-missing> (raw)
In-Reply-To: <marc-lartc-101981864904728@msgid-missing>
Hello,
After your explaining now I think I get the meaning of htb options and
here is my config , which still sadly doesnt work. Downloads from
srchost1 and srchost2 go at full speed, and are not shaped. Though
counters for respective classes increase.
tc -s -d show class dev eth0
-------------------------------------
class htb 1:101 parent 1:1 prio 0 rate 40Kbit ceil 100Kbit burst 1650b/8 mpu 0b cburst 1727b/8 mpu 0b quantum 512 level 0
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
lended: 0 borrowed: 0 giants: 0 injects: 0
tokens: 628545 ctokens: 263144
class htb 1:1 root prio 0 rate 100Kbit ceil 100Kbit burst 1599b/8 mpu 0b cburst 1599b/8 mpu 0b quantum 1280 level 3
Sent 3131025 bytes 23836 pkts (dropped 0, overlimits 0)
rate 281bps 3pps
lended: 751 borrowed: 0 giants: 0 injects: 0
tokens: -8719 ctokens: -8719
class htb 1:100 parent 1:1 prio 0 rate 60Kbit ceil 100Kbit burst 1675b/8 mpu 0b cburst 1727b/8 mpu 0b quantum 768 level 0
Sent 36068 bytes 504 pkts (dropped 0, overlimits 538)
rate 281bps 3pps
lended: 319 borrowed: 185 giants: 0 injects: 0
tokens: -12135 ctokens: 10773
-------------------------------------
tc qdisc show dev eth0
-------------------------------------
qdisc htb 1: r2q 10 default 400 dcache 0
deq_util 1/83333 deq_rate 4 trials_per_deq 0
dcache_hits 0 direct_packets 94066
-------------------------------------
tc filter show dev eth0
-------------------------------------
filter parent 1: protocol ip pref 3 fw
filter parent 1: protocol ip pref 3 fw handle 0x1 classid 1:100
filter parent 1: protocol ip pref 3 fw handle 0x2 classid 1:101
-------------------------------------
iptables -t mangle -L
-------------------------------------
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain INPUT (policy ACCEPT)
target prot opt source destination
MARK all -- sourcehost1 anywhere MARK set 0x1
MARK all -- sourcehost2 anywhere MARK set 0x2
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
MARK all -- anywhere sourcehost1 MARK set 0x1
MARK all -- anywhere sourcehost2 MARK set 0x2
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2002-04-26 11:54 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-26 10:56 [Fwd: Re: [LARTC] borrowing only from parent] Anton Yurchenko
2002-04-26 10:57 ` Anton Yurchenko
2002-04-26 10:57 ` Anton Yurchenko
2002-04-26 11:17 ` Martin Devera
2002-04-26 11:26 ` Anton Yurchenko
2002-04-26 11:31 ` Martin Devera
2002-04-26 11:54 ` Anton Yurchenko [this message]
2002-04-26 12:09 ` Martin Devera
2002-04-26 12:24 ` Anton Yurchenko
2002-04-26 12:28 ` Martin Devera
2002-05-15 6:57 ` Herman Cremer
2002-05-15 7:07 ` Herman Cremer
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-101982212907164@msgid-missing \
--to=phila@dg.net.ua \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox