Displaying 20 results from an estimated 20000 matches similar to: "tc class show - leaf?"
2007 Aug 01
4
tc shown rate larger than ceil (was "Weird rate in HTB")
An earlier exchange about someone seeing the rate larger than the
ceiling is posted below. Andy explained the reason for the "above
ceiling" rate in Daniel''s output . . . but I just saw an example that
doesn''t fit.
>> tc output >>
class htb 1:14 parent 1:1 leaf 14: prio 1 quantum 3072 rate 256000bit
ceil 282000bit burst 1820b/8 mpu 0b overhead 0b
2006 Apr 09
2
tc counters "problem"
Hi, I''m using tc and HTB to shape my outgoing ADSL traffic. I was trying to
make some graphs on the classes by meassuring the "sent bytes" of each class
using rrdtool to store the data (as kbps after conversion). I expected that
meassuring the root class I would get values similar that the ones I get
measuring the interface counters but they differ by a large amount.
Is
2005 Jan 31
0
tc segmentation faults when trying to add pfifo_fast as leaf discipline on a HTB class
Hello
I am trying to attach pfifo_fast to af leaf htb class. But tc
segmenetation faults. If I try the failing command throug strace, it
shows me that the last thing tc tries to do just before the
segmentation fault, is to try to open a file called
"/usr/lib/tc/q_pfifo_fast.so".
Of course i have tried to find worthfull information around the
Internet, but haven''t found
2007 Feb 01
0
tc filter Questions
I''m attempting to set up a hierarchy of tc qdiscs with filters, but the
filters don''t seem to be working correctly. I''m running iptables 1.3.5
with iproute 2.6.16.20060323 on a Gentoo 2.6.18 kernel. The system
takes all my tc setup, but does not filter packets as I am expecting it
to based on my ruleset.
My tc qdiscs and classes are added correctly and report as
2004 Apr 06
0
cbqmon.pl
Some time ago someone posted a nice script to monitor HTB classes,
classmon.pl. A friend of mine ported it to CBQ, and attached is the
result.
Suggestions are welcome.
Rubens
> #!/usr/bin/perl
>
> # Classy CBQ Operations Monitor...in Perl
> # Based on classmon.pl by Toby Cantor
> # By BLFC
>
> # The following short command line options are parsed as you might expect.
>
2006 Feb 24
2
tc filter can target only leaf classes?
(using htb)
I''m trying to learn tc filter and it seems the flowid parameter can only
point to leaf classes. Actually, it can point anywhere, but it doesn''t
seem to work unless it points to a leaf class. Is this correct?
For example, I have this tree:
eth0
|
+------1:-------+
| |
+------1:10 1:20
| |
2005 Apr 28
1
Packets Going to default class
Hi
I have tested with FC3 but iam not able get any good results on that.
in the list some one recomend me that > 3.17 HTB should work
I saw latest FC4 test2 has the HTB 3.17 with iptables 1.3.0
i have install in my P4 box, and trying to test
when iam uploading its working perfect, but when iam downloading its going
to default class
can some one experinced the same problem
below is the my
2006 Aug 21
1
tc filter don''t match packets
Hi,
I have problem with this simple script:
#!/bin/bash
if [ "$1" == "del" ]; then
tc qdisc del dev eth0 root handle 1: htb default 10
exit
fi
tc qdisc add dev eth0 root handle 1: htb default 10
tc class add dev eth0 parent 1: classid 1:1 htb rate 800kbit ceil 900kbit
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 300kbit ceil 600kbit
tc class add dev eth0 parent 1:1
2005 Nov 15
0
UDP traffic going through leaf faster then ceil...
What''s going on here? I''m spewing UDP traffic at this thing, and it is
exceeding the ceil, (i watched it for a few minutes, it didn''t slow
down). Anyone know how to fix this?
class htb 1:613 parent 1:5 leaf 613: prio 6 quantum 2560 rate 20480bit
ceil 103360bit burst 15Kb/8 mpu 0b overhead 0b cburst 1728b/8 mpu 0b
overhead 0b level 0
Sent 16591370 bytes 4159 pkt (dropped
2007 May 16
5
statistics and calc bandwidth traffic using tc -s qdisc show
2007 Jul 03
4
Weird rate in HTB
Dear all,
First, sorry for my bad English ..
To night one of my client is the victim of UDP attack from internet. It''s tons
of UDP packets from internet with destination to port 80. But when I look at
class of that victim client, the actual class rate is over than configured
rate class.
Below is my screen capture. You can see at class 1:913 which have actual rate
105136bit while
2005 Sep 28
4
Re:Does HTB consider PRIO or not? 2
Thanks for quick reply Andreas!
> Every class is allowed to use bandwidth as long as it does not have to
> borrow (the specified rate is guaranteed). Prio in HTB only affects
> borrowing bandwidth from other classes... In the example below, the class
> 1:5 should be allowed to borrow bandwidth before 1:14 does.
Thats exactly what I want from HTB to do..to prio the borrowed bandwidth.
2007 Jun 21
1
A HTB problem
My hardware is a Linksys AP with MIPS 300MHz and Linux kernel 2.4.20.
The traffics are from two LAN switch ports to WAN port. And the traffics
are generate at a rate of 80Mbit. So the total traffic to WAN port is
160Mbit. The shaping works well that the traffic to WAN port is about
50/30Mbit according to configuration. But the priority seems strange
when the root rate is 50Mbit.
When the root
2006 Feb 24
4
why isn''t 1:1 getting the traffic? [filter question]
With the below script, whenever I ping 10.0.16.10 (which matches the
only filter I have), traffic still get''s sent to the default 1:2 class
instead of 1:1 and I don''t know why... Any hints?
(kernel 2.6.12, iproute2-2.6.15)
tc qdisc del dev eth0 root > /dev/null 2>&1
tc qdisc add dev eth0 handle 1: root htb default 2
tc class add dev eth0 classid 1:1 parent 1: htb rate
2007 Aug 19
0
HTB qdisc within HTB root qdisc
Hello...
Im trying to setup HTB to allow me to shape traffic from two upstreams
that meets on single lan0 interface. I prefer to use HTB qdisc
within HTB root qdisc for cleaner rules design.
Seems that it doesnt work at all. tc -s class show doesnt
show any traffic on other classes attached to HTB qdisc.
Linux 2.6.20.7
iproute-2.6.20-070313
Weird thing is that tc -s class show that 1: and 2:
2004 Aug 06
0
CBQ + 802.1Q VLAN
I need to shape traffic from some IP on one LAN, but I''m in trouble. There is a linux 2.4.26 connected to the Internet (eth0) / LAN(eth1) doing NAT. I''m using VLANs in the LAN Interface, that is connected to a 3Com SuperStack II in a 802.1Q tagged port.
I want to create a class that will limit the traffic at 384Kbit/s.
I want to create two leaf classes that limit the traffic at
2006 Feb 10
3
htb root don''t reach ceil rate?
Hello,
i have a htb setup where the root and (nearly) all child classes has a
ceil rate with max up from my adsl line. But the root class don''t reach
the ceil value but some childs are get a huge backlog.
My setup: (tc -d class show dev ppp0) [cleaned a bit]
********************************************************
class htb 1:1 root rate 576000bit ceil 576000bit burst 30Kb/8 cburst
2007 Sep 19
1
major packet loss with htb
Hi,
got a 25/25Mbit connection which is quite stuffed. So I applied htb rules.
Uplink:
class htb 1:1 root rate 24500Kbit ceil 24500Kbit burst 4661b/8 mpu 0b
overhead 0b cburst 4661b/8 mpu 0b overhead 0b level 7
Sent 430600689269 bytes 730147320 pkt (dropped 0, overlimits 0 requeues 0)
rate 23057Kbit 5520pps backlog 0b 0p requeues 0
lended: 199673949 borrowed: 0 giants: 0
tokens: -964
2005 May 27
3
FW: HFSC + ESFQ - class statistics
Hello,
First I want to point out that I''m not so familiar with HFSC,
since there not so much info online.
But here is my script:
${TC} class add dev ${LAN_IFACE} parent 1:0 classid 1:1 hfsc ls rate
100mbit ul rate 100mbit
${TC} class add dev ${LAN_IFACE} parent 1:1 classid 1:2 hfsc ls rate
90mbit ul rate 90mbit
${TC} class add
2006 Mar 08
1
negative token/ctokens
In this simple htb setup:
# tc -s -d class ls dev eth0
class htb 1:1 root rate 300000bit ceil 300000bit burst 1749b/8 mpu 0b overhead
0b cburst 1749b/8 mpu 0b overhead 0b level 7
Sent 13171835 bytes 13169 pkt (dropped 0, overlimits 0 requeues 0)
rate 45848bit 10pps backlog 0b 0p requeues 0
lended: 5272 borrowed: 0 giants: 0
tokens: -84429 ctokens: -84429
class htb 1:2 parent 1:1 prio 0