Displaying 20 results from an estimated 6000 matches similar to: "tbf and prio blocking some flows entirely"
2005 Dec 02
17
HTB - prio and rate
Hi all,
I''ve not been able to find an explanation of the relationship between
prio and rate as they apply to the HTB technique. Hopefully someone on
here will be able to help me.
As I understand things, when prio values are assigned to an HTB setup,
classes with a given prio value will only be serviced when there are no
packets waiting in classes with a lower prio value.
Now, does
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
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
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
2006 May 19
25
iptables CLASSIFY and MARK not working?
I have to match my packets based on MAC address, which I cannot do in
the POSTROUTING chain, so I do it in PREROUTING using MARK. Then, I
match on the MARK in the POSTROUTING chain to do a CLASSIFY. But this
does not seem to work:
wireless-r1 bwlimit # iptables -L -v -n -t mangle
Chain PREROUTING (policy ACCEPT 3353K packets, 941M bytes)
pkts bytes target prot opt in out source
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
2007 May 16
5
statistics and calc bandwidth traffic using tc -s qdisc show
2005 Dec 05
1
Connmark question
I am trying to get IPP2P working on my router. Thus far I can see
connections being marked (see below), but they don''t seem to get saved
or something. When looking at /proc/net/ip_conntrack, nothing has
anything other than 0 for mark. The iptables commands for this are:
iptables -t mangle -A PREROUTING -j CONNMARK --restore-mark
iptables -t mangle -A PREROUTING -m mark ! --mark 0 -j
2005 Feb 02
8
can''t understand strange PRIO behaviour
Hello everybody,
sorry for bothering you, but after some hours, I''m stuck. I''m living in
a student''s foundation where I want to connect lots of people to a tiny
DSL link. We have exactly four types of traffic. We want a really hard
PRIO solution (as I promised to someone that group X will only use the
link capacity which isn''t used by group Y). I could make a
2005 Sep 26
1
Qos, HFSC and VoIP
Hello,
I''m using Linux kernel 2.6.x and tc (from iproute2 package).
I''m trying to use HTB or HFSC scheduler in order to limite the rate of outgoing packets and also in order to minimiez delay for RTP stream.
But I didn''t suceed in having this 2 QoS services working.
I use Iptables in order to classify packets. Here is my HFSC conf.
In fact the pings that i send from
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 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
2003 Nov 26
3
Fair queueing: SFQ vs TBF
Hello,
I have one Q. What is better when using as leaf in one leaf with
several hosts (like subnet) to splice traffic equaly to user number?
Like 2 users = 256/2, 3 = 256/3 and so on. WRR was pretty good for this
job, but it''s only for 2.4.21 kernels and mine''s 2.4.22.
So what is better: SFQ or TBF?
--
Artūras Šlajus
_______________________________________________
2000 Nov 18
9
priority bands don't reduce interactive latency?
I run a small Linux webserver and NAT router from my cable modem at home.
Whenever someone starts an http download, all other traffic from my LAN is
starved. Bandwidth is not really an issue, but latency is particularly
horrible -- pings that usually come back in 20ms can take up to 600ms while
the web server is active!
I set up QoS (netfilter+iproute2) on the NAT machine in an attempt to give
2006 Feb 23
1
1k: 1000 or 1024?
The docs[1][2] suggest it''s 1024, but tc says something else:
# tc qdisc add dev eth0 root tbf rate 1kbps latency 50ms burst 1500
# tc -s qdisc ls dev eth0
qdisc tbf 8009: rate 8000bit burst 1499b lat 48.8ms
^^^^^^^
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
If 1k were 1024, then I would have 8192bit above.
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.
2005 Nov 06
1
tc qdisc replace failing
Hi,
Having issues getting a replace command working correctly. The error reported
is "RTNETLINK answers: Invalid argument" which isn''t descriptive or helpful.
The command i''m running is:
tc qdisc replace dev ppp0 parent 8001:D handle D: tbf rate 5Kbit burst 5kb
latency 70ms
The idea being to replace an sfq with handle D and hopefully limit a certain
user in my
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:
2005 Nov 14
1
Using TBF to throttle a PC to 5kbps
Hi Everyone,
This is a simple question but I don''t understand why the below tbf is not
working as expected by throttling traffic to 5kbps
If I throttle a PC''s traffic using the below when traffic exceeds 5kbps
packets start getting dropped (as they should) but all traffic gets dropped.
not just the bit over 5kbps.
TC="tc add dev ppp0"
$TC parent 8001:2 handle 2:
2006 Apr 10
1
Where is the documentation for IFB ?
Hi all,
Can you tell me where is the documentation for the new IFB (implemented
in kernels > 2.6.16).
Thanks in advance!
Nikolay