Displaying 20 results from an estimated 1000 matches similar to: "htb stats"
2005 Mar 12
3
How to use TIMECHECK tag in htb.init ?
Does anyone use tb.init TIMECHECK to change rate/ceil for classes based on periods over the day ? I had problems setting the right syntax. Can anyone help me with a quick example. I have tried the following with no success:
LEAF=sfq
RULE=xx.xx.xx.xx
TIME=06:00-18:00;128Kbit
TIME=18:00-06:00;256Kbit
RATE=196Kbit
_______________________________________________
LARTC mailing list
2005 Oct 06
1
HTB problem running on VLAN, not working
Hello.
I''m running linux box with Slackware 9.1 and compiled kernel 2.4.31 with "yes" to VLANs and "yes" to all QoS.
On this box i have more ethernet interfaces:
eth0
eth1
eth2
and so as more vlan interfaces:
eth0.100
eth1.3
eth1.4
This is entrace(uplink) router to our whole network and my goal is to shape users on this machine.
I want for this purpose use HTB so
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 May 08
2
PRIO qdisc with HTB
Hi,
I''m trying to use prio qdisc with htb, however not the "usual" way (like for
example FairNAT).
Here is my idea:
Root has HTB shaping traffic to link speed -> then goes PRIO queues -> each
prio queue has HTB with sublasses for each user, should look like this:
1: htb qdisc
|
1:1 htb class
2002 Jun 06
1
parameter of htb
tc qdisc add dev eth0 root handle 1: htb default 12
tc class add dev eth0 parent 1: classid 1:10 rate
30kbps ceil 100kbps burst 2k
tc class add dev eth0 parent 1: classid 1:11 rate
10kbps ceil 100kbps burst 2k
tc class add dev eth0 parent 1: classid 1:12 rate
60kbps ceil 100kbps burst 2k
tc filter add dev eth0 protocol ip parent 1:0 prio 1
u32 match ip src 172.16.11.2 flowid 1:10
i login
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
2005 Nov 11
2
marked packets end up in wrong class
Hello,
I have recently started looking at tc and iptables. I have an htb-queue
with two classes 1:10 and 1:20 where 1:20 is the default. Then I use
iptables to mark all packets I send out on eth1. I then filter marked
packets into class 1:10. I expected all packets sent on eth1 to end up in
class 1:10, but some packets still go to 1:20. Did I do it wrong?
Thank you for any help.
regards,
David
2004 Apr 19
0
Packet Dropped by HTB qdisc
Hi,
"tc -s qdisc show dev eth0" shows
qdisc htb 1: r2q 10 default 256 direct_packets_stat 48
Sent 687354936 bytes 4858561 pkts (dropped 8809, overlimits 4909679)
backlog 142p
and "tc -s qdisc show dev eth2" shows
qdisc htb 3: r2q 10 default 256 direct_packets_stat 37
Sent 2697417450 bytes 5417551 pkts (dropped 58103, overlimits 5691061)
backlog 1464p
It
2004 Jun 13
1
Consider r2q change, why !?
Hi,
My system always complain with the warning below :
HTB: quantum of class 10099 is small. Consider r2q change.
I simply do not understand why...
Below my tc commands :
/sbin/tc qdisc del dev eth0 root
/sbin/tc qdisc add dev eth0 root handle 1 htb default 99
/sbin/tc class add dev eth0 parent 1: classid 1:2 htb rate 128Kbit
/sbin/tc class add dev eth0 parent 1:2 classid 1:10 htb rate 80Kbit
2007 Feb 07
0
HTB Troubleshooting
Hello all,
Probably a silly problem as a result of lack of understanding here, but I''m
having some trouble with a supposedly simple shaping script here.
I have a bunch of IPs on an interface tun0 (VPN clients) which I''m trying to
rate limit to 5Mbps default, and then set externally by a script to 1Mbps or
10Mbps. All traffic goes out of eth0 from the clients - no routeback.
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
2005 Oct 14
0
tc filter not filtering -or- what am I going wrong?
Dear All
I am trying a very simple set up: (a bit long message follows)
#Flush previous definitions
$TC qdisc del dev $VVNET root >&/dev/null
$TC qdisc del dev $INTERNET root >&/dev/null
$IPT -t mangle -D PREROUTING -i $INTERNET -d 200.231.56.0/24 -j IMQ --todev 0
# Mothers off all disciplines
$TC qdisc add dev $VVNET root handle 1: htb default FFFF r2q 1
$TC qdisc add dev
2007 May 19
1
Re: LARTC Digest, Vol 27, Issue 26
Hi folks...!!!
I need to generate qdisc statistics to show my 4 class (10, 20, 30, 40),
i`ve all working with HTB and so on, but i need to graph this results
e.gwith RRDTOOL.
I found a script made in perl, that can to graph my 4 class, but i need to
know which IP address on my LAN are using the bandwidth too, in other hand i
need to classify the traffic by IP to show.
This is an out of my
2003 Oct 27
4
Need help with HTB
Hello,
1.
I currently have a 128kbps cable link to the internet..and I''m sharing
this connection with others.
I''ve made the following script(for alocating bandwidth depending on the
services used: browsing, squid, games like counter-strike, icmp, ssh),
which unfortunately isn''t working very well as the response times I''m
getting upon pinging the server
2007 Sep 23
0
Giants on IMQ0
Why am I getting giants on imq0?
How do I stop that?
==========
imq0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP RUNNING NOARP MTU:1500 Metric:1
RX packets:39880312 errors:0 dropped:0 overruns:0 frame:0
TX packets:39878715 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1024
RX
2005 Nov 24
0
max latency with htb and wondershaper for voip and p2p
Hi
I''m actually using a wondershaper derived script.
The problem I have is that when I ping (ping is in high priority queue)
the ping time is not as low as I expected with p2p running:
760 packets transmitted, 760 received, 0% packet loss, time 759695ms
rtt min/avg/max/mdev = 39.667/62.863/598.539/33.287 ms, pipe 2
With voip, it is much better with the qos but it is still a little
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.
2002 Dec 04
3
HTB/IMQ troubles (probably)
Hello,
I use HTB with linux-2.4.20-ac1 and iptables-1.2.7a (pathced for IMQ).
I configured one HTB qdisc on an IMQ device. This qdisc has some classes
(about 5) and all of the classes has qdisc pfifo.
I sometimes got out from my linux (while I was working) and I found in
logs:
Dec 4 11:49:27 core kernel: HTB init, kernel part version 3.7
Dec 4 11:49:28 core kernel: HTB: quantum of class
2006 Sep 06
0
Can i attach another qdisc (htb) under HFSC classfull ?
Hi,
Is it possible to attach another qdisq under a HFSC classfull ?
I try it and the configuraton works :
$TC qdisc add dev $dev root handle 1: hfsc default 30
$TC class add dev $dev parent 1: classid 1:1 hfsc sc rate
${RATE}mbit ul rate ${RATE}mbit
$TC class add dev $dev parent 1:1 classid 1:10 hfsc rt umax 1500b
dmax 30ms rate 200kbit
$TC class add dev $dev
2004 Dec 30
2
HTB - ethloop - overlimits?
Hi all,
I''m trying to setup htb on a box with the following class configuration:
class htb 1:2 root rate 4Mbit ceil 4Mbit burst 2099b/8 mpu 0b overhead
0b cburst 2099b/8 mpu 0b overhead 0b level 7
Sent 0 bytes 0 pkts (dropped 0, overlimits 0 requeues 0)
lended: 0 borrowed: 0 giants: 0
tokens: 4300 ctokens: 4300
class htb 1:4 parent 1:2 leaf 4: prio 7 quantum 1000 rate 1Kbit ceil