Displaying 20 results from an estimated 64 matches for "maxburst".
2004 May 25
1
how to borrow bandwith
.../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 allot 1514 cell 8 maxburst 20 avpkt 1000
/usr/sbin/tc class add dev nas0 parent 1:1 classid 1:3 cbq bandwidth 1024kbit rate 305kbit weight 305kbit prio...
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 1000 \
bounded
echo 100
tc class add dev eth1 parent 20:1 classid 20:200 cbq bandwidth 10Mbit rate \
5Mbit allot 1514 weight 500Kbit prio 5...
2004 Dec 23
1
does the inbound traffic affect the outbound on 2 different interfaces
...-----------------------------------------------------------------
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 maxburst 20 avpkt
1000 split 1:0
tc class add dev eth0 parent 1:1 classid 1:3 cbq bandwidth 2000kbit
rate 300kbit allot 1514 cell 8 weight 30kbit...
2006 Sep 14
10
tc is giving an error: RTNETLINK answers: File exists
...l 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" == "x" ]; then
continue
fi
# I use the last byte of the customer''s IP''s for the handle, which range
# from...
2006 Aug 13
3
trying to prioritize voip traffick
...lable, 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 weight $weightCitrix prio 8 allot 1514 cell 8 maxburst 20 avpkt 300 isolated||exit 1
tc qdisc add dev $e parent 1:3 handle 30: sfq perturb 2...
2003 Jun 15
3
how to emulate large IP routing table
...> #Setting up top 2 qdiscs
> #for initial packet classification
> #######################################
> # Exatt Rules
> #######################################
>
> tc class add dev eth0 parent 1:0 classid 1:1 cbq bandwidth 1Mbit rate
800kbit weight 80kbit allot 1514 cell 8 maxburst 20 avpkt 1000 isolated
> tc filter add dev eth0 parent 1:0 protocol ip u32 match ip src
192.168.10.0/24 classid 1:1
> tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst
192.168.10.0/24 classid 1:1
>
> tc filter add dev eth0 parent 1:0 protocol ip u32 match ip src
192.168.11....
2007 Dec 05
3
Adding qdiscs crashes kernel??
...AN 3000.
tc filter add dev eth3 parent 1: protocol 0x8100 prio 5 u32 match u16
3000 0x0fff at 0 flowid 1:1 action ipt -j MARK --or-mark 0x01000000 #
mark packets for VLAN 3000.
tc class add dev eth2 parent 1:0 classid 1:1 cbq bandwidth 100Mbit rate
2000Kbit weight 200Kbit prio 1 allot 1514 cell 8 maxburst 20 avpkt 1000
bounded isolated # 2000 Kbit rate limit on entry point.
tc class add dev eth3 parent 1:0 classid 1:1 cbq bandwidth 100Mbit rate
2000Kbit weight 200Kbit prio 1 allot 1514 cell 8 maxburst 20 avpkt 1000
bounded isolated # 2000 Kbit rate limit on entry point.
tc qdisc add dev...
2004 Aug 06
0
CBQ + 802.1Q VLAN
...root qdisc
tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000 cell 8
tc qdisc add dev eth1 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000 cell 8
# root class
tc class add dev eth0 parent 1:0 classid 1:1 cbq bandwidth 100Mbit rate 384Kbit weight 38Kbit prio 8 allot 1514 cell 8 maxburst 20 avpkt 1000 bounded
tc class add dev eth1 parent 1:0 classid 1:1 cbq bandwidth 100Mbit rate 384Kbit weight 38Kbit prio 8 allot 1514 cell 8 maxburst 20 avpkt 1000 bounded
# leaf class 1 & 2
tc class add dev eth0 parent 1:1 classid 1:10 cbq bandwidth 100Mbit rate 256Kbit weight 25Kbit prio 8 a...
2001 Dec 24
2
Two u32 problems: module count and fw
...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 maxburst 20 avpkt 1000
bounded
# /sbin/tc qdisc add dev eth0 parent 10:010 red max 12288 min 1500 limit
12288 avpkt 1000 burst 20
# /sbin/tc filter add...
2006 Jan 12
1
tc class class id problem Limitation
Hello,
I have been working on tc class . But when the classid reaches 5 digit ,
it DOES NOT ACCEPT THAT ...
see the example below ::
tc class add dev eth0 parent 10:36 classid 10:13310 cbq bandwidth 10Mbit
rate 32Kbit allot 1514 weight 3.2Kbit prio 5 maxburst 20 avpkt 1000 bounded
See the bold digit !! this command doesn''t work , but if i use with 4
digit then it works :
tc class add dev eth0 parent 10:36 classid 10:1331 cbq bandwidth 10Mbit
rate 32Kbit allot 1514 weight 3.2Kbit prio 5 maxburst 20 avpkt 1000 bounded
Can anyone tell me is i...
2001 Jun 07
1
RE: LARTC digest, Vol 1 #222 - 12 msgs
...;'lartc@mailman.ds9a.nl''" <lartc@mailman.ds9a.nl>
Date: Tue, 5 Jun 2001 20:28:30 +0200
Subject: [LARTC] priority of class
->split traffic in 2 more classes
->tc class add dev eth0 parent 2:0 classid 2:21 cbq avpkt 1000 bandwidth
->100Mbit \
->rate 70Mbit prio 3 maxburst 20
->tc qdisc add dev eth0 parent 2:21 tbf rate 70Mbit buffer 45Kb/8 limit 15Kb
->tc class add dev eth0 parent 2:0 classid 2:22 cbq avpkt 1000 bandwidth
->100Mbit \
->rate 70Mbit prio 4 maxburst 20
->tc qdisc add dev eth0 parent 2:22 tbf rate 70Mbit buffer 45Kb/8 limit 15Kb
->...
2005 Jan 05
0
Best QoS Policy for VoIP
...h 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
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
# child qdiscs (like child nodes on a tree) #
tc class add dev $e parent 1:1 classid 1:3 cbq bandwidth 100Mbit rate
$sizeCitrix weight $weightCitrix prio 8 allot 1514 cell 8 maxburst 20
avpkt 300 isolated
tc qdisc add dev $e parent 1:3 handle 30: sfq perturb 20
tc class ad...
2001 Feb 05
0
bandwidth limiting when src and dst are on the same interface
...iter
228.10 is customer2 gw
Now, I have no problems limiting traffic from/to customer2. I do it like
this:
tc qdisc add dev eth0 root handle 10: cbq bandwidth 100Mbit avpkt 1000
tc class add dev eth0 parent 10:0 classid 10:1 cbq bandwidth 100Mbit \
rate 128kbit allot 1514 weight 100kbit prio 5 maxburst 1 avpkt 1000 bounded
tc qdisc add dev eth0 parent 10:1 sfq quantum 1514b perturb 15
tc filter add dev eth0 parent 10:0 protocol ip prio 100 u32 match \
ip src xxx.xxx.228.10 flowid 10:1
tc qdisc add dev eth1 root handle 20: cbq bandwidth 100Mbit avpkt 1000
tc class add dev eth1 parent 20:0 clas...
2004 Jan 21
2
Slightly offtopic: IRC channel archives
Hi all.
I fear I''m slightly offtopic with this question, but I''ll keep it short:
who is (or feels) responsible for the #lartc irc-channel in oftc.net?
I''d appreciate if that person would get in contact with me (off-list) in
order to discuss some ideas I have. Thanks in advance.
Bye, Mike
_______________________________________________
LARTC mailing list /
2004 Jul 02
24
TC Hashing Filters
...y started out with based on the Hashing
Filter How To:
# Create root qdisc
tc qdisc add dev eth1 root handle 1:0 cbq bandwidth 200Mbit
avpkt 1000
# Create a "transit class"
tc class add dev eth1 parent 1:0 classid 1:1 cbq bandwidth
200Mbit rate 200Mbit allot 1514 weight 2Mbit prio 8 maxburst 10 avpkt
1000
# Create hash table attached to transit class
tc filter add dev eth1 parent 1:0 handle 2: protocol ip u32
divisor 256
# Create filter to hash out last octet and link to hash table 2:
tc filter add dev eth1 protocol ip parent 1:1 prio 5 u32 ht
800:: match ip src 216.19.49.0/24 ha...
2002 May 03
2
(no subject)
...t the FTP bandwidth
pease tell what changes are rquired to make it work....
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1:0 cbq allot 1514 avpkt 1000
bandwidth 100Mbit
tc class add dev eth0 parent 1:0 classid 1:1 cbq allot 1514
bandwidth 100Mbit rate .4Mbit weight .4 prio 2 maxburst 20 cell
8 avpkt 1000
tc class add dev eth0 parent 1:0 classid 1:2 cbq allot 1514
bandwidth 100Mbit rate .6Mbit weight .4 prio 4 cell 8 maxburst
20 avpkt 1000
tc qdisc add dev eth0 parent 1:1 handle 10:1 sfq
tc qdisc add dev eth0 parent 1:2 handle 20:1 sfq
tc filter add dev eth0 parent 1:0...
2007 May 04
0
RSVP RESV not seen
...ave the corresponding settings
api 4000
interface eth1 refresh 10000
tc cbq 1000000 2500
CBQ SCRIPT:
$TC qdisc add dev $DEVICE root handle 1: cbq \
bandwidth $RATE avpkt 1000 mpu 64
$TC class add dev $DEVICE parent 1:0 classid :1 est 1sec 8sec cbq \
bandwidth $RATE rate $RATE allot 1514 maxburst 50 avpkt 1000
$TC class add dev $DEVICE parent 1:1 classid :2 est 1sec 8sec cbq \
bandwidth $RATE rate $BE_RATE allot 1514 weight 500Kbit \
prio 6 maxburst 50 avpkt 1000 split 1:0 defmap ffff borrow
$TC class add dev $DEVICE parent 1:1 classid :3 est 2sec 16sec cbq \
bandwidth $RATE rate `echo $2/2...
2007 Apr 17
0
RSVP questions?
...ass created for RSVP traffic and the CBQ parameter that is in RSVP.conf?
- ex.
### cbq qdisc ###
tc qdisc add dev eth0 root handle 1: cbq bandwidth 10mbit avpkt 1000 mpu 64
### cbq root rate ###
tc class add dev eth0 parent 1:0 classid :1 est 1sec 8sec cbq bandwidth 10mbit rate 1mbit allot 1514 maxburst 50 avpkt 1000
### extra class ###
tc class add dev eth0 parent 1:1 classid :2 est 1sec 8sec cbq bandwidth 10mbit rate 100kbit allot 1514 weight 500Kbit prio 6 maxburst 50 avpkt 1000
### rsvp class - classid acts as filter ??? ###
tc class add dev eth0 parent 1:1 classid 1:7FFE cbq rate 800kbit band...
2004 Jul 28
0
CBQ Problem
...bit.
(I think that is something like the webserver + smtp example that is in the howto)
My config:
tc qdisc add dev eth1 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000 cell 8
tc class add dev eth1 parent 1:0 classid 1:1 cbq bandwidth 100Mbit rate 384Kbit weight 38Kbit prio 8 allot 1514 cell 8 maxburst 20 avpkt 1000 bounded
tc class add dev eth1 parent 1:1 classid 1:10 cbq bandwidth 100Mbit rate 256Kbit weight 25Kbit prio 8 allot 1514 cell 8 maxburst 20 avpkt 1000
tc class add dev eth1 parent 1:1 classid 1:20 cbq bandwidth 100Mbit rate 256Kbit weight 25Kbit prio 8 allot 1514 cell 8 maxburst 20 a...
2001 Mar 01
5
Bandwidth limiting a MASQed network.
...;'s the setup as of right now:
---
tc qdisc add dev eth0 root handle 10: cbq bandwidth 100Mbit avpkt 1000
tc qdisc add dev eth2 root handle 20: cbq bandwidth 100Mbit avpkt 1000
tc class add dev eth0 parent 10:0 classid 10:1 cbq bandwidth 100Mbit \
rate 100Mbit allot 1514 weight 10Mbit prio 8 maxburst 20 avpkt 1000
tc class add dev eth2 parent 20:0 classid 20:1 cbq bandwidth 100Mbit \
rate 100Mbit allot 1514 weight 10Mbit prio 8 maxburst 20 avpkt 1000
tc class add dev eth0 parent 10:1 classid 10:100 cbq bandwidth \
100Mbit rate 2Mbit allot 1514 weight 200Kbit prio 5 maxburst 20 \
avpkt 1000 bo...