search for: prio

Displaying 20 results from an estimated 2318 matches for "prio".

Did you mean: prior
2007 May 10
6
PRIO and TBF is much better than HTB??
Hello mailing list, i stand bevor a mystery and cannot explain it J. I want to do shaping and prioritization and I have done these following configurations and simulations. I can´t explain, that the combination of PRIO and TBF is much better than the HTB (with the prio parameter) alone or in combination with the SFQ. Here are my example configurations: 2 Traffic Classes http (80 = 0x50) and s...
2005 Feb 06
2
problems with u32 fiter
...htb rate 30kbit ceil 120kbit tc class add dev ppp0 parent 1:1 classid 1:21 htb rate 30kbit ceil 120kbit tc class add dev ppp0 parent 1:1 classid 1:22 htb rate 30kbit ceil 120kbit tc class add dev ppp0 parent 1:1 classid 1:23 htb rate 30kbit ceil 120kbit tc qdisc add dev ppp0 parent 1:20 handle 20: prio tc qdisc add dev ppp0 parent 1:21 handle 21: prio tc qdisc add dev ppp0 parent 1:22 handle 22: prio tc qdisc add dev ppp0 parent 1:23 handle 23: prio but when i try to set up the filters : tc filter add dev ppp0 parent 1:0 prio 1 u32 match ip src 192.168.0.2 flowid 1:23 tc filter add dev ppp0 par...
2007 Aug 29
5
HTB does not respect the prio parameter
Hi all, I''m experimenting with HTB and the prio parameter and it does not give me results I expect. I''ve created 4 HTB classes: 1:10 TCP ACKs (prio 0) 1:20 TCP traffic on dst port 10001 (prio 1) 1:30 TCP traffic on dst port 10000 (prio 2) 1:40 Default (prio 3) ceil and rate parameters are...
2007 Jun 14
16
PQ questions
Hi all, First, let me say I''ve been most impressed with how quickly and professionally people on this list ask and answer questions. Next, let me say that with which I need help is properly configuring strict PQ, and gathering certain stats. Specifically: - I need to create a priority queue with four queues (let''s say they are of high, medium, normal, and low priority) - I need to use tc filters such that: - EF (0xB8) goes to the high priority queue - AF21 (0x50) goes to the medium priority queue - AF11 (0x28) goes to the normal priority queue, and - BE tra...
2004 Aug 18
0
HTB prio question
Hi all. I have a bridge running Linux 2.4.24 that I use as a bandwidth manager on a broadband wireless network. I''m using HTB and SFQ to prioritize that share bandwidth on a per-cell basis. My IP tables rules divide the traffic based on IPand traffic type (using layer-7 filter and ipp2p). My goal is to make sure that p2p traffic on the network doesn''t sink all of the bandwidth and affect the performance of high-priority commer...
2007 May 02
7
tc u32 match !port
How can i redirect all traffic that not come from port 80 to a flow ? i was thing about some like tc filter add dev imq1 parent 1: protocol ip prio 7 u32 match ip sport !80 ...... But this not work. Another doubt, if i have two rules that intersects , for example , one filter with u32 match ip src 10.10.10.10 flowid 1:10 and other with u32 match sport 80 0xffff flowid 1:11 , which one will work in case of a packet to 10.10.10.10 with sport 8...
2004 Apr 06
0
hashing rule don''t match
Hi i have 2 class C 80.97.103.0/24 and 81.180.12.0/24 but i dont konw how to set hashing tables for HTB tc add dev eth0 parent 1: prio 0 handle 1: protocol ip u32 divisor 256 tc add dev eth0 parent 1: prio 0 protocol ip u32 match src 80.97.103.0/24 hashkey mask 0x000000FF at 12 link 1: but i want 2 hashkey for 80.97.103.0/24 and for 81.180.12.0/24 can somebody help me ? this is a part fo my script tc qdisc del dev eth0 root tc...
2005 Jan 05
0
Best QoS Policy for VoIP
...="XXX.XXX.XXX.XXX" # # ##################################### ##################################### # Delete any old rules # tc qdisc del root dev $e ## each class is able to take more bandwidth as it is available, but must ## surrender it as the higher priorities (2, 3, then 4) need it. ## The lower the priority number, the more priority it gets. Thus when ## there is extra bandwidth available, the lower number classes get it as ## they need it. # root qdisc / qdisc = queueing discipline # tc qdisc add dev $e root handle 1:0 cbq bandwidth 100Mbit av...
2005 Mar 15
1
Traffic Shaping multiple incoming broadband sources?
...ed. Or maybe a better way of designing the traffic shaping rules? James # setup root queue tc qdisc add dev eth0 root handle 1: htb # Setup incoming from eth2 1500k link tc class add dev eth0 parent 1:0 classid 1:2 htb rate 1350kbit quantum 1500 tc filter add dev eth0 parent 1:0 protocol ip prio 1 handle 0x03 fw flowid 1:2 tc class add dev eth0 parent 1:2 classid 1:210 htb rate 168kbit ceil 224kbit prio 1 quantum 1500 tc class add dev eth0 parent 1:2 classid 1:220 htb rate 362kbit ceil 640kbit prio 2 quantum 1500 tc class add dev eth0 parent 1:2 classid 1:230 htb rate 640kbit ceil 960kbit...
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...
2007 Apr 25
0
problem with prio qdisc and tcng
Hello Mailing list, I have a problem with the prio qdisc and I don´t know what is wrong in my configuration This ist a sample configuration and looks like this: #include "fields.tc" #include "ports.tc" #define X16(i) i i i i i i i i i i i i i i i i dev ppp0 { dsmark { prio(bands 6, priomap X16($be))...
2005 Jul 08
5
HTB Rate and Prio
Hi, I wanted to implement some QOS on my Linux Box with HTB, but after some time spend on the configuration and tests, I still don''t manage to have some correct results. Here are the details : -ROOT 2000 kbits -HIGHPRIO SUBCLASS 50 kbits prio 0 -SUBCLASS1 750 kbits prio 1 -SERVICE1 250 kbits prio 1 -SERVICE2 250 kbits prio 1 -SERVICE3 250 kbits prio 1 -SUBCLASS2 750 kbits prio 1 -SERVICE1 2...
2002 Jun 18
7
Better filtering to a class
...ctive, and we can write it in simpler. I need help, how to make my script below are simpler. The simpler, the better. Thank you for your help. -- Regards, Adi Nugroho Here is my script.... # Down Stream tc class add dev eth0 parent 1:1 classid 1:123 htb rate 12kbit burst 64k ceil 64kbit prio 3 tc class add dev eth0 parent 1:123 classid 1:1231 htb rate 1.2kbit burst 3.2k ceil 64kbit tc class add dev eth0 parent 1:123 classid 1:1232 htb rate 2.4kbit burst 6.4k ceil 64kbit tc class add dev eth0 parent 1:123 classid 1:1233 htb rate 8.4kbit burst 54.4k ceil 64kbit tc qdisc add dev eth0 p...
2005 Jul 21
2
HTB and prio
Hi, this is a followup to "Problem with HTB and ceil", the problem with the ceiling has been resolved, thanks to the memebers on this m/g. Now I have the problem that packets get into the correct classe with the correct marks but the prios are not respected. I have 4 different classes: 1. voip class / prio 0 / mark 100 / voip traffic 2. ACK class / prio 1 / mark 200 / ACK packets to keep downloads as fast as possible 3. SSH class / prio 3 / mark 300 / ssh/scp interactive traffic 4. http/client class / prio 3 / mark 400 / traffic fro...
2005 Mar 14
1
htb.init issues
...t: root class 0010 premium parent class 1000 premium child classes 1xyz best-effort parent class 2000 best-effort child classes 2xyz default class 3000 Here''s how I do it: eth1: DEFAULT=3000 eth1-0010.root: RATE=100Mbit LEAF=sfq eth1-0010:1000.premium CEIL=352Kbit RATE=352Kbit PRIO=2 LEAF=sfq eth1-0010:1000:1xyx.child1 CEIL=32Kbit RATE=8Kbit PRIO=3 LEAF=sfq RULE=<public ip>, eth1-0010:2000.best-effort CEIL=500Kbit RATE=500Kbit PRIO=3 LEAF=sfq eth1-0010:2000:2xyz.child1 CEIL=16Kbit RATE=8Kbit PRIO=2 LEAF=sfq RULE=<public ip>, eth1-0010:3000.default RATE=2Kbit P...
2005 Dec 22
2
strange tc filter behavior
...sc add dev imq0 root handle 1: htb default ffff r2q 1 IPT=/usr/sbin/iptables RMMOD=/sbin/rmmod MODPROBE=/sbin/modprobe $IPT -t mangle -F PREROUTING $IP link set imq0 down $IPT -t mangle -A PREROUTING -i eth2 -j IMQ --todev 0 $IP link set imq0 up $TC class add dev imq0 parent 1: classid 1:1 htb prio 1 rate 500kbit ceil 500kbit # # default imq0 # $TC class add dev imq0 parent 1:1 classid 1:ffff htb prio 7 rate 50kbit ceil 100kbit $TC qdisc add dev imq0 parent 1:ffff handle ffff sfq perturb 10 # # ADMASTER # $TC class add dev imq0 parent 1:1 classid 1:10 htb prio 2 rate 150kbit ceil 500kbit $T...
2006 Feb 05
1
htb prio ...
...classid 1:21 htb rate 512kbit ceil 512kbit tc class add dev $DEV parent 1:11 classid 1:23 htb rate 1024kbit ceil 1024kbit tc class add dev $DEV parent 1:11 classid 1:25 htb rate 3072kbit ceil 3072kbit tc class add dev $DEV parent 1:21 classid 1:102 htb rate 64kbit ceil 128kbit prio 2 tc qdisc add dev $DEV parent 1:102 handle 102:0 sfq perturb 10 quantum 1600 tc filter add dev $DEV parent 1:0 prio 2 protocol ip handle 102 fw flowid 1:102 iptables -t mangle -A USERS_DL -m set ! --set local src -d 102.168.0.2 -j MARK --set-mark 102 tc class add dev $DEV parent 1:23 classi...
2004 Jul 09
3
tc filter + bridging + htb -- works only if ip_forward = 0
...0kbit APPRATE1=1500kbit APPRATE2=750kbit APPRATE3=250kbit $TC qdisc ${TCOP} dev ${WAN} root handle 1: htb $TC class ${TCOP} dev ${WAN} parent 1: classid 1:1 htb rate ${CEIL} ceil ${CEIL} $TC class ${TCOP} dev ${WAN} parent 1:1 classid 1:10 htb rate ${RATE1} ceil ${CEIL} prio 1 $TC class ${TCOP} dev ${WAN} parent 1:1 classid 1:20 htb rate ${RATE2} ceil ${CEIL} prio 2 $TC class ${TCOP} dev ${WAN} parent 1:1 classid 1:30 htb rate ${RATE3} ceil ${CEIL} prio 3 $TC class ${TCOP} dev ${WAN} parent 1:20 classid 1:100 htb rate ${APPRATE1} ceil ${CEIL} prio 4...
2002 Oct 08
1
how can i choose HTB''s prio
HTB and imq was used to control traffic. AC="tc class add dev eth0 parent" $AC 1: classid 1:1 htb rate 100kbps burst 2k $AC 1:2 classid 1:10 htb rate 50kbps ceil 100kbps burst 2k prio 1 $AC 1:2 classid 1:11 htb rate 50kbps ceil 100kbps burst 2k prio 2 $AC 1:2 classid 1:12 htb rate 50kbps ceil 100kbps burst 2k please tell me if i do not set prio, what is the default prio? low delay class can use prio 2,the others should use which prio? _______________________________________...
2007 Feb 18
3
prio not seeming to work
Hello, I am trying to mess with a prio type qdisc, and must be missing something. Here''s my sample code: tc qdisc add dev eth0 root handle 1: prio tc filter add dev eth0 parent 1:0 prio 1 protocol ip u32 \ match ip dst 208.0.0.0/8 flowid 1:1 tc filter add dev eth0 parent 1:0 prio 3 protocol ip u32 \ match ip dst 0.0.0.0/0...