search for: avpkt

Displaying 20 results from an estimated 132 matches for "avpkt".

2006 Oct 18
2
Errors with GRED after upgrading to 2.6.18 kernel
ALL: <<diffserv-gred_10-06>> I have attached the current script that I am using. $TC qdisc add dev $EDEV parent 2:20 gred setup DPs 3 default 2 grio $TC qdisc change dev $EDEV parent 2:20 gred DP 1 limit $lim min $minTh max $maxTh avpkt $avgPL burst $bursty bandwidth $netBand probability 0.02 prio 2 $TC qdisc change dev $EDEV parent 2:20 gred DP 2 limit $lim min $minTh max $maxTh avpkt $avgPL burst $bursty bandwidth $netBand probability 0.04 prio 3 $TC qdisc change dev $EDEV parent 2:20 gred DP 3 limit $lim min $minTh max $maxTh a...
2007 Dec 05
3
Adding qdiscs crashes kernel??
Hi all, I''m having some problems setting up qdiscs on a bridge.The config looks a little like this: ifconfig ifb0 up # Bring up the IFB for this bridge. tc qdisc add dev eth2 ingress tc qdisc add dev eth3 ingress tc qdisc add dev ifb0 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000 cell 8 # Raw qdiscs on each bridge port tc qdisc add dev eth2 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000 cell 8 tc qdisc add dev eth3 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000 cell 8 tc filter add dev eth2 parent 1: protocol 0x8100 prio 5 u32 match u16 3000 0x0fff at 0 flowid 1:1...
2005 Jul 02
0
Bandwidth shaping script appears to incorrectly halve the bandwidth
...2 UL_DEV=eth0 DL_DEV=eth1 # clean existing down- and uplink qdiscs, hide errors tc qdisc del dev $UL_DEV root 2> /dev/null > /dev/null tc qdisc del dev $DL_DEV root 2> /dev/null > /dev/null # install root CBQ echo Installing Root CBQ tc qdisc add dev $UL_DEV root handle 1: cbq avpkt 1000 bandwidth 100mbit tc qdisc add dev $DL_DEV root handle 2: cbq avpkt 1000 bandwidth 100mbit # shape everything on $UL_DEV at $OUTGOING_BW speed, $DL_DEV at $INCOMING_BW echo Creating Classes tc class add dev $UL_DEV parent 1: classid 1:1 cbq rate ${OUTGOING_BW}kbit allot 1500 prio 5 bounded...
2004 May 25
1
how to borrow bandwith
...When there aren't traffic on the specific priority, its bandwidth should be borrowed by other priorities.But it doesn't work.Here is my script: /usr/sbin/tc qdisc del dev nas0 root /usr/sbin/tc qdisc del dev br0 root /usr/sbin/tc qdisc add dev nas0 root handle 1:0 cbq bandwidth 1024kbit avpkt 1000 cell 8 /usr/sbin/tc class add dev nas0 parent 1:0 classid 1:1 cbq bandwidth 1024kbit rate 1024kbit weight 1024kbit prio 0 allot 1514 cell 8 maxburst 20 avpkt 1000 isolated bounded /usr/sbin/tc class add dev nas0 parent 1:1 classid 1:2 cbq bandwidth 1024kbit rate 611kbit weight 611kbit prio 1...
2002 Oct 15
1
Réf . : Re: trying to use wondershaper on a dedicated line (not adsl)
here''s the output : # tc -s -d class show dev eth0 class cbq 1: root rate 10Mbit cell 8b (bounded,isolated) prio no-transmit/8 weight 10Mbit allot 1514b level 2 ewma 5 avpkt 1000b maxidle 23us Sent 294 bytes 7 pkts (dropped 0, overlimits 0) borrowed 0 overactions 0 avgidle 605 undertime 0 class cbq 1:10 parent 1:1 leaf 10: rate 100Kbit cell 8b prio 1/1 weight 100Kbit allot 1600b level 0 ewma 5 avpkt 1000b maxidle 23us Sent 12274 bytes 203 pkts (dropped 0, over...
2006 Sep 14
10
tc is giving an error: RTNETLINK answers: File exists
...;'/sbin/tc'' IPS=''/etc/sysconfig/shaper/shape.ips'' # high priority destination ports - I''ll fill these in later (when this # thing works) HIGHPORT= # low priority destination ports LOWPORT= $TC qdisc add dev $IDEV root handle 1: cbq bandwidth 1600Kbit cell 8\ avpkt 1000 mpu 64 $TC class add dev $IDEV parent 1: classid 1:1 est 1sec 8sec cbq\ bandwidth 1600Kbit rate 1500kbit allot 1514 maxburst 20 avpkt 1000\ prio 0 bounded isolated cat $IPS | sed -e ''s/#.*$//; s/^ *$//;'' | while read IP RATE STATUS; do if [ "x$IP" == "...
2001 Jun 19
3
RTNETLINK answers: Invalid argument
Hi all, I have installed 2.4.5 kernel, Debian Potato. my tc script: #!/bin/bash tc qdisc add dev eth1 root handle 20: cbq bandwidth 10Mbit avpkt 1000 echo root tc class add dev eth1 parent 20:0 classid 20:1 cbq bandwidth 10Mbit rate \ 10Mbit allot 1514 weight 1Mbit prio 8 maxburst 20 avpkt 1000 echo class tc class add dev eth1 parent 20:1 classid 20:100 cbq bandwidth 10Mbit rate \ 5Mbit allot 1514 weight 500Kbit prio 5 maxburst 20 avpkt 100...
2001 Dec 24
2
Two u32 problems: module count and fw
...module use count remains same. Does it mean that u32 used count increase once per device? Because if I implement shaper class on other device then it increase used count by one. Following is implementation specific command line: # /sbin/tc qdisc add dev eth0 root handle 10: cbq bandwidth 100Mbit avpkt 1000 cell 8 # /sbin/tc class add dev eth0 parent 10:0 classid 10:1 cbq bandwidth 100Mbit \ rate 100Mbit allot 1514 cell 8 weight 10Mbit prio 8 maxburst 20 avpkt 1000 # /sbin/tc class add dev eth0 parent 10:1 classid 10:010 cbq bandwidth 100Mbit \ rate 96Kbit allot 1514 cell 8 weight 10Kbit prio 5...
2006 Jan 10
2
Gred/dsmark/htb
...1Mbit tc qdisc add dev eth0 parent 1:0 handle 2:0 htb tc class add dev eth0 parent 2:0 classid 2:1 htb rate 1Mbit ceil 1Mbit #create 13 gred''s tc qdisc add dev eth0 parent 2:1 gred setup DPs 13 default 13 grio #ef tc qdisc change dev eth0 parent 2:1 gred limit 512000 min 24000 max 32000 \ avpkt 1000 burst 40 probability 0.01 bandwidth 1024 DP 1 prio 1 #af41 tc qdisc change dev eth0 parent 2:1 gred limit 512000 min 24000 max 32000 \ avpkt 1000 burst 40 probability 0.04 bandwidth 1024 DP 2 prio 2 #af42 tc qdisc change dev eth0 parent 2:1 gred limit 512000 min 24000 max 32000 \ avpkt 1000 bu...
2003 Sep 04
3
CBQ Rate
Hi everyone, This is on a linux box, ingress (eth1) at 100Mb/s and egress (eth0) at 10Mb/s. The purpose is to test CBQ Here is my script ------------------------------------------------------------------- # Root qdisc tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 9Mbit \ avpkt 1000 cell 8 # Classes tc class add dev eth0 parent 1:0 classid 1:1 cbq bandwidth 9Mbit \ rate 5Mbit weight 0.3 allot 1514 avpkt 1000 bounded prio 1 tc class add dev eth0 parent 1:0 classid 1:2 cbq bandwidth 9Mbit \ rate 5Mbit weight 0.3 allot 1514 avpkt 1000 bounded prio 2 tc class add dev eth...
2004 Dec 23
1
does the inbound traffic affect the outbound on 2 different interfaces
...re some other reason to explain this ????? downlink regulated on eth0, uplink on eth1 ----------------------------------------------------------------------------------------------------------------------- tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1: cbq bandwidth 30Mbit cell 8 avpkt 1000 mpu 64 tc class add dev eth0 parent 1:0 classid 1:1 cbq bandwidth 2000kbit rate 2000kbit allot 1514 cell 8 weight 100kbit prio 2 maxburst 20 avpkt 1000 bounded isolated tc class add dev eth0 parent 1:1 classid 1:2 cbq bandwidth 2000kbit rate 300kbit allot 1514 cell 8 weight 30kbit prio 1 max...
2003 Jul 16
1
Problen in cbq , fw
...Mbit) | 1:1 (10 Mbit) / \ 1:2 1:3 (110Kbit) (100Kbit, bounded) ## add queuing discipline and classes to eth1 ## 1. tc qdisc del dev eth1 root cbq bandwidth 10Mbit avpkt 1000 2. tc qdisc add dev eth1 root handle 1:0 cbq bandwidth 10Mbit avpkt 1000 3. tc class add dev eth1 parent 1:0 classid 1:1 cbq bandwidth 10Mbit rate 10Mbit allot 1514 avpkt 1000 weight 1Mbit 4. tc class add dev eth1 parent 1:1 classid 1:2 cbq bandwidth 10Mbit rate 100Kbit allot 1514 avpkt 1000 w...
2006 Aug 28
4
Applying the same class to multiple interfaces
...config br0 up This creates a bridge consisting of eth0 and eth1. So far so good. I now want to use tc to shape traffic through this bridge. By applying the following, I am able to limit the given MAC address to 128K in each direction: tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000 mpu 64 tc qdisc add dev eth1 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000 mpu 64 tc class add dev eth0 parent 1:0 classid 1:1 cbq rate 128Kbit allot 1514 prio 1 avpkt 1000 bounded tc class add dev eth1 parent 1:0 classid 1:1 cbq rate 128Kbit allot 1514 prio 1 avpkt 1000 bounded tc filter a...
2007 Aug 29
5
HTB does not respect the prio parameter
...6 0x2710 0xffff at nexthdr+2 \ flowid 1:30 && \ /bin/tc filter add dev eth0 parent 1:0 protocol ip prio 99 u32 ht 800:: offset at 0 mask 0x0f00 shift 6 plus 0 match u8 0x40 0xf0 at 0 link 2: && \ /bin/tc qdisc add dev eth0 parent 1:10 handle 20: red limit 1000KB min 10KB max 300KB avpkt 1000 burst 100 probability 0.02 && \ /bin/tc qdisc add dev eth0 parent 1:20 handle 30: red limit 1000KB min 10KB max 300KB avpkt 1000 burst 100 probability 0.02 && \ /bin/tc qdisc add dev eth0 parent 1:30 handle 40: red limit 1000KB min 10KB max 300KB avpkt 1000 burst 100 probabilit...
2005 Mar 17
0
cbq + gred doesn''t drop packets
...2:1 tbf rate $EF_RATE burst $EF_BURST mtu $EF_MTU limit $EF_LIMIT # AF & BE CBQ, and its filter echo ''installing CBQ'' $tc filter add dev $DEV parent 2:0 protocol ip prio 1 handle 2 tcindex classid 2:2 $tc qdisc add dev $DEV parent 2:2 handle 4:0 cbq bandwidth 500Kbit cell 8 avpkt 1500 mpu 64 $tc filter add dev $DEV parent 4:0 protocol ip prio 1 tcindex mask 0xf0 shift 4 # BE echo ''installing BE'' $tc filter add dev $DEV parent 1:0 protocol ip prio 1 handle 0 tcindex classid 1:250 $tc class add dev $DEV parent 4:0 classid 4:5 cbq bandwidth $Total_Rate rate...
2002 Dec 07
4
Why my script doesn''t work ???
...ables -A FORWARD -t mangle -p tcp -s 192.168.1.1/24 -d ! 192.168.1.1/24 --dport 1864:65535 -j MARK --set-mark 1 and I put some new lines to wondershaper 1.1a (before "#start filters" label) : tc class add dev $DEV parent 1:1 classid 1:40 cbq rate $[$UPLINK/10]kbit \ allot 1600 prio 2 avpkt 1000 tc qdisc add dev $DEV parent 1:40 handle 40: sfq perturb 10 tc filter add dev $DEV parent 1:0 protocol ip handle 1 fw flowid 1:40 #start filters ... I realized there is a 80Kbit/s traffic to a site (port 2334) from inside. My $UPLINK is 80. How can be this? Thanks, Gabor __________________...
2006 Aug 13
3
trying to prioritize voip traffick
...iorities (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 avpkt 1000 cell 8||exit 1 tc class add dev $e parent 1:0 classid 1:1 cbq bandwidth 100Mbit rate $t1 weight $w prio 8 allot 1514 cell 8 maxburst 20 avpkt 1000 bounded||exit 1 # child qdiscs (like child nodes on a tree) # tc class add dev $e parent 1:1 classid 1:3 cbq bandwidth 100Mbit rate $sizeCitrix w...
2004 Apr 09
2
Bandwidth limiting for each computer in subnet
...o all computer have 6 bandwith togeather...! can any one help me -------------------------------------------------------------------------------------- tc qdisc del dev eth0 root 2>/dev/null tc qdisc del dev eth1 root 2>/dev/null tc qdisc add dev eth0 root handle 10: cbq bandwidth 100Mbit avpkt 1000 cell 8 tc qdisc add dev eth1 root handle 11: cbq bandwidth 100Mbit avpkt 1000 cell 8 tc class add dev eth0 parent 10:0 classid 10:3 cbq \ allot 1514 cell 8 maxburst 20 avpkt 1000 prio 3 \ bandwidth 48Kbit rate 48Kbit weight 1Kbit bounded tc qdisc add dev eth0 parent 10:3 sfq...
2004 Aug 13
1
Shaping weirdness
...to eth1, and I am doing the following: #!/bin/bash LIMITDOWN=256 LIMITUP=256 DEV=eth0 DEV2=eth1 # clean up qdiscs tc qdisc del dev $DEV root 2> /dev/null > /dev/null tc qdisc del dev $DEV2 root 2> /dev/null > /dev/null # limit up- and downlink tc qdisc add dev $DEV root handle 1: cbq avpkt 1000 bandwidth 100mbit tc qdisc add dev $DEV2 root handle 2: cbq avpkt 1000 bandwidth 100mbit tc class add dev $DEV parent 1: classid 1:1 cbq rate ${LIMITDOWN}kbit \ allot 1500 prio 5 bounded isolated tc class add dev $DEV2 parent 2: classid 2:1 cbq rate ${LIMITDOWN}kbit \ allot 15...
2004 Dec 22
4
how to add burstable rate?
Hi, I managed to fix 128kbit for an IP address of 192.168.200.3 as below: - tc qdisc add dev eth3 root handle 1: cbq avpkt 1000 bandwidth 100mbit tc class add dev eth3 parent 1: classid 1:1 cbq rate 128kbit allot 1500 prio 5 bounded isolated tc filter add dev eth3 parent 1: protocol ip prio 16 u32 match ip dst 192.168.200.3 flowid 1:1 tc qdisc add dev eth3 parent 1:1 sfq perturb 10 How can I make it burstable to 256...