Displaying 4 results from an estimated 4 matches for "ef_rate".
2007 Feb 28
1
Data rate with HTB
Dear all,
I''m making a script to implement DiffServ policies with HTB. Here it is :
if test $1 = "help" -o $1 = "h" -o $# != 5
then
echo "usage: ds.sh <DEVICE> <DS_RATE> <EF_RATE> <AF_RATE> <BE_RATE>"
exit
fi
DEV=$1
DS_RATE=$2
EF_RATE=$3
AF_RATE=$4
BE_RATE=$5
sync
tc qdisc del root dev $DEV
tc qdisc add dev $DEV root handle 1: htb default 1
tc class add dev $DEV parent 1: classid 1:1 htb rate $DS_RATE ceil $DS_RATE
tc class add dev $DEV parent 1:1 cl...
2005 Apr 06
3
tbf latency problems!
Hi i have found a problem related with tbf and the
latency that the tbf calculates.. I have used the
following parameters for burst and limit
burst 100Kbit limit 500Kbit lat81.8ms
burst 6Kbit limit 6Kbit lat 0us
burst 200Kbit limit 100Kbit lat 4294.9s
As u can see in the 3rd column the latency for 100Kbit
burst and 500Kbit limit is 81.8ms but for 200Kbit and
limit 100Kbit is 4294.9s!!! How
2001 Jan 17
0
dscp marking
...bq bandwidth $BANDWIDTH
\
avpkt 1000 cell 8 mpu 64
$TC filter add dev $DEV parent 2:0 protocol ip prio 1 \
tcindex mask 0xf0 shift 4 pass_on
#setting EF
############
echo Setting up EF
$TC class add dev $DEV parent 2:0 classid 2:5 cbq bandwidth $BANDWIDTH
\
rate $EF_RATE avpkt 1000 prio 1 bounded isolated allot 1514 \
maxburst 10
$TC qdisc add dev $DEV parent 2:5 pfifo limit 10
$TC filter add dev $DEV parent 1:0 protocol ip prio 1 \
handle 0x2e tcindex classid 1:51
$TC filter add dev $DEV parent 2:0 prio 1 handle 5 tcindex classid
2:5
#se...
2005 Mar 17
0
cbq + gred doesn''t drop packets
...8
# EF priority class, TBF, and its filter
echo ''installing EF''
$tc filter add dev $DEV parent 1:0 protocol ip prio 1
handle 0x2e tcindex classid 1:111
$tc filter add dev $DEV parent 2:0 protocol ip prio 1
handle 1 tcindex classid 2:1
$tc qdisc add dev $DEV parent 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...