Displaying 20 results from an estimated 10000 matches similar to: "PRIO qdisc with HTB"
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:
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 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 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
2003 Jul 14
0
Why arent filteres working? (as I wanted)
Here goes the filter statements:
#Initializing traffic control...
tc qdisc add dev br0 root handle 1:0 htb
#Loading queue disciplines for plis230 network...
tc class add dev br0 parent 1:0 classid 1:1 htb rate 512kbit ceil 512kbit
#Loading queue disciplines for pmad048 network...
tc class add dev br0 parent 1:1 classid 1:20 htb rate 30kbit ceil 30kbit
#server queue
tc class add dev br0 parent
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
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
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
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
2002 Oct 16
10
htb limiting trouble: no overlimit or dropped packets
Hi!
I''m trying to limit the uplink bandwidth using htb but no packets are
overlimit or dropped. :-(
My router config:
* Linux kernel 2.4.20-pre10 (htb v3.7) with everything built as
modules in QoS, iptables in use.
* tc binary from htb3.6-020525.tgz
* external interface eth0: Internet access, 512 kbit/s uplink speed
* internal interface eth1: internal LAN, 100 Mbit/s
The hosts in the
2006 Mar 05
2
ATTN Andreas Klauer: ASCII art + comments, please?
Andreas,
Since I understand your ASCII art and comments, I would very much
appreciate it if you would draw what you see and criticize the
following. Hopefully I''ll better understand after that!
TIA,
gypsy
tc qdisc add dev imq0 root handle 1: htb default 20
tc class add dev imq0 parent 1: classid 1:2 htb rate 4522kbit ceil \
4760kbit burst 16k cburst 16k quantum 1500
tc class add
2004 Oct 21
2
how to read the stats
Hi
I have setup iproute2 and need a bit of help reading the stats from it
===== output
qdisc htb 1: r2q 10 default 20 direct_packets_stat 0 ver 3.17
Sent 547326809 bytes 1342627 pkts (dropped 9303, overlimits 2817572
requeues 0)
backlog 46p
qdisc sfq 10: limit 128p quantum 1514b flows 128/1024 perturb 10sec
Sent 41874343 bytes 730889 pkts (dropped 0, overlimits 0 requeues 0)
qdisc sfq
2004 Jun 13
1
[Help] IMQ download traffic is duplicated !?
Hi,
I have a default class for my un-marked traffic (prio 5) and a prio 0 class for the important stuff,
but I do not understand why my download traffic is duplicated in both.
It work fine for my upload traffic (same setting except the red class but I have the same
result if I create an esfq instead).
Any comments/information will be appreciated.
Below my config :
tc commands from my scirpt :
2006 Sep 13
1
HTB shaping problem
Hi all !
I''m building a network appliance whose goals are to enhance Voip
quality on 512/128k DSL links. But, i have a voice quality problem,
and i think i''m doing something wrong, but i can''t find what. Please
excuse my terrible english, i''m french.
>From what i''ve read, tc is the tool i need. I read the documentations,
readmes and lartc.org
2003 Oct 12
1
couldn''t get available bandwith
Hello all.
We have three tunnels over the internet between our "central" gateway and
some branch office gateway.
Each gateway has eth0 on its LAN an eth1 on the internet. We use DSL lines
and eth1''s have the internet IP directly attached on it. Each gateway, also,
acts as iptables NAT gateway.
The outgoing bandwith is 300 kbit, and we tried this (i.e.) on each tunnel:
tc
2004 Jan 30
2
FW: QoS extension to Net-SNMP
Hi.
I did send this to `jaazz@post.cz'', but I suspect the list is a more
appropriate/useful place for it. It''s a question about Michal Charvat''s QoS
extension to Net-SNMP.
When I look at the MIB entries for the QoS handles, I get something like
this -
enterprises.qos.qosObjectTable.qosObject.qosHandle.0.0 = Gauge32: 0
2005 Mar 11
4
HTB statistics
Hi,
there is something I''m not able to understand about HTB statistics.
Why the qdisc show show how many packets are overlimits but in the
classes there are always 0 packets overlimits or dropped?
I try to expain with a simple example. I create a qdisc htb with only a
class and then i do a lot of traffic.
pc-innocenti:~# tc qdisc add dev eth0 parent root handle 1: htb default 10
2007 Feb 25
4
Trafic control - simple config, need help
I am completely new to this.. I am trying to make simple traffic control..
I have read quite some manuals and posts that i found, but i don''t understand
much, i think..
My situation is: i have linux server which i am using for firewall for local
network.. also on same linux server i have torrentflux for downloading torrents..
What i want to do is to give priority to local clients(2-3